Clarify license declaration for each package
[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_largefile
780 enable_lib
781 enable_util
782 enable_example
783 enable_mtab
784 with_pkgconfigdir
785 with_libiconv_prefix
786 enable_rpath
787 '
788       ac_precious_vars='build_alias
789 host_alias
790 target_alias
791 CC
792 CFLAGS
793 LDFLAGS
794 LIBS
795 CPPFLAGS
796 CPP'
797
798
799 # Initialize some variables set by options.
800 ac_init_help=
801 ac_init_version=false
802 ac_unrecognized_opts=
803 ac_unrecognized_sep=
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
806 cache_file=/dev/null
807 exec_prefix=NONE
808 no_create=
809 no_recursion=
810 prefix=NONE
811 program_prefix=NONE
812 program_suffix=NONE
813 program_transform_name=s,x,x,
814 silent=
815 site=
816 srcdir=
817 verbose=
818 x_includes=NONE
819 x_libraries=NONE
820
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir='${exec_prefix}/bin'
828 sbindir='${exec_prefix}/sbin'
829 libexecdir='${exec_prefix}/libexec'
830 datarootdir='${prefix}/share'
831 datadir='${datarootdir}'
832 sysconfdir='${prefix}/etc'
833 sharedstatedir='${prefix}/com'
834 localstatedir='${prefix}/var'
835 includedir='${prefix}/include'
836 oldincludedir='/usr/include'
837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir='${datarootdir}/info'
839 htmldir='${docdir}'
840 dvidir='${docdir}'
841 pdfdir='${docdir}'
842 psdir='${docdir}'
843 libdir='${exec_prefix}/lib'
844 localedir='${datarootdir}/locale'
845 mandir='${datarootdir}/man'
846
847 ac_prev=
848 ac_dashdash=
849 for ac_option
850 do
851   # If the previous option needs an argument, assign it.
852   if test -n "$ac_prev"; then
853     eval $ac_prev=\$ac_option
854     ac_prev=
855     continue
856   fi
857
858   case $ac_option in
859   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860   *=)   ac_optarg= ;;
861   *)    ac_optarg=yes ;;
862   esac
863
864   # Accept the important Cygnus configure options, so we can diagnose typos.
865
866   case $ac_dashdash$ac_option in
867   --)
868     ac_dashdash=yes ;;
869
870   -bindir | --bindir | --bindi | --bind | --bin | --bi)
871     ac_prev=bindir ;;
872   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
873     bindir=$ac_optarg ;;
874
875   -build | --build | --buil | --bui | --bu)
876     ac_prev=build_alias ;;
877   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
878     build_alias=$ac_optarg ;;
879
880   -cache-file | --cache-file | --cache-fil | --cache-fi \
881   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
882     ac_prev=cache_file ;;
883   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
884   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
885     cache_file=$ac_optarg ;;
886
887   --config-cache | -C)
888     cache_file=config.cache ;;
889
890   -datadir | --datadir | --datadi | --datad)
891     ac_prev=datadir ;;
892   -datadir=* | --datadir=* | --datadi=* | --datad=*)
893     datadir=$ac_optarg ;;
894
895   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
896   | --dataroo | --dataro | --datar)
897     ac_prev=datarootdir ;;
898   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
899   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
900     datarootdir=$ac_optarg ;;
901
902   -disable-* | --disable-*)
903     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904     # Reject names that are not valid shell variable names.
905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906       as_fn_error $? "invalid feature name: $ac_useropt"
907     ac_useropt_orig=$ac_useropt
908     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909     case $ac_user_opts in
910       *"
911 "enable_$ac_useropt"
912 "*) ;;
913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
914          ac_unrecognized_sep=', ';;
915     esac
916     eval enable_$ac_useropt=no ;;
917
918   -docdir | --docdir | --docdi | --doc | --do)
919     ac_prev=docdir ;;
920   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
921     docdir=$ac_optarg ;;
922
923   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
924     ac_prev=dvidir ;;
925   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
926     dvidir=$ac_optarg ;;
927
928   -enable-* | --enable-*)
929     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
930     # Reject names that are not valid shell variable names.
931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
932       as_fn_error $? "invalid feature name: $ac_useropt"
933     ac_useropt_orig=$ac_useropt
934     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935     case $ac_user_opts in
936       *"
937 "enable_$ac_useropt"
938 "*) ;;
939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
940          ac_unrecognized_sep=', ';;
941     esac
942     eval enable_$ac_useropt=\$ac_optarg ;;
943
944   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
945   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
946   | --exec | --exe | --ex)
947     ac_prev=exec_prefix ;;
948   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
949   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
950   | --exec=* | --exe=* | --ex=*)
951     exec_prefix=$ac_optarg ;;
952
953   -gas | --gas | --ga | --g)
954     # Obsolete; use --with-gas.
955     with_gas=yes ;;
956
957   -help | --help | --hel | --he | -h)
958     ac_init_help=long ;;
959   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
960     ac_init_help=recursive ;;
961   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
962     ac_init_help=short ;;
963
964   -host | --host | --hos | --ho)
965     ac_prev=host_alias ;;
966   -host=* | --host=* | --hos=* | --ho=*)
967     host_alias=$ac_optarg ;;
968
969   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
970     ac_prev=htmldir ;;
971   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
972   | --ht=*)
973     htmldir=$ac_optarg ;;
974
975   -includedir | --includedir | --includedi | --included | --include \
976   | --includ | --inclu | --incl | --inc)
977     ac_prev=includedir ;;
978   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
979   | --includ=* | --inclu=* | --incl=* | --inc=*)
980     includedir=$ac_optarg ;;
981
982   -infodir | --infodir | --infodi | --infod | --info | --inf)
983     ac_prev=infodir ;;
984   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
985     infodir=$ac_optarg ;;
986
987   -libdir | --libdir | --libdi | --libd)
988     ac_prev=libdir ;;
989   -libdir=* | --libdir=* | --libdi=* | --libd=*)
990     libdir=$ac_optarg ;;
991
992   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
993   | --libexe | --libex | --libe)
994     ac_prev=libexecdir ;;
995   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
996   | --libexe=* | --libex=* | --libe=*)
997     libexecdir=$ac_optarg ;;
998
999   -localedir | --localedir | --localedi | --localed | --locale)
1000     ac_prev=localedir ;;
1001   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1002     localedir=$ac_optarg ;;
1003
1004   -localstatedir | --localstatedir | --localstatedi | --localstated \
1005   | --localstate | --localstat | --localsta | --localst | --locals)
1006     ac_prev=localstatedir ;;
1007   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1008   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1009     localstatedir=$ac_optarg ;;
1010
1011   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1012     ac_prev=mandir ;;
1013   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1014     mandir=$ac_optarg ;;
1015
1016   -nfp | --nfp | --nf)
1017     # Obsolete; use --without-fp.
1018     with_fp=no ;;
1019
1020   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1021   | --no-cr | --no-c | -n)
1022     no_create=yes ;;
1023
1024   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1025   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1026     no_recursion=yes ;;
1027
1028   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1029   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1030   | --oldin | --oldi | --old | --ol | --o)
1031     ac_prev=oldincludedir ;;
1032   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1033   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1034   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1035     oldincludedir=$ac_optarg ;;
1036
1037   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1038     ac_prev=prefix ;;
1039   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1040     prefix=$ac_optarg ;;
1041
1042   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1043   | --program-pre | --program-pr | --program-p)
1044     ac_prev=program_prefix ;;
1045   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1046   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1047     program_prefix=$ac_optarg ;;
1048
1049   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1050   | --program-suf | --program-su | --program-s)
1051     ac_prev=program_suffix ;;
1052   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1053   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1054     program_suffix=$ac_optarg ;;
1055
1056   -program-transform-name | --program-transform-name \
1057   | --program-transform-nam | --program-transform-na \
1058   | --program-transform-n | --program-transform- \
1059   | --program-transform | --program-transfor \
1060   | --program-transfo | --program-transf \
1061   | --program-trans | --program-tran \
1062   | --progr-tra | --program-tr | --program-t)
1063     ac_prev=program_transform_name ;;
1064   -program-transform-name=* | --program-transform-name=* \
1065   | --program-transform-nam=* | --program-transform-na=* \
1066   | --program-transform-n=* | --program-transform-=* \
1067   | --program-transform=* | --program-transfor=* \
1068   | --program-transfo=* | --program-transf=* \
1069   | --program-trans=* | --program-tran=* \
1070   | --progr-tra=* | --program-tr=* | --program-t=*)
1071     program_transform_name=$ac_optarg ;;
1072
1073   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1074     ac_prev=pdfdir ;;
1075   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1076     pdfdir=$ac_optarg ;;
1077
1078   -psdir | --psdir | --psdi | --psd | --ps)
1079     ac_prev=psdir ;;
1080   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1081     psdir=$ac_optarg ;;
1082
1083   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1084   | -silent | --silent | --silen | --sile | --sil)
1085     silent=yes ;;
1086
1087   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1088     ac_prev=sbindir ;;
1089   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1090   | --sbi=* | --sb=*)
1091     sbindir=$ac_optarg ;;
1092
1093   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1094   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1095   | --sharedst | --shareds | --shared | --share | --shar \
1096   | --sha | --sh)
1097     ac_prev=sharedstatedir ;;
1098   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1099   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1100   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1101   | --sha=* | --sh=*)
1102     sharedstatedir=$ac_optarg ;;
1103
1104   -site | --site | --sit)
1105     ac_prev=site ;;
1106   -site=* | --site=* | --sit=*)
1107     site=$ac_optarg ;;
1108
1109   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1110     ac_prev=srcdir ;;
1111   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1112     srcdir=$ac_optarg ;;
1113
1114   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1115   | --syscon | --sysco | --sysc | --sys | --sy)
1116     ac_prev=sysconfdir ;;
1117   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1118   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1119     sysconfdir=$ac_optarg ;;
1120
1121   -target | --target | --targe | --targ | --tar | --ta | --t)
1122     ac_prev=target_alias ;;
1123   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1124     target_alias=$ac_optarg ;;
1125
1126   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1127     verbose=yes ;;
1128
1129   -version | --version | --versio | --versi | --vers | -V)
1130     ac_init_version=: ;;
1131
1132   -with-* | --with-*)
1133     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1134     # Reject names that are not valid shell variable names.
1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136       as_fn_error $? "invalid package name: $ac_useropt"
1137     ac_useropt_orig=$ac_useropt
1138     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139     case $ac_user_opts in
1140       *"
1141 "with_$ac_useropt"
1142 "*) ;;
1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1144          ac_unrecognized_sep=', ';;
1145     esac
1146     eval with_$ac_useropt=\$ac_optarg ;;
1147
1148   -without-* | --without-*)
1149     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1150     # Reject names that are not valid shell variable names.
1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1152       as_fn_error $? "invalid package name: $ac_useropt"
1153     ac_useropt_orig=$ac_useropt
1154     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155     case $ac_user_opts in
1156       *"
1157 "with_$ac_useropt"
1158 "*) ;;
1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1160          ac_unrecognized_sep=', ';;
1161     esac
1162     eval with_$ac_useropt=no ;;
1163
1164   --x)
1165     # Obsolete; use --with-x.
1166     with_x=yes ;;
1167
1168   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1169   | --x-incl | --x-inc | --x-in | --x-i)
1170     ac_prev=x_includes ;;
1171   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1172   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1173     x_includes=$ac_optarg ;;
1174
1175   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1176   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1177     ac_prev=x_libraries ;;
1178   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1179   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1180     x_libraries=$ac_optarg ;;
1181
1182   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1183 Try \`$0 --help' for more information"
1184     ;;
1185
1186   *=*)
1187     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1188     # Reject names that are not valid shell variable names.
1189     case $ac_envvar in #(
1190       '' | [0-9]* | *[!_$as_cr_alnum]* )
1191       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1192     esac
1193     eval $ac_envvar=\$ac_optarg
1194     export $ac_envvar ;;
1195
1196   *)
1197     # FIXME: should be removed in autoconf 3.0.
1198     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1199     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1200       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1201     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1202     ;;
1203
1204   esac
1205 done
1206
1207 if test -n "$ac_prev"; then
1208   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1209   as_fn_error $? "missing argument to $ac_option"
1210 fi
1211
1212 if test -n "$ac_unrecognized_opts"; then
1213   case $enable_option_checking in
1214     no) ;;
1215     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1216     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1217   esac
1218 fi
1219
1220 # Check all directory arguments for consistency.
1221 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1222                 datadir sysconfdir sharedstatedir localstatedir includedir \
1223                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1224                 libdir localedir mandir
1225 do
1226   eval ac_val=\$$ac_var
1227   # Remove trailing slashes.
1228   case $ac_val in
1229     */ )
1230       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1231       eval $ac_var=\$ac_val;;
1232   esac
1233   # Be sure to have absolute directory names.
1234   case $ac_val in
1235     [\\/$]* | ?:[\\/]* )  continue;;
1236     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1237   esac
1238   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1239 done
1240
1241 # There might be people who depend on the old broken behavior: `$host'
1242 # used to hold the argument of --host etc.
1243 # FIXME: To remove some day.
1244 build=$build_alias
1245 host=$host_alias
1246 target=$target_alias
1247
1248 # FIXME: To remove some day.
1249 if test "x$host_alias" != x; then
1250   if test "x$build_alias" = x; then
1251     cross_compiling=maybe
1252   elif test "x$build_alias" != "x$host_alias"; then
1253     cross_compiling=yes
1254   fi
1255 fi
1256
1257 ac_tool_prefix=
1258 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259
1260 test "$silent" = yes && exec 6>/dev/null
1261
1262
1263 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1264 ac_ls_di=`ls -di .` &&
1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1266   as_fn_error $? "working directory cannot be determined"
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268   as_fn_error $? "pwd does not report name of working directory"
1269
1270
1271 # Find the source files, if location was not specified.
1272 if test -z "$srcdir"; then
1273   ac_srcdir_defaulted=yes
1274   # Try the directory containing this script, then the parent directory.
1275   ac_confdir=`$as_dirname -- "$as_myself" ||
1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1277          X"$as_myself" : 'X\(//\)[^/]' \| \
1278          X"$as_myself" : 'X\(//\)$' \| \
1279          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1280 $as_echo X"$as_myself" |
1281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282             s//\1/
1283             q
1284           }
1285           /^X\(\/\/\)[^/].*/{
1286             s//\1/
1287             q
1288           }
1289           /^X\(\/\/\)$/{
1290             s//\1/
1291             q
1292           }
1293           /^X\(\/\).*/{
1294             s//\1/
1295             q
1296           }
1297           s/.*/./; q'`
1298   srcdir=$ac_confdir
1299   if test ! -r "$srcdir/$ac_unique_file"; then
1300     srcdir=..
1301   fi
1302 else
1303   ac_srcdir_defaulted=no
1304 fi
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1307   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 fi
1309 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 ac_abs_confdir=`(
1311         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312         pwd)`
1313 # When building in place, set srcdir=.
1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
1315   srcdir=.
1316 fi
1317 # Remove unnecessary trailing slashes from srcdir.
1318 # Double slashes in file names in object file debugging info
1319 # mess up M-x gdb in Emacs.
1320 case $srcdir in
1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 esac
1323 for ac_var in $ac_precious_vars; do
1324   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1325   eval ac_env_${ac_var}_value=\$${ac_var}
1326   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1327   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1328 done
1329
1330 #
1331 # Report the --help message.
1332 #
1333 if test "$ac_init_help" = "long"; then
1334   # Omit some internal or obsolete options to make the list less imposing.
1335   # This message is too long to be a string in the A/UX 3.1 sh.
1336   cat <<_ACEOF
1337 \`configure' configures fuse 2.9.6 to adapt to many kinds of systems.
1338
1339 Usage: $0 [OPTION]... [VAR=VALUE]...
1340
1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1342 VAR=VALUE.  See below for descriptions of some of the useful variables.
1343
1344 Defaults for the options are specified in brackets.
1345
1346 Configuration:
1347   -h, --help              display this help and exit
1348       --help=short        display options specific to this package
1349       --help=recursive    display the short help of all the included packages
1350   -V, --version           display version information and exit
1351   -q, --quiet, --silent   do not print \`checking ...' messages
1352       --cache-file=FILE   cache test results in FILE [disabled]
1353   -C, --config-cache      alias for \`--cache-file=config.cache'
1354   -n, --no-create         do not create output files
1355       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1356
1357 Installation directories:
1358   --prefix=PREFIX         install architecture-independent files in PREFIX
1359                           [$ac_default_prefix]
1360   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1361                           [PREFIX]
1362
1363 By default, \`make install' will install all the files in
1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1366 for instance \`--prefix=\$HOME'.
1367
1368 For better control, use the options below.
1369
1370 Fine tuning of the installation directories:
1371   --bindir=DIR            user executables [EPREFIX/bin]
1372   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1373   --libexecdir=DIR        program executables [EPREFIX/libexec]
1374   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1375   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1376   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1377   --libdir=DIR            object code libraries [EPREFIX/lib]
1378   --includedir=DIR        C header files [PREFIX/include]
1379   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1380   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1381   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1382   --infodir=DIR           info documentation [DATAROOTDIR/info]
1383   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1384   --mandir=DIR            man documentation [DATAROOTDIR/man]
1385   --docdir=DIR            documentation root [DATAROOTDIR/doc/fuse]
1386   --htmldir=DIR           html documentation [DOCDIR]
1387   --dvidir=DIR            dvi documentation [DOCDIR]
1388   --pdfdir=DIR            pdf documentation [DOCDIR]
1389   --psdir=DIR             ps documentation [DOCDIR]
1390 _ACEOF
1391
1392   cat <<\_ACEOF
1393
1394 Program names:
1395   --program-prefix=PREFIX            prepend PREFIX to installed program names
1396   --program-suffix=SUFFIX            append SUFFIX to installed program names
1397   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1398
1399 System types:
1400   --build=BUILD     configure for building on BUILD [guessed]
1401   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1402   --target=TARGET   configure for building compilers for TARGET [HOST]
1403 _ACEOF
1404 fi
1405
1406 if test -n "$ac_init_help"; then
1407   case $ac_init_help in
1408      short | recursive ) echo "Configuration of fuse 2.9.6:";;
1409    esac
1410   cat <<\_ACEOF
1411
1412 Optional Features:
1413   --disable-option-checking  ignore unrecognized --enable/--with options
1414   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1415   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1416   --enable-silent-rules   less verbose build output (undo: "make V=1")
1417   --disable-silent-rules  verbose build output (undo: "make V=0")
1418   --enable-shared[=PKGS]  build shared libraries [default=yes]
1419   --enable-static[=PKGS]  build static libraries [default=yes]
1420   --enable-fast-install[=PKGS]
1421                           optimize for fast installation [default=yes]
1422   --enable-dependency-tracking
1423                           do not reject slow dependency extractors
1424   --disable-dependency-tracking
1425                           speeds up one-time build
1426   --disable-libtool-lock  avoid locking (might break parallel builds)
1427   --disable-largefile     omit support for large files
1428   --enable-lib            Compile with library
1429   --enable-util           Compile with util
1430   --enable-example        Compile with examples
1431   --disable-mtab          Disable and ignore usage of /etc/mtab
1432   --disable-rpath         do not hardcode runtime library paths
1433
1434 Optional Packages:
1435   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1436   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1437   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1438                           both]
1439   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1440   --with-sysroot=DIR Search for dependent libraries within DIR
1441                         (or the compiler's sysroot if not specified).
1442   --with-pkgconfigdir=DIR      pkgconfig file in DIR [LIBDIR/pkgconfig]
1443   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1444   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1445   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1446   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1447
1448 Some influential environment variables:
1449   CC          C compiler command
1450   CFLAGS      C compiler flags
1451   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1452               nonstandard directory <lib dir>
1453   LIBS        libraries to pass to the linker, e.g. -l<library>
1454   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1455               you have headers in a nonstandard directory <include dir>
1456   CPP         C preprocessor
1457
1458 Use these variables to override the choices made by `configure' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1460
1461 Report bugs to the package provider.
1462 _ACEOF
1463 ac_status=$?
1464 fi
1465
1466 if test "$ac_init_help" = "recursive"; then
1467   # If there are subdirs, report their specific --help.
1468   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469     test -d "$ac_dir" ||
1470       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471       continue
1472     ac_builddir=.
1473
1474 case "$ac_dir" in
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *)
1477   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478   # A ".." for each directory in $ac_dir_suffix.
1479   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480   case $ac_top_builddir_sub in
1481   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483   esac ;;
1484 esac
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1489
1490 case $srcdir in
1491   .)  # We are building in place.
1492     ac_srcdir=.
1493     ac_top_srcdir=$ac_top_builddir_sub
1494     ac_abs_top_srcdir=$ac_pwd ;;
1495   [\\/]* | ?:[\\/]* )  # Absolute name.
1496     ac_srcdir=$srcdir$ac_dir_suffix;
1497     ac_top_srcdir=$srcdir
1498     ac_abs_top_srcdir=$srcdir ;;
1499   *) # Relative name.
1500     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501     ac_top_srcdir=$ac_top_build_prefix$srcdir
1502     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1503 esac
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1505
1506     cd "$ac_dir" || { ac_status=$?; continue; }
1507     # Check for guested configure.
1508     if test -f "$ac_srcdir/configure.gnu"; then
1509       echo &&
1510       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511     elif test -f "$ac_srcdir/configure"; then
1512       echo &&
1513       $SHELL "$ac_srcdir/configure" --help=recursive
1514     else
1515       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1516     fi || ac_status=$?
1517     cd "$ac_pwd" || { ac_status=$?; break; }
1518   done
1519 fi
1520
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1523   cat <<\_ACEOF
1524 fuse configure 2.9.6
1525 generated by GNU Autoconf 2.69
1526
1527 Copyright (C) 2012 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1530 _ACEOF
1531   exit
1532 fi
1533
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1537
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1542 {
1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544   rm -f conftest.$ac_objext
1545   if { { ac_try="$ac_compile"
1546 case "(($ac_try" in
1547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548   *) ac_try_echo=$ac_try;;
1549 esac
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552   (eval "$ac_compile") 2>conftest.err
1553   ac_status=$?
1554   if test -s conftest.err; then
1555     grep -v '^ *+' conftest.err >conftest.er1
1556     cat conftest.er1 >&5
1557     mv -f conftest.er1 conftest.err
1558   fi
1559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560   test $ac_status = 0; } && {
1561          test -z "$ac_c_werror_flag" ||
1562          test ! -s conftest.err
1563        } && test -s conftest.$ac_objext; then :
1564   ac_retval=0
1565 else
1566   $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1568
1569         ac_retval=1
1570 fi
1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572   as_fn_set_status $ac_retval
1573
1574 } # ac_fn_c_try_compile
1575
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1579 ac_fn_c_try_link ()
1580 {
1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582   rm -f conftest.$ac_objext conftest$ac_exeext
1583   if { { ac_try="$ac_link"
1584 case "(($ac_try" in
1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586   *) ac_try_echo=$ac_try;;
1587 esac
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590   (eval "$ac_link") 2>conftest.err
1591   ac_status=$?
1592   if test -s conftest.err; then
1593     grep -v '^ *+' conftest.err >conftest.er1
1594     cat conftest.er1 >&5
1595     mv -f conftest.er1 conftest.err
1596   fi
1597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598   test $ac_status = 0; } && {
1599          test -z "$ac_c_werror_flag" ||
1600          test ! -s conftest.err
1601        } && test -s conftest$ac_exeext && {
1602          test "$cross_compiling" = yes ||
1603          test -x conftest$ac_exeext
1604        }; then :
1605   ac_retval=0
1606 else
1607   $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1609
1610         ac_retval=1
1611 fi
1612   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614   # interfere with the next link command; also delete a directory that is
1615   # left behind by Apple's compiler.  We do this before executing the actions.
1616   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618   as_fn_set_status $ac_retval
1619
1620 } # ac_fn_c_try_link
1621
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632   $as_echo_n "(cached) " >&6
1633 else
1634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h.  */
1636 $4
1637 #include <$2>
1638 _ACEOF
1639 if ac_fn_c_try_compile "$LINENO"; then :
1640   eval "$3=yes"
1641 else
1642   eval "$3=no"
1643 fi
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645 fi
1646 eval ac_res=\$$3
1647                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
1651 } # ac_fn_c_check_header_compile
1652
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_cpp ()
1657 {
1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659   if { { ac_try="$ac_cpp conftest.$ac_ext"
1660 case "(($ac_try" in
1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662   *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1667   ac_status=$?
1668   if test -s conftest.err; then
1669     grep -v '^ *+' conftest.err >conftest.er1
1670     cat conftest.er1 >&5
1671     mv -f conftest.er1 conftest.err
1672   fi
1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674   test $ac_status = 0; } > conftest.i && {
1675          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676          test ! -s conftest.err
1677        }; then :
1678   ac_retval=0
1679 else
1680   $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683     ac_retval=1
1684 fi
1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686   as_fn_set_status $ac_retval
1687
1688 } # ac_fn_c_try_cpp
1689
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1694 ac_fn_c_try_run ()
1695 {
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700   *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704   (eval "$ac_link") 2>&5
1705   ac_status=$?
1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708   { { case "(($ac_try" in
1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710   *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714   (eval "$ac_try") 2>&5
1715   ac_status=$?
1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717   test $ac_status = 0; }; }; then :
1718   ac_retval=0
1719 else
1720   $as_echo "$as_me: program exited with status $ac_status" >&5
1721        $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1723
1724        ac_retval=$ac_status
1725 fi
1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728   as_fn_set_status $ac_retval
1729
1730 } # ac_fn_c_try_run
1731
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1736 {
1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741   $as_echo_n "(cached) " >&6
1742 else
1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h.  */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1747 #define $2 innocuous_$2
1748
1749 /* System header to define __stub macros and hopefully few prototypes,
1750     which can conflict with char $2 (); below.
1751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752     <limits.h> exists even on freestanding compilers.  */
1753
1754 #ifdef __STDC__
1755 # include <limits.h>
1756 #else
1757 # include <assert.h>
1758 #endif
1759
1760 #undef $2
1761
1762 /* Override any GCC internal prototype to avoid an error.
1763    Use char because int might match the return type of a GCC
1764    builtin and then its argument prototype would still apply.  */
1765 #ifdef __cplusplus
1766 extern "C"
1767 #endif
1768 char $2 ();
1769 /* The GNU C library defines this for functions which it implements
1770     to always fail with ENOSYS.  Some functions are actually named
1771     something starting with __ and the normal name is an alias.  */
1772 #if defined __stub_$2 || defined __stub___$2
1773 choke me
1774 #endif
1775
1776 int
1777 main ()
1778 {
1779 return $2 ();
1780   ;
1781   return 0;
1782 }
1783 _ACEOF
1784 if ac_fn_c_try_link "$LINENO"; then :
1785   eval "$3=yes"
1786 else
1787   eval "$3=no"
1788 fi
1789 rm -f core conftest.err conftest.$ac_objext \
1790     conftest$ac_exeext conftest.$ac_ext
1791 fi
1792 eval ac_res=\$$3
1793                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796
1797 } # ac_fn_c_check_func
1798
1799 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1800 # ----------------------------------------------------
1801 # Tries to find if the field MEMBER exists in type AGGR, after including
1802 # INCLUDES, setting cache variable VAR accordingly.
1803 ac_fn_c_check_member ()
1804 {
1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1807 $as_echo_n "checking for $2.$3... " >&6; }
1808 if eval \${$4+:} false; then :
1809   $as_echo_n "(cached) " >&6
1810 else
1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h.  */
1813 $5
1814 int
1815 main ()
1816 {
1817 static $2 ac_aggr;
1818 if (ac_aggr.$3)
1819 return 0;
1820   ;
1821   return 0;
1822 }
1823 _ACEOF
1824 if ac_fn_c_try_compile "$LINENO"; then :
1825   eval "$4=yes"
1826 else
1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 $5
1830 int
1831 main ()
1832 {
1833 static $2 ac_aggr;
1834 if (sizeof ac_aggr.$3)
1835 return 0;
1836   ;
1837   return 0;
1838 }
1839 _ACEOF
1840 if ac_fn_c_try_compile "$LINENO"; then :
1841   eval "$4=yes"
1842 else
1843   eval "$4=no"
1844 fi
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 fi
1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848 fi
1849 eval ac_res=\$$4
1850                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
1854 } # ac_fn_c_check_member
1855 cat >config.log <<_ACEOF
1856 This file contains any messages produced by compilers while
1857 running configure, to aid debugging if configure makes a mistake.
1858
1859 It was created by fuse $as_me 2.9.6, which was
1860 generated by GNU Autoconf 2.69.  Invocation command line was
1861
1862   $ $0 $@
1863
1864 _ACEOF
1865 exec 5>>config.log
1866 {
1867 cat <<_ASUNAME
1868 ## --------- ##
1869 ## Platform. ##
1870 ## --------- ##
1871
1872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1877
1878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1879 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1880
1881 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1882 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1884 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1885 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1886 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1887 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1888
1889 _ASUNAME
1890
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1893 do
1894   IFS=$as_save_IFS
1895   test -z "$as_dir" && as_dir=.
1896     $as_echo "PATH: $as_dir"
1897   done
1898 IFS=$as_save_IFS
1899
1900 } >&5
1901
1902 cat >&5 <<_ACEOF
1903
1904
1905 ## ----------- ##
1906 ## Core tests. ##
1907 ## ----------- ##
1908
1909 _ACEOF
1910
1911
1912 # Keep a trace of the command line.
1913 # Strip out --no-create and --no-recursion so they do not pile up.
1914 # Strip out --silent because we don't want to record it for future runs.
1915 # Also quote any args containing shell meta-characters.
1916 # Make two passes to allow for proper duplicate-argument suppression.
1917 ac_configure_args=
1918 ac_configure_args0=
1919 ac_configure_args1=
1920 ac_must_keep_next=false
1921 for ac_pass in 1 2
1922 do
1923   for ac_arg
1924   do
1925     case $ac_arg in
1926     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1927     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1928     | -silent | --silent | --silen | --sile | --sil)
1929       continue ;;
1930     *\'*)
1931       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1932     esac
1933     case $ac_pass in
1934     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1935     2)
1936       as_fn_append ac_configure_args1 " '$ac_arg'"
1937       if test $ac_must_keep_next = true; then
1938         ac_must_keep_next=false # Got value, back to normal.
1939       else
1940         case $ac_arg in
1941           *=* | --config-cache | -C | -disable-* | --disable-* \
1942           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1943           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1944           | -with-* | --with-* | -without-* | --without-* | --x)
1945             case "$ac_configure_args0 " in
1946               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1947             esac
1948             ;;
1949           -* ) ac_must_keep_next=true ;;
1950         esac
1951       fi
1952       as_fn_append ac_configure_args " '$ac_arg'"
1953       ;;
1954     esac
1955   done
1956 done
1957 { ac_configure_args0=; unset ac_configure_args0;}
1958 { ac_configure_args1=; unset ac_configure_args1;}
1959
1960 # When interrupted or exit'd, cleanup temporary files, and complete
1961 # config.log.  We remove comments because anyway the quotes in there
1962 # would cause problems or look ugly.
1963 # WARNING: Use '\'' to represent an apostrophe within the trap.
1964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1965 trap 'exit_status=$?
1966   # Save into config.log some information that might help in debugging.
1967   {
1968     echo
1969
1970     $as_echo "## ---------------- ##
1971 ## Cache variables. ##
1972 ## ---------------- ##"
1973     echo
1974     # The following way of writing the cache mishandles newlines in values,
1975 (
1976   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1977     eval ac_val=\$$ac_var
1978     case $ac_val in #(
1979     *${as_nl}*)
1980       case $ac_var in #(
1981       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1983       esac
1984       case $ac_var in #(
1985       _ | IFS | as_nl) ;; #(
1986       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1987       *) { eval $ac_var=; unset $ac_var;} ;;
1988       esac ;;
1989     esac
1990   done
1991   (set) 2>&1 |
1992     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1993     *${as_nl}ac_space=\ *)
1994       sed -n \
1995         "s/'\''/'\''\\\\'\'''\''/g;
1996           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1997       ;; #(
1998     *)
1999       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2000       ;;
2001     esac |
2002     sort
2003 )
2004     echo
2005
2006     $as_echo "## ----------------- ##
2007 ## Output variables. ##
2008 ## ----------------- ##"
2009     echo
2010     for ac_var in $ac_subst_vars
2011     do
2012       eval ac_val=\$$ac_var
2013       case $ac_val in
2014       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2015       esac
2016       $as_echo "$ac_var='\''$ac_val'\''"
2017     done | sort
2018     echo
2019
2020     if test -n "$ac_subst_files"; then
2021       $as_echo "## ------------------- ##
2022 ## File substitutions. ##
2023 ## ------------------- ##"
2024       echo
2025       for ac_var in $ac_subst_files
2026       do
2027         eval ac_val=\$$ac_var
2028         case $ac_val in
2029         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2030         esac
2031         $as_echo "$ac_var='\''$ac_val'\''"
2032       done | sort
2033       echo
2034     fi
2035
2036     if test -s confdefs.h; then
2037       $as_echo "## ----------- ##
2038 ## confdefs.h. ##
2039 ## ----------- ##"
2040       echo
2041       cat confdefs.h
2042       echo
2043     fi
2044     test "$ac_signal" != 0 &&
2045       $as_echo "$as_me: caught signal $ac_signal"
2046     $as_echo "$as_me: exit $exit_status"
2047   } >&5
2048   rm -f core *.core core.conftest.* &&
2049     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2050     exit $exit_status
2051 ' 0
2052 for ac_signal in 1 2 13 15; do
2053   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2054 done
2055 ac_signal=0
2056
2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2058 rm -f -r conftest* confdefs.h
2059
2060 $as_echo "/* confdefs.h */" > confdefs.h
2061
2062 # Predefined preprocessor variables.
2063
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_NAME "$PACKAGE_NAME"
2066 _ACEOF
2067
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2070 _ACEOF
2071
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2074 _ACEOF
2075
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_STRING "$PACKAGE_STRING"
2078 _ACEOF
2079
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2082 _ACEOF
2083
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_URL "$PACKAGE_URL"
2086 _ACEOF
2087
2088
2089 # Let the site file select an alternate cache file if it wants to.
2090 # Prefer an explicitly selected file to automatically selected ones.
2091 ac_site_file1=NONE
2092 ac_site_file2=NONE
2093 if test -n "$CONFIG_SITE"; then
2094   # We do not want a PATH search for config.site.
2095   case $CONFIG_SITE in #((
2096     -*)  ac_site_file1=./$CONFIG_SITE;;
2097     */*) ac_site_file1=$CONFIG_SITE;;
2098     *)   ac_site_file1=./$CONFIG_SITE;;
2099   esac
2100 elif test "x$prefix" != xNONE; then
2101   ac_site_file1=$prefix/share/config.site
2102   ac_site_file2=$prefix/etc/config.site
2103 else
2104   ac_site_file1=$ac_default_prefix/share/config.site
2105   ac_site_file2=$ac_default_prefix/etc/config.site
2106 fi
2107 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2108 do
2109   test "x$ac_site_file" = xNONE && continue
2110   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2111     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2112 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2113     sed 's/^/| /' "$ac_site_file" >&5
2114     . "$ac_site_file" \
2115       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2117 as_fn_error $? "failed to load site script $ac_site_file
2118 See \`config.log' for more details" "$LINENO" 5; }
2119   fi
2120 done
2121
2122 if test -r "$cache_file"; then
2123   # Some versions of bash will fail to source /dev/null (special files
2124   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2125   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2126     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2127 $as_echo "$as_me: loading cache $cache_file" >&6;}
2128     case $cache_file in
2129       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2130       *)                      . "./$cache_file";;
2131     esac
2132   fi
2133 else
2134   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2135 $as_echo "$as_me: creating cache $cache_file" >&6;}
2136   >$cache_file
2137 fi
2138
2139 # Check that the precious variables saved in the cache have kept the same
2140 # value.
2141 ac_cache_corrupted=false
2142 for ac_var in $ac_precious_vars; do
2143   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2144   eval ac_new_set=\$ac_env_${ac_var}_set
2145   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2146   eval ac_new_val=\$ac_env_${ac_var}_value
2147   case $ac_old_set,$ac_new_set in
2148     set,)
2149       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2150 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2151       ac_cache_corrupted=: ;;
2152     ,set)
2153       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2154 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2155       ac_cache_corrupted=: ;;
2156     ,);;
2157     *)
2158       if test "x$ac_old_val" != "x$ac_new_val"; then
2159         # differences in whitespace do not lead to failure.
2160         ac_old_val_w=`echo x $ac_old_val`
2161         ac_new_val_w=`echo x $ac_new_val`
2162         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2163           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2164 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2165           ac_cache_corrupted=:
2166         else
2167           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2168 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2169           eval $ac_var=\$ac_old_val
2170         fi
2171         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2172 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2173         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2174 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2175       fi;;
2176   esac
2177   # Pass precious variables to config.status.
2178   if test "$ac_new_set" = set; then
2179     case $ac_new_val in
2180     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2181     *) ac_arg=$ac_var=$ac_new_val ;;
2182     esac
2183     case " $ac_configure_args " in
2184       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2185       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2186     esac
2187   fi
2188 done
2189 if $ac_cache_corrupted; then
2190   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2193 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2194   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2195 fi
2196 ## -------------------- ##
2197 ## Main body of script. ##
2198 ## -------------------- ##
2199
2200 ac_ext=c
2201 ac_cpp='$CPP $CPPFLAGS'
2202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2205
2206
2207
2208
2209
2210 ac_aux_dir=
2211 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2212   if test -f "$ac_dir/install-sh"; then
2213     ac_aux_dir=$ac_dir
2214     ac_install_sh="$ac_aux_dir/install-sh -c"
2215     break
2216   elif test -f "$ac_dir/install.sh"; then
2217     ac_aux_dir=$ac_dir
2218     ac_install_sh="$ac_aux_dir/install.sh -c"
2219     break
2220   elif test -f "$ac_dir/shtool"; then
2221     ac_aux_dir=$ac_dir
2222     ac_install_sh="$ac_aux_dir/shtool install -c"
2223     break
2224   fi
2225 done
2226 if test -z "$ac_aux_dir"; then
2227   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2228 fi
2229
2230 # These three variables are undocumented and unsupported,
2231 # and are intended to be withdrawn in a future Autoconf release.
2232 # They can cause serious problems if a builder's source tree is in a directory
2233 # whose full name contains unusual characters.
2234 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2235 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2236 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2237
2238
2239 # Make sure we can run config.sub.
2240 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2241   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2242
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2244 $as_echo_n "checking build system type... " >&6; }
2245 if ${ac_cv_build+:} false; then :
2246   $as_echo_n "(cached) " >&6
2247 else
2248   ac_build_alias=$build_alias
2249 test "x$ac_build_alias" = x &&
2250   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2251 test "x$ac_build_alias" = x &&
2252   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2253 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2254   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2255
2256 fi
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2258 $as_echo "$ac_cv_build" >&6; }
2259 case $ac_cv_build in
2260 *-*-*) ;;
2261 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2262 esac
2263 build=$ac_cv_build
2264 ac_save_IFS=$IFS; IFS='-'
2265 set x $ac_cv_build
2266 shift
2267 build_cpu=$1
2268 build_vendor=$2
2269 shift; shift
2270 # Remember, the first character of IFS is used to create $*,
2271 # except with old shells:
2272 build_os=$*
2273 IFS=$ac_save_IFS
2274 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2275
2276
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2278 $as_echo_n "checking host system type... " >&6; }
2279 if ${ac_cv_host+:} false; then :
2280   $as_echo_n "(cached) " >&6
2281 else
2282   if test "x$host_alias" = x; then
2283   ac_cv_host=$ac_cv_build
2284 else
2285   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2286     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2287 fi
2288
2289 fi
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2291 $as_echo "$ac_cv_host" >&6; }
2292 case $ac_cv_host in
2293 *-*-*) ;;
2294 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2295 esac
2296 host=$ac_cv_host
2297 ac_save_IFS=$IFS; IFS='-'
2298 set x $ac_cv_host
2299 shift
2300 host_cpu=$1
2301 host_vendor=$2
2302 shift; shift
2303 # Remember, the first character of IFS is used to create $*,
2304 # except with old shells:
2305 host_os=$*
2306 IFS=$ac_save_IFS
2307 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2308
2309
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2311 $as_echo_n "checking target system type... " >&6; }
2312 if ${ac_cv_target+:} false; then :
2313   $as_echo_n "(cached) " >&6
2314 else
2315   if test "x$target_alias" = x; then
2316   ac_cv_target=$ac_cv_host
2317 else
2318   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2319     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2320 fi
2321
2322 fi
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2324 $as_echo "$ac_cv_target" >&6; }
2325 case $ac_cv_target in
2326 *-*-*) ;;
2327 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2328 esac
2329 target=$ac_cv_target
2330 ac_save_IFS=$IFS; IFS='-'
2331 set x $ac_cv_target
2332 shift
2333 target_cpu=$1
2334 target_vendor=$2
2335 shift; shift
2336 # Remember, the first character of IFS is used to create $*,
2337 # except with old shells:
2338 target_os=$*
2339 IFS=$ac_save_IFS
2340 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2341
2342
2343 # The aliases save the names the user supplied, while $host etc.
2344 # will get canonicalized.
2345 test -n "$target_alias" &&
2346   test "$program_prefix$program_suffix$program_transform_name" = \
2347     NONENONEs,x,x, &&
2348   program_prefix=${target_alias}-
2349 am__api_version='1.15'
2350
2351 # Find a good install program.  We prefer a C program (faster),
2352 # so one script is as good as another.  But avoid the broken or
2353 # incompatible versions:
2354 # SysV /etc/install, /usr/sbin/install
2355 # SunOS /usr/etc/install
2356 # IRIX /sbin/install
2357 # AIX /bin/install
2358 # AmigaOS /C/install, which installs bootblocks on floppy discs
2359 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2362 # OS/2's system install, which has a completely different semantic
2363 # ./install, which can be erroneously created by make from ./install.sh.
2364 # Reject install programs that cannot install multiple files.
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2366 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2367 if test -z "$INSTALL"; then
2368 if ${ac_cv_path_install+:} false; then :
2369   $as_echo_n "(cached) " >&6
2370 else
2371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 for as_dir in $PATH
2373 do
2374   IFS=$as_save_IFS
2375   test -z "$as_dir" && as_dir=.
2376     # Account for people who put trailing slashes in PATH elements.
2377 case $as_dir/ in #((
2378   ./ | .// | /[cC]/* | \
2379   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2380   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2381   /usr/ucb/* ) ;;
2382   *)
2383     # OSF1 and SCO ODT 3.0 have their own names for install.
2384     # Don't use installbsd from OSF since it installs stuff as root
2385     # by default.
2386     for ac_prog in ginstall scoinst install; do
2387       for ac_exec_ext in '' $ac_executable_extensions; do
2388         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2389           if test $ac_prog = install &&
2390             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391             # AIX install.  It has an incompatible calling convention.
2392             :
2393           elif test $ac_prog = install &&
2394             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395             # program-specific install script used by HP pwplus--don't use.
2396             :
2397           else
2398             rm -rf conftest.one conftest.two conftest.dir
2399             echo one > conftest.one
2400             echo two > conftest.two
2401             mkdir conftest.dir
2402             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2403               test -s conftest.one && test -s conftest.two &&
2404               test -s conftest.dir/conftest.one &&
2405               test -s conftest.dir/conftest.two
2406             then
2407               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2408               break 3
2409             fi
2410           fi
2411         fi
2412       done
2413     done
2414     ;;
2415 esac
2416
2417   done
2418 IFS=$as_save_IFS
2419
2420 rm -rf conftest.one conftest.two conftest.dir
2421
2422 fi
2423   if test "${ac_cv_path_install+set}" = set; then
2424     INSTALL=$ac_cv_path_install
2425   else
2426     # As a last resort, use the slow shell script.  Don't cache a
2427     # value for INSTALL within a source directory, because that will
2428     # break other packages using the cache if that directory is
2429     # removed, or if the value is a relative name.
2430     INSTALL=$ac_install_sh
2431   fi
2432 fi
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2434 $as_echo "$INSTALL" >&6; }
2435
2436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2437 # It thinks the first close brace ends the variable substitution.
2438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2439
2440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2441
2442 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2443
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2445 $as_echo_n "checking whether build environment is sane... " >&6; }
2446 # Reject unsafe characters in $srcdir or the absolute working directory
2447 # name.  Accept space and tab only in the latter.
2448 am_lf='
2449 '
2450 case `pwd` in
2451   *[\\\"\#\$\&\'\`$am_lf]*)
2452     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2453 esac
2454 case $srcdir in
2455   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2456     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2457 esac
2458
2459 # Do 'set' in a subshell so we don't clobber the current shell's
2460 # arguments.  Must try -L first in case configure is actually a
2461 # symlink; some systems play weird games with the mod time of symlinks
2462 # (eg FreeBSD returns the mod time of the symlink's containing
2463 # directory).
2464 if (
2465    am_has_slept=no
2466    for am_try in 1 2; do
2467      echo "timestamp, slept: $am_has_slept" > conftest.file
2468      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2469      if test "$*" = "X"; then
2470         # -L didn't work.
2471         set X `ls -t "$srcdir/configure" conftest.file`
2472      fi
2473      if test "$*" != "X $srcdir/configure conftest.file" \
2474         && test "$*" != "X conftest.file $srcdir/configure"; then
2475
2476         # If neither matched, then we have a broken ls.  This can happen
2477         # if, for instance, CONFIG_SHELL is bash and it inherits a
2478         # broken ls alias from the environment.  This has actually
2479         # happened.  Such a system could not be considered "sane".
2480         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2481   alias in your environment" "$LINENO" 5
2482      fi
2483      if test "$2" = conftest.file || test $am_try -eq 2; then
2484        break
2485      fi
2486      # Just in case.
2487      sleep 1
2488      am_has_slept=yes
2489    done
2490    test "$2" = conftest.file
2491    )
2492 then
2493    # Ok.
2494    :
2495 else
2496    as_fn_error $? "newly created file is older than distributed files!
2497 Check your system clock" "$LINENO" 5
2498 fi
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2500 $as_echo "yes" >&6; }
2501 # If we didn't sleep, we still need to ensure time stamps of config.status and
2502 # generated files are strictly newer.
2503 am_sleep_pid=
2504 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2505   ( sleep 1 ) &
2506   am_sleep_pid=$!
2507 fi
2508
2509 rm -f conftest.file
2510
2511 test "$program_prefix" != NONE &&
2512   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2513 # Use a double $ so make ignores it.
2514 test "$program_suffix" != NONE &&
2515   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2516 # Double any \ or $.
2517 # By default was `s,x,x', remove it if useless.
2518 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2519 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2520
2521 # Expand $ac_aux_dir to an absolute path.
2522 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2523
2524 if test x"${MISSING+set}" != xset; then
2525   case $am_aux_dir in
2526   *\ * | *\     *)
2527     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2528   *)
2529     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2530   esac
2531 fi
2532 # Use eval to expand $SHELL
2533 if eval "$MISSING --is-lightweight"; then
2534   am_missing_run="$MISSING "
2535 else
2536   am_missing_run=
2537   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2538 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2539 fi
2540
2541 if test x"${install_sh}" != xset; then
2542   case $am_aux_dir in
2543   *\ * | *\     *)
2544     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2545   *)
2546     install_sh="\${SHELL} $am_aux_dir/install-sh"
2547   esac
2548 fi
2549
2550 # Installed binaries are usually stripped using 'strip' when the user
2551 # run "make install-strip".  However 'strip' might not be the right
2552 # tool to use in cross-compilation environments, therefore Automake
2553 # will honor the 'STRIP' environment variable to overrule this program.
2554 if test "$cross_compiling" != no; then
2555   if test -n "$ac_tool_prefix"; then
2556   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2557 set dummy ${ac_tool_prefix}strip; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_prog_STRIP+:} false; then :
2561   $as_echo_n "(cached) " >&6
2562 else
2563   if test -n "$STRIP"; then
2564   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2565 else
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 for as_dir in $PATH
2568 do
2569   IFS=$as_save_IFS
2570   test -z "$as_dir" && as_dir=.
2571     for ac_exec_ext in '' $ac_executable_extensions; do
2572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2573     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575     break 2
2576   fi
2577 done
2578   done
2579 IFS=$as_save_IFS
2580
2581 fi
2582 fi
2583 STRIP=$ac_cv_prog_STRIP
2584 if test -n "$STRIP"; then
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2586 $as_echo "$STRIP" >&6; }
2587 else
2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2590 fi
2591
2592
2593 fi
2594 if test -z "$ac_cv_prog_STRIP"; then
2595   ac_ct_STRIP=$STRIP
2596   # Extract the first word of "strip", so it can be a program name with args.
2597 set dummy strip; ac_word=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2601   $as_echo_n "(cached) " >&6
2602 else
2603   if test -n "$ac_ct_STRIP"; then
2604   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2605 else
2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 for as_dir in $PATH
2608 do
2609   IFS=$as_save_IFS
2610   test -z "$as_dir" && as_dir=.
2611     for ac_exec_ext in '' $ac_executable_extensions; do
2612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2613     ac_cv_prog_ac_ct_STRIP="strip"
2614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615     break 2
2616   fi
2617 done
2618   done
2619 IFS=$as_save_IFS
2620
2621 fi
2622 fi
2623 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2624 if test -n "$ac_ct_STRIP"; then
2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2626 $as_echo "$ac_ct_STRIP" >&6; }
2627 else
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2630 fi
2631
2632   if test "x$ac_ct_STRIP" = x; then
2633     STRIP=":"
2634   else
2635     case $cross_compiling:$ac_tool_warned in
2636 yes:)
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2639 ac_tool_warned=yes ;;
2640 esac
2641     STRIP=$ac_ct_STRIP
2642   fi
2643 else
2644   STRIP="$ac_cv_prog_STRIP"
2645 fi
2646
2647 fi
2648 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2649
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2651 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2652 if test -z "$MKDIR_P"; then
2653   if ${ac_cv_path_mkdir+:} false; then :
2654   $as_echo_n "(cached) " >&6
2655 else
2656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2658 do
2659   IFS=$as_save_IFS
2660   test -z "$as_dir" && as_dir=.
2661     for ac_prog in mkdir gmkdir; do
2662          for ac_exec_ext in '' $ac_executable_extensions; do
2663            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2664            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2665              'mkdir (GNU coreutils) '* | \
2666              'mkdir (coreutils) '* | \
2667              'mkdir (fileutils) '4.1*)
2668                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2669                break 3;;
2670            esac
2671          done
2672        done
2673   done
2674 IFS=$as_save_IFS
2675
2676 fi
2677
2678   test -d ./--version && rmdir ./--version
2679   if test "${ac_cv_path_mkdir+set}" = set; then
2680     MKDIR_P="$ac_cv_path_mkdir -p"
2681   else
2682     # As a last resort, use the slow shell script.  Don't cache a
2683     # value for MKDIR_P within a source directory, because that will
2684     # break other packages using the cache if that directory is
2685     # removed, or if the value is a relative name.
2686     MKDIR_P="$ac_install_sh -d"
2687   fi
2688 fi
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2690 $as_echo "$MKDIR_P" >&6; }
2691
2692 for ac_prog in gawk mawk nawk awk
2693 do
2694   # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy $ac_prog; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_AWK+:} false; then :
2699   $as_echo_n "(cached) " >&6
2700 else
2701   if test -n "$AWK"; then
2702   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707   IFS=$as_save_IFS
2708   test -z "$as_dir" && as_dir=.
2709     for ac_exec_ext in '' $ac_executable_extensions; do
2710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711     ac_cv_prog_AWK="$ac_prog"
2712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713     break 2
2714   fi
2715 done
2716   done
2717 IFS=$as_save_IFS
2718
2719 fi
2720 fi
2721 AWK=$ac_cv_prog_AWK
2722 if test -n "$AWK"; then
2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2724 $as_echo "$AWK" >&6; }
2725 else
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 fi
2729
2730
2731   test -n "$AWK" && break
2732 done
2733
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2735 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2736 set x ${MAKE-make}
2737 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2738 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   cat >conftest.make <<\_ACEOF
2742 SHELL = /bin/sh
2743 all:
2744         @echo '@@@%%%=$(MAKE)=@@@%%%'
2745 _ACEOF
2746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2747 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2748   *@@@%%%=?*=@@@%%%*)
2749     eval ac_cv_prog_make_${ac_make}_set=yes;;
2750   *)
2751     eval ac_cv_prog_make_${ac_make}_set=no;;
2752 esac
2753 rm -f conftest.make
2754 fi
2755 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2757 $as_echo "yes" >&6; }
2758   SET_MAKE=
2759 else
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762   SET_MAKE="MAKE=${MAKE-make}"
2763 fi
2764
2765 rm -rf .tst 2>/dev/null
2766 mkdir .tst 2>/dev/null
2767 if test -d .tst; then
2768   am__leading_dot=.
2769 else
2770   am__leading_dot=_
2771 fi
2772 rmdir .tst 2>/dev/null
2773
2774 # Check whether --enable-silent-rules was given.
2775 if test "${enable_silent_rules+set}" = set; then :
2776   enableval=$enable_silent_rules;
2777 fi
2778
2779 case $enable_silent_rules in # (((
2780   yes) AM_DEFAULT_VERBOSITY=0;;
2781    no) AM_DEFAULT_VERBOSITY=1;;
2782     *) AM_DEFAULT_VERBOSITY=1;;
2783 esac
2784 am_make=${MAKE-make}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2787 if ${am_cv_make_support_nested_variables+:} false; then :
2788   $as_echo_n "(cached) " >&6
2789 else
2790   if $as_echo 'TRUE=$(BAR$(V))
2791 BAR0=false
2792 BAR1=true
2793 V=1
2794 am__doit:
2795         @$(TRUE)
2796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2797   am_cv_make_support_nested_variables=yes
2798 else
2799   am_cv_make_support_nested_variables=no
2800 fi
2801 fi
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2804 if test $am_cv_make_support_nested_variables = yes; then
2805     AM_V='$(V)'
2806   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2807 else
2808   AM_V=$AM_DEFAULT_VERBOSITY
2809   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2810 fi
2811 AM_BACKSLASH='\'
2812
2813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815   # is not polluted with repeated "-I."
2816   am__isrc=' -I$(srcdir)'
2817   # test to see if srcdir already configured
2818   if test -f $srcdir/config.status; then
2819     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2820   fi
2821 fi
2822
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825   if (cygpath --version) >/dev/null 2>/dev/null; then
2826     CYGPATH_W='cygpath -w'
2827   else
2828     CYGPATH_W=echo
2829   fi
2830 fi
2831
2832
2833 # Define the identity of the package.
2834  PACKAGE='fuse'
2835  VERSION='2.9.6'
2836
2837
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2840 _ACEOF
2841
2842
2843 cat >>confdefs.h <<_ACEOF
2844 #define VERSION "$VERSION"
2845 _ACEOF
2846
2847 # Some tools Automake needs.
2848
2849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2850
2851
2852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2853
2854
2855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2856
2857
2858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2859
2860
2861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2862
2863 # For better backward compatibility.  To be removed once Automake 1.9.x
2864 # dies out for good.  For more background, see:
2865 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2866 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2867 mkdir_p='$(MKDIR_P)'
2868
2869 # We need awk for the "check" target.  The system "awk" is bad on
2870 # some platforms.
2871 # Always define AMTAR for backward compatibility.  Yes, it's still used
2872 # in the wild :-(  We should find a proper way to deprecate it ...
2873 AMTAR='$${TAR-tar}'
2874
2875
2876 # We'll loop over all known methods to create a tar archive until one works.
2877 _am_tools='gnutar  pax cpio none'
2878
2879 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2880
2881
2882
2883
2884
2885
2886 # POSIX will say in a future version that running "rm -f" with no argument
2887 # is OK; and we want to be able to make that assumption in our Makefile
2888 # recipes.  So use an aggressive probe to check that the usage we want is
2889 # actually supported "in the wild" to an acceptable degree.
2890 # See automake bug#10828.
2891 # To make any issue more visible, cause the running configure to be aborted
2892 # by default if the 'rm' program in use doesn't match our expectations; the
2893 # user can still override this though.
2894 if rm -f && rm -fr && rm -rf; then : OK; else
2895   cat >&2 <<'END'
2896 Oops!
2897
2898 Your 'rm' program seems unable to run without file operands specified
2899 on the command line, even when the '-f' option is present.  This is contrary
2900 to the behaviour of most rm programs out there, and not conforming with
2901 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2902
2903 Please tell bug-automake@gnu.org about your system, including the value
2904 of your $PATH and any error possibly output before this message.  This
2905 can help us improve future automake versions.
2906
2907 END
2908   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2909     echo 'Configuration will proceed anyway, since you have set the' >&2
2910     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2911     echo >&2
2912   else
2913     cat >&2 <<'END'
2914 Aborting the configuration process, to ensure you take notice of the issue.
2915
2916 You can download and install GNU coreutils to get an 'rm' implementation
2917 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2918
2919 If you want to complete the configuration process using your problematic
2920 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2921 to "yes", and re-run configure.
2922
2923 END
2924     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2925   fi
2926 fi
2927
2928 # Check whether --enable-silent-rules was given.
2929 if test "${enable_silent_rules+set}" = set; then :
2930   enableval=$enable_silent_rules;
2931 fi
2932
2933 case $enable_silent_rules in # (((
2934   yes) AM_DEFAULT_VERBOSITY=0;;
2935    no) AM_DEFAULT_VERBOSITY=1;;
2936     *) AM_DEFAULT_VERBOSITY=0;;
2937 esac
2938 am_make=${MAKE-make}
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2940 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2941 if ${am_cv_make_support_nested_variables+:} false; then :
2942   $as_echo_n "(cached) " >&6
2943 else
2944   if $as_echo 'TRUE=$(BAR$(V))
2945 BAR0=false
2946 BAR1=true
2947 V=1
2948 am__doit:
2949         @$(TRUE)
2950 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2951   am_cv_make_support_nested_variables=yes
2952 else
2953   am_cv_make_support_nested_variables=no
2954 fi
2955 fi
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2957 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2958 if test $am_cv_make_support_nested_variables = yes; then
2959     AM_V='$(V)'
2960   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2961 else
2962   AM_V=$AM_DEFAULT_VERBOSITY
2963   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2964 fi
2965 AM_BACKSLASH='\'
2966
2967 ac_config_headers="$ac_config_headers include/config.h"
2968
2969
2970 case `pwd` in
2971   *\ * | *\     *)
2972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2973 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2974 esac
2975
2976
2977
2978 macro_version='2.4.2'
2979 macro_revision='1.3337'
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993 ltmain="$ac_aux_dir/ltmain.sh"
2994
2995 # Backslashify metacharacters that are still active within
2996 # double-quoted strings.
2997 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2998
2999 # Same as above, but do not quote variable references.
3000 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3001
3002 # Sed substitution to delay expansion of an escaped shell variable in a
3003 # double_quote_subst'ed string.
3004 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3005
3006 # Sed substitution to delay expansion of an escaped single quote.
3007 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3008
3009 # Sed substitution to avoid accidental globbing in evaled expressions
3010 no_glob_subst='s/\*/\\\*/g'
3011
3012 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3013 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3014 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3015
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3017 $as_echo_n "checking how to print strings... " >&6; }
3018 # Test print first, because it will be a builtin if present.
3019 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3020    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3021   ECHO='print -r --'
3022 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3023   ECHO='printf %s\n'
3024 else
3025   # Use this function as a fallback that always works.
3026   func_fallback_echo ()
3027   {
3028     eval 'cat <<_LTECHO_EOF
3029 $1
3030 _LTECHO_EOF'
3031   }
3032   ECHO='func_fallback_echo'
3033 fi
3034
3035 # func_echo_all arg...
3036 # Invoke $ECHO with all args, space-separated.
3037 func_echo_all ()
3038 {
3039     $ECHO ""
3040 }
3041
3042 case "$ECHO" in
3043   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3044 $as_echo "printf" >&6; } ;;
3045   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3046 $as_echo "print -r" >&6; } ;;
3047   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3048 $as_echo "cat" >&6; } ;;
3049 esac
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064 DEPDIR="${am__leading_dot}deps"
3065
3066 ac_config_commands="$ac_config_commands depfiles"
3067
3068
3069 am_make=${MAKE-make}
3070 cat > confinc << 'END'
3071 am__doit:
3072         @echo this is the am__doit target
3073 .PHONY: am__doit
3074 END
3075 # If we don't find an include directive, just comment out the code.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3077 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3078 am__include="#"
3079 am__quote=
3080 _am_result=none
3081 # First try GNU make style include.
3082 echo "include confinc" > confmf
3083 # Ignore all kinds of additional output from 'make'.
3084 case `$am_make -s -f confmf 2> /dev/null` in #(
3085 *the\ am__doit\ target*)
3086   am__include=include
3087   am__quote=
3088   _am_result=GNU
3089   ;;
3090 esac
3091 # Now try BSD make style include.
3092 if test "$am__include" = "#"; then
3093    echo '.include "confinc"' > confmf
3094    case `$am_make -s -f confmf 2> /dev/null` in #(
3095    *the\ am__doit\ target*)
3096      am__include=.include
3097      am__quote="\""
3098      _am_result=BSD
3099      ;;
3100    esac
3101 fi
3102
3103
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3105 $as_echo "$_am_result" >&6; }
3106 rm -f confinc confmf
3107
3108 # Check whether --enable-dependency-tracking was given.
3109 if test "${enable_dependency_tracking+set}" = set; then :
3110   enableval=$enable_dependency_tracking;
3111 fi
3112
3113 if test "x$enable_dependency_tracking" != xno; then
3114   am_depcomp="$ac_aux_dir/depcomp"
3115   AMDEPBACKSLASH='\'
3116   am__nodep='_no'
3117 fi
3118  if test "x$enable_dependency_tracking" != xno; then
3119   AMDEP_TRUE=
3120   AMDEP_FALSE='#'
3121 else
3122   AMDEP_TRUE='#'
3123   AMDEP_FALSE=
3124 fi
3125
3126
3127 ac_ext=c
3128 ac_cpp='$CPP $CPPFLAGS'
3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132 if test -n "$ac_tool_prefix"; then
3133   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_CC+:} false; then :
3138   $as_echo_n "(cached) " >&6
3139 else
3140   if test -n "$CC"; then
3141   ac_cv_prog_CC="$CC" # Let the user override the test.
3142 else
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3145 do
3146   IFS=$as_save_IFS
3147   test -z "$as_dir" && as_dir=.
3148     for ac_exec_ext in '' $ac_executable_extensions; do
3149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152     break 2
3153   fi
3154 done
3155   done
3156 IFS=$as_save_IFS
3157
3158 fi
3159 fi
3160 CC=$ac_cv_prog_CC
3161 if test -n "$CC"; then
3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3163 $as_echo "$CC" >&6; }
3164 else
3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3167 fi
3168
3169
3170 fi
3171 if test -z "$ac_cv_prog_CC"; then
3172   ac_ct_CC=$CC
3173   # Extract the first word of "gcc", so it can be a program name with args.
3174 set dummy gcc; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178   $as_echo_n "(cached) " >&6
3179 else
3180   if test -n "$ac_ct_CC"; then
3181   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3185 do
3186   IFS=$as_save_IFS
3187   test -z "$as_dir" && as_dir=.
3188     for ac_exec_ext in '' $ac_executable_extensions; do
3189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190     ac_cv_prog_ac_ct_CC="gcc"
3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192     break 2
3193   fi
3194 done
3195   done
3196 IFS=$as_save_IFS
3197
3198 fi
3199 fi
3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3204 else
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 fi
3208
3209   if test "x$ac_ct_CC" = x; then
3210     CC=""
3211   else
3212     case $cross_compiling:$ac_tool_warned in
3213 yes:)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned=yes ;;
3217 esac
3218     CC=$ac_ct_CC
3219   fi
3220 else
3221   CC="$ac_cv_prog_CC"
3222 fi
3223
3224 if test -z "$CC"; then
3225           if test -n "$ac_tool_prefix"; then
3226     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3227 set dummy ${ac_tool_prefix}cc; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_CC+:} false; then :
3231   $as_echo_n "(cached) " >&6
3232 else
3233   if test -n "$CC"; then
3234   ac_cv_prog_CC="$CC" # Let the user override the test.
3235 else
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH
3238 do
3239   IFS=$as_save_IFS
3240   test -z "$as_dir" && as_dir=.
3241     for ac_exec_ext in '' $ac_executable_extensions; do
3242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243     ac_cv_prog_CC="${ac_tool_prefix}cc"
3244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245     break 2
3246   fi
3247 done
3248   done
3249 IFS=$as_save_IFS
3250
3251 fi
3252 fi
3253 CC=$ac_cv_prog_CC
3254 if test -n "$CC"; then
3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256 $as_echo "$CC" >&6; }
3257 else
3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 fi
3261
3262
3263   fi
3264 fi
3265 if test -z "$CC"; then
3266   # Extract the first word of "cc", so it can be a program name with args.
3267 set dummy cc; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_CC+:} false; then :
3271   $as_echo_n "(cached) " >&6
3272 else
3273   if test -n "$CC"; then
3274   ac_cv_prog_CC="$CC" # Let the user override the test.
3275 else
3276   ac_prog_rejected=no
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 for as_dir in $PATH
3279 do
3280   IFS=$as_save_IFS
3281   test -z "$as_dir" && as_dir=.
3282     for ac_exec_ext in '' $ac_executable_extensions; do
3283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3284     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3285        ac_prog_rejected=yes
3286        continue
3287      fi
3288     ac_cv_prog_CC="cc"
3289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290     break 2
3291   fi
3292 done
3293   done
3294 IFS=$as_save_IFS
3295
3296 if test $ac_prog_rejected = yes; then
3297   # We found a bogon in the path, so make sure we never use it.
3298   set dummy $ac_cv_prog_CC
3299   shift
3300   if test $# != 0; then
3301     # We chose a different compiler from the bogus one.
3302     # However, it has the same basename, so the bogon will be chosen
3303     # first if we set CC to just the basename; use the full file name.
3304     shift
3305     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3306   fi
3307 fi
3308 fi
3309 fi
3310 CC=$ac_cv_prog_CC
3311 if test -n "$CC"; then
3312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313 $as_echo "$CC" >&6; }
3314 else
3315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 fi
3318
3319
3320 fi
3321 if test -z "$CC"; then
3322   if test -n "$ac_tool_prefix"; then
3323   for ac_prog in cl.exe
3324   do
3325     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_CC+:} false; then :
3330   $as_echo_n "(cached) " >&6
3331 else
3332   if test -n "$CC"; then
3333   ac_cv_prog_CC="$CC" # Let the user override the test.
3334 else
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 for as_dir in $PATH
3337 do
3338   IFS=$as_save_IFS
3339   test -z "$as_dir" && as_dir=.
3340     for ac_exec_ext in '' $ac_executable_extensions; do
3341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344     break 2
3345   fi
3346 done
3347   done
3348 IFS=$as_save_IFS
3349
3350 fi
3351 fi
3352 CC=$ac_cv_prog_CC
3353 if test -n "$CC"; then
3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3356 else
3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3359 fi
3360
3361
3362     test -n "$CC" && break
3363   done
3364 fi
3365 if test -z "$CC"; then
3366   ac_ct_CC=$CC
3367   for ac_prog in cl.exe
3368 do
3369   # Extract the first word of "$ac_prog", so it can be a program name with args.
3370 set dummy $ac_prog; ac_word=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3374   $as_echo_n "(cached) " >&6
3375 else
3376   if test -n "$ac_ct_CC"; then
3377   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3381 do
3382   IFS=$as_save_IFS
3383   test -z "$as_dir" && as_dir=.
3384     for ac_exec_ext in '' $ac_executable_extensions; do
3385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386     ac_cv_prog_ac_ct_CC="$ac_prog"
3387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388     break 2
3389   fi
3390 done
3391   done
3392 IFS=$as_save_IFS
3393
3394 fi
3395 fi
3396 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3397 if test -n "$ac_ct_CC"; then
3398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3399 $as_echo "$ac_ct_CC" >&6; }
3400 else
3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 fi
3404
3405
3406   test -n "$ac_ct_CC" && break
3407 done
3408
3409   if test "x$ac_ct_CC" = x; then
3410     CC=""
3411   else
3412     case $cross_compiling:$ac_tool_warned in
3413 yes:)
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3416 ac_tool_warned=yes ;;
3417 esac
3418     CC=$ac_ct_CC
3419   fi
3420 fi
3421
3422 fi
3423
3424
3425 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 as_fn_error $? "no acceptable C compiler found in \$PATH
3428 See \`config.log' for more details" "$LINENO" 5; }
3429
3430 # Provide some information about the compiler.
3431 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3432 set X $ac_compile
3433 ac_compiler=$2
3434 for ac_option in --version -v -V -qversion; do
3435   { { ac_try="$ac_compiler $ac_option >&5"
3436 case "(($ac_try" in
3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438   *) ac_try_echo=$ac_try;;
3439 esac
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
3442   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3443   ac_status=$?
3444   if test -s conftest.err; then
3445     sed '10a\
3446 ... rest of stderr output deleted ...
3447          10q' conftest.err >conftest.er1
3448     cat conftest.er1 >&5
3449   fi
3450   rm -f conftest.er1 conftest.err
3451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452   test $ac_status = 0; }
3453 done
3454
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h.  */
3457
3458 int
3459 main ()
3460 {
3461
3462   ;
3463   return 0;
3464 }
3465 _ACEOF
3466 ac_clean_files_save=$ac_clean_files
3467 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3468 # Try to create an executable without -o first, disregard a.out.
3469 # It will help us diagnose broken compilers, and finding out an intuition
3470 # of exeext.
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3472 $as_echo_n "checking whether the C compiler works... " >&6; }
3473 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3474
3475 # The possible output files:
3476 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3477
3478 ac_rmfiles=
3479 for ac_file in $ac_files
3480 do
3481   case $ac_file in
3482     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3484   esac
3485 done
3486 rm -f $ac_rmfiles
3487
3488 if { { ac_try="$ac_link_default"
3489 case "(($ac_try" in
3490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491   *) ac_try_echo=$ac_try;;
3492 esac
3493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495   (eval "$ac_link_default") 2>&5
3496   ac_status=$?
3497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498   test $ac_status = 0; }; then :
3499   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3500 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3501 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3502 # so that the user can short-circuit this test for compilers unknown to
3503 # Autoconf.
3504 for ac_file in $ac_files ''
3505 do
3506   test -f "$ac_file" || continue
3507   case $ac_file in
3508     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3509         ;;
3510     [ab].out )
3511         # We found the default executable, but exeext='' is most
3512         # certainly right.
3513         break;;
3514     *.* )
3515         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3516         then :; else
3517            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3518         fi
3519         # We set ac_cv_exeext here because the later test for it is not
3520         # safe: cross compilers may not add the suffix if given an `-o'
3521         # argument, so we may need to know it at that point already.
3522         # Even if this section looks crufty: it has the advantage of
3523         # actually working.
3524         break;;
3525     * )
3526         break;;
3527   esac
3528 done
3529 test "$ac_cv_exeext" = no && ac_cv_exeext=
3530
3531 else
3532   ac_file=''
3533 fi
3534 if test -z "$ac_file"; then :
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3537 $as_echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.$ac_ext >&5
3539
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 as_fn_error 77 "C compiler cannot create executables
3543 See \`config.log' for more details" "$LINENO" 5; }
3544 else
3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3546 $as_echo "yes" >&6; }
3547 fi
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3549 $as_echo_n "checking for C compiler default output file name... " >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3551 $as_echo "$ac_file" >&6; }
3552 ac_exeext=$ac_cv_exeext
3553
3554 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3555 ac_clean_files=$ac_clean_files_save
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3557 $as_echo_n "checking for suffix of executables... " >&6; }
3558 if { { ac_try="$ac_link"
3559 case "(($ac_try" in
3560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561   *) ac_try_echo=$ac_try;;
3562 esac
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565   (eval "$ac_link") 2>&5
3566   ac_status=$?
3567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568   test $ac_status = 0; }; then :
3569   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3570 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3571 # work properly (i.e., refer to `conftest.exe'), while it won't with
3572 # `rm'.
3573 for ac_file in conftest.exe conftest conftest.*; do
3574   test -f "$ac_file" || continue
3575   case $ac_file in
3576     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3577     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578           break;;
3579     * ) break;;
3580   esac
3581 done
3582 else
3583   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3586 See \`config.log' for more details" "$LINENO" 5; }
3587 fi
3588 rm -f conftest conftest$ac_cv_exeext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3590 $as_echo "$ac_cv_exeext" >&6; }
3591
3592 rm -f conftest.$ac_ext
3593 EXEEXT=$ac_cv_exeext
3594 ac_exeext=$EXEEXT
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h.  */
3597 #include <stdio.h>
3598 int
3599 main ()
3600 {
3601 FILE *f = fopen ("conftest.out", "w");
3602  return ferror (f) || fclose (f) != 0;
3603
3604   ;
3605   return 0;
3606 }
3607 _ACEOF
3608 ac_clean_files="$ac_clean_files conftest.out"
3609 # Check that the compiler produces executables we can run.  If not, either
3610 # the compiler is broken, or we cross compile.
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3612 $as_echo_n "checking whether we are cross compiling... " >&6; }
3613 if test "$cross_compiling" != yes; then
3614   { { ac_try="$ac_link"
3615 case "(($ac_try" in
3616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617   *) ac_try_echo=$ac_try;;
3618 esac
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621   (eval "$ac_link") 2>&5
3622   ac_status=$?
3623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624   test $ac_status = 0; }
3625   if { ac_try='./conftest$ac_cv_exeext'
3626   { { case "(($ac_try" in
3627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628   *) ac_try_echo=$ac_try;;
3629 esac
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632   (eval "$ac_try") 2>&5
3633   ac_status=$?
3634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635   test $ac_status = 0; }; }; then
3636     cross_compiling=no
3637   else
3638     if test "$cross_compiling" = maybe; then
3639         cross_compiling=yes
3640     else
3641         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643 as_fn_error $? "cannot run C compiled programs.
3644 If you meant to cross compile, use \`--host'.
3645 See \`config.log' for more details" "$LINENO" 5; }
3646     fi
3647   fi
3648 fi
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3650 $as_echo "$cross_compiling" >&6; }
3651
3652 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3653 ac_clean_files=$ac_clean_files_save
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3655 $as_echo_n "checking for suffix of object files... " >&6; }
3656 if ${ac_cv_objext+:} false; then :
3657   $as_echo_n "(cached) " >&6
3658 else
3659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h.  */
3661
3662 int
3663 main ()
3664 {
3665
3666   ;
3667   return 0;
3668 }
3669 _ACEOF
3670 rm -f conftest.o conftest.obj
3671 if { { ac_try="$ac_compile"
3672 case "(($ac_try" in
3673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674   *) ac_try_echo=$ac_try;;
3675 esac
3676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677 $as_echo "$ac_try_echo"; } >&5
3678   (eval "$ac_compile") 2>&5
3679   ac_status=$?
3680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681   test $ac_status = 0; }; then :
3682   for ac_file in conftest.o conftest.obj conftest.*; do
3683   test -f "$ac_file" || continue;
3684   case $ac_file in
3685     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3686     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3687        break;;
3688   esac
3689 done
3690 else
3691   $as_echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3693
3694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 as_fn_error $? "cannot compute suffix of object files: cannot compile
3697 See \`config.log' for more details" "$LINENO" 5; }
3698 fi
3699 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3700 fi
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3702 $as_echo "$ac_cv_objext" >&6; }
3703 OBJEXT=$ac_cv_objext
3704 ac_objext=$OBJEXT
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3706 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3707 if ${ac_cv_c_compiler_gnu+:} false; then :
3708   $as_echo_n "(cached) " >&6
3709 else
3710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h.  */
3712
3713 int
3714 main ()
3715 {
3716 #ifndef __GNUC__
3717        choke me
3718 #endif
3719
3720   ;
3721   return 0;
3722 }
3723 _ACEOF
3724 if ac_fn_c_try_compile "$LINENO"; then :
3725   ac_compiler_gnu=yes
3726 else
3727   ac_compiler_gnu=no
3728 fi
3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3730 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3731
3732 fi
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3734 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3735 if test $ac_compiler_gnu = yes; then
3736   GCC=yes
3737 else
3738   GCC=
3739 fi
3740 ac_test_CFLAGS=${CFLAGS+set}
3741 ac_save_CFLAGS=$CFLAGS
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3743 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3744 if ${ac_cv_prog_cc_g+:} false; then :
3745   $as_echo_n "(cached) " >&6
3746 else
3747   ac_save_c_werror_flag=$ac_c_werror_flag
3748    ac_c_werror_flag=yes
3749    ac_cv_prog_cc_g=no
3750    CFLAGS="-g"
3751    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h.  */
3753
3754 int
3755 main ()
3756 {
3757
3758   ;
3759   return 0;
3760 }
3761 _ACEOF
3762 if ac_fn_c_try_compile "$LINENO"; then :
3763   ac_cv_prog_cc_g=yes
3764 else
3765   CFLAGS=""
3766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h.  */
3768
3769 int
3770 main ()
3771 {
3772
3773   ;
3774   return 0;
3775 }
3776 _ACEOF
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778
3779 else
3780   ac_c_werror_flag=$ac_save_c_werror_flag
3781          CFLAGS="-g"
3782          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h.  */
3784
3785 int
3786 main ()
3787 {
3788
3789   ;
3790   return 0;
3791 }
3792 _ACEOF
3793 if ac_fn_c_try_compile "$LINENO"; then :
3794   ac_cv_prog_cc_g=yes
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 fi
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801    ac_c_werror_flag=$ac_save_c_werror_flag
3802 fi
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3804 $as_echo "$ac_cv_prog_cc_g" >&6; }
3805 if test "$ac_test_CFLAGS" = set; then
3806   CFLAGS=$ac_save_CFLAGS
3807 elif test $ac_cv_prog_cc_g = yes; then
3808   if test "$GCC" = yes; then
3809     CFLAGS="-g -O2"
3810   else
3811     CFLAGS="-g"
3812   fi
3813 else
3814   if test "$GCC" = yes; then
3815     CFLAGS="-O2"
3816   else
3817     CFLAGS=
3818   fi
3819 fi
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3821 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3822 if ${ac_cv_prog_cc_c89+:} false; then :
3823   $as_echo_n "(cached) " >&6
3824 else
3825   ac_cv_prog_cc_c89=no
3826 ac_save_CC=$CC
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h.  */
3829 #include <stdarg.h>
3830 #include <stdio.h>
3831 struct stat;
3832 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3833 struct buf { int x; };
3834 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3835 static char *e (p, i)
3836      char **p;
3837      int i;
3838 {
3839   return p[i];
3840 }
3841 static char *f (char * (*g) (char **, int), char **p, ...)
3842 {
3843   char *s;
3844   va_list v;
3845   va_start (v,p);
3846   s = g (p, va_arg (v,int));
3847   va_end (v);
3848   return s;
3849 }
3850
3851 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3852    function prototypes and stuff, but not '\xHH' hex character constants.
3853    These don't provoke an error unfortunately, instead are silently treated
3854    as 'x'.  The following induces an error, until -std is added to get
3855    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3856    array size at least.  It's necessary to write '\x00'==0 to get something
3857    that's true only with -std.  */
3858 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3859
3860 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3861    inside strings and character constants.  */
3862 #define FOO(x) 'x'
3863 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3864
3865 int test (int i, double x);
3866 struct s1 {int (*f) (int a);};
3867 struct s2 {int (*f) (double a);};
3868 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3869 int argc;
3870 char **argv;
3871 int
3872 main ()
3873 {
3874 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3875   ;
3876   return 0;
3877 }
3878 _ACEOF
3879 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3880         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3881 do
3882   CC="$ac_save_CC $ac_arg"
3883   if ac_fn_c_try_compile "$LINENO"; then :
3884   ac_cv_prog_cc_c89=$ac_arg
3885 fi
3886 rm -f core conftest.err conftest.$ac_objext
3887   test "x$ac_cv_prog_cc_c89" != "xno" && break
3888 done
3889 rm -f conftest.$ac_ext
3890 CC=$ac_save_CC
3891
3892 fi
3893 # AC_CACHE_VAL
3894 case "x$ac_cv_prog_cc_c89" in
3895   x)
3896     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3897 $as_echo "none needed" >&6; } ;;
3898   xno)
3899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3900 $as_echo "unsupported" >&6; } ;;
3901   *)
3902     CC="$CC $ac_cv_prog_cc_c89"
3903     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3904 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3905 esac
3906 if test "x$ac_cv_prog_cc_c89" != xno; then :
3907
3908 fi
3909
3910 ac_ext=c
3911 ac_cpp='$CPP $CPPFLAGS'
3912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3915
3916 ac_ext=c
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3922 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3923 if ${am_cv_prog_cc_c_o+:} false; then :
3924   $as_echo_n "(cached) " >&6
3925 else
3926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h.  */
3928
3929 int
3930 main ()
3931 {
3932
3933   ;
3934   return 0;
3935 }
3936 _ACEOF
3937   # Make sure it works both with $CC and with simple cc.
3938   # Following AC_PROG_CC_C_O, we do the test twice because some
3939   # compilers refuse to overwrite an existing .o file with -o,
3940   # though they will create one.
3941   am_cv_prog_cc_c_o=yes
3942   for am_i in 1 2; do
3943     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3944    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3945    ac_status=$?
3946    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947    (exit $ac_status); } \
3948          && test -f conftest2.$ac_objext; then
3949       : OK
3950     else
3951       am_cv_prog_cc_c_o=no
3952       break
3953     fi
3954   done
3955   rm -f core conftest*
3956   unset am_i
3957 fi
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3959 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3960 if test "$am_cv_prog_cc_c_o" != yes; then
3961    # Losing compiler, so override with the script.
3962    # FIXME: It is wrong to rewrite CC.
3963    # But if we don't then we get into trouble of one sort or another.
3964    # A longer-term fix would be to have automake use am__CC in this case,
3965    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3966    CC="$am_aux_dir/compile $CC"
3967 fi
3968 ac_ext=c
3969 ac_cpp='$CPP $CPPFLAGS'
3970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3973
3974
3975 depcc="$CC"   am_compiler_list=
3976
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3978 $as_echo_n "checking dependency style of $depcc... " >&6; }
3979 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3980   $as_echo_n "(cached) " >&6
3981 else
3982   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3983   # We make a subdir and do the tests there.  Otherwise we can end up
3984   # making bogus files that we don't know about and never remove.  For
3985   # instance it was reported that on HP-UX the gcc test will end up
3986   # making a dummy file named 'D' -- because '-MD' means "put the output
3987   # in D".
3988   rm -rf conftest.dir
3989   mkdir conftest.dir
3990   # Copy depcomp to subdir because otherwise we won't find it if we're
3991   # using a relative directory.
3992   cp "$am_depcomp" conftest.dir
3993   cd conftest.dir
3994   # We will build objects and dependencies in a subdirectory because
3995   # it helps to detect inapplicable dependency modes.  For instance
3996   # both Tru64's cc and ICC support -MD to output dependencies as a
3997   # side effect of compilation, but ICC will put the dependencies in
3998   # the current directory while Tru64 will put them in the object
3999   # directory.
4000   mkdir sub
4001
4002   am_cv_CC_dependencies_compiler_type=none
4003   if test "$am_compiler_list" = ""; then
4004      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4005   fi
4006   am__universal=false
4007   case " $depcc " in #(
4008      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4009      esac
4010
4011   for depmode in $am_compiler_list; do
4012     # Setup a source with many dependencies, because some compilers
4013     # like to wrap large dependency lists on column 80 (with \), and
4014     # we should not choose a depcomp mode which is confused by this.
4015     #
4016     # We need to recreate these files for each test, as the compiler may
4017     # overwrite some of them when testing with obscure command lines.
4018     # This happens at least with the AIX C compiler.
4019     : > sub/conftest.c
4020     for i in 1 2 3 4 5 6; do
4021       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4022       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4023       # Solaris 10 /bin/sh.
4024       echo '/* dummy */' > sub/conftst$i.h
4025     done
4026     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4027
4028     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4029     # mode.  It turns out that the SunPro C++ compiler does not properly
4030     # handle '-M -o', and we need to detect this.  Also, some Intel
4031     # versions had trouble with output in subdirs.
4032     am__obj=sub/conftest.${OBJEXT-o}
4033     am__minus_obj="-o $am__obj"
4034     case $depmode in
4035     gcc)
4036       # This depmode causes a compiler race in universal mode.
4037       test "$am__universal" = false || continue
4038       ;;
4039     nosideeffect)
4040       # After this tag, mechanisms are not by side-effect, so they'll
4041       # only be used when explicitly requested.
4042       if test "x$enable_dependency_tracking" = xyes; then
4043         continue
4044       else
4045         break
4046       fi
4047       ;;
4048     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4049       # This compiler won't grok '-c -o', but also, the minuso test has
4050       # not run yet.  These depmodes are late enough in the game, and
4051       # so weak that their functioning should not be impacted.
4052       am__obj=conftest.${OBJEXT-o}
4053       am__minus_obj=
4054       ;;
4055     none) break ;;
4056     esac
4057     if depmode=$depmode \
4058        source=sub/conftest.c object=$am__obj \
4059        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4060        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4061          >/dev/null 2>conftest.err &&
4062        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4063        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4064        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4065        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4066       # icc doesn't choke on unknown options, it will just issue warnings
4067       # or remarks (even with -Werror).  So we grep stderr for any message
4068       # that says an option was ignored or not supported.
4069       # When given -MP, icc 7.0 and 7.1 complain thusly:
4070       #   icc: Command line warning: ignoring option '-M'; no argument required
4071       # The diagnosis changed in icc 8.0:
4072       #   icc: Command line remark: option '-MP' not supported
4073       if (grep 'ignoring option' conftest.err ||
4074           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4075         am_cv_CC_dependencies_compiler_type=$depmode
4076         break
4077       fi
4078     fi
4079   done
4080
4081   cd ..
4082   rm -rf conftest.dir
4083 else
4084   am_cv_CC_dependencies_compiler_type=none
4085 fi
4086
4087 fi
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4089 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4090 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4091
4092  if
4093   test "x$enable_dependency_tracking" != xno \
4094   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4095   am__fastdepCC_TRUE=
4096   am__fastdepCC_FALSE='#'
4097 else
4098   am__fastdepCC_TRUE='#'
4099   am__fastdepCC_FALSE=
4100 fi
4101
4102
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4104 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4105 if ${ac_cv_path_SED+:} false; then :
4106   $as_echo_n "(cached) " >&6
4107 else
4108             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4109      for ac_i in 1 2 3 4 5 6 7; do
4110        ac_script="$ac_script$as_nl$ac_script"
4111      done
4112      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4113      { ac_script=; unset ac_script;}
4114      if test -z "$SED"; then
4115   ac_path_SED_found=false
4116   # Loop through the user's path and test for each of PROGNAME-LIST
4117   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 for as_dir in $PATH
4119 do
4120   IFS=$as_save_IFS
4121   test -z "$as_dir" && as_dir=.
4122     for ac_prog in sed gsed; do
4123     for ac_exec_ext in '' $ac_executable_extensions; do
4124       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4125       as_fn_executable_p "$ac_path_SED" || continue
4126 # Check for GNU ac_path_SED and select it if it is found.
4127   # Check for GNU $ac_path_SED
4128 case `"$ac_path_SED" --version 2>&1` in
4129 *GNU*)
4130   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4131 *)
4132   ac_count=0
4133   $as_echo_n 0123456789 >"conftest.in"
4134   while :
4135   do
4136     cat "conftest.in" "conftest.in" >"conftest.tmp"
4137     mv "conftest.tmp" "conftest.in"
4138     cp "conftest.in" "conftest.nl"
4139     $as_echo '' >> "conftest.nl"
4140     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4141     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4142     as_fn_arith $ac_count + 1 && ac_count=$as_val
4143     if test $ac_count -gt ${ac_path_SED_max-0}; then
4144       # Best one so far, save it but keep looking for a better one
4145       ac_cv_path_SED="$ac_path_SED"
4146       ac_path_SED_max=$ac_count
4147     fi
4148     # 10*(2^10) chars as input seems more than enough
4149     test $ac_count -gt 10 && break
4150   done
4151   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4152 esac
4153
4154       $ac_path_SED_found && break 3
4155     done
4156   done
4157   done
4158 IFS=$as_save_IFS
4159   if test -z "$ac_cv_path_SED"; then
4160     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4161   fi
4162 else
4163   ac_cv_path_SED=$SED
4164 fi
4165
4166 fi
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4168 $as_echo "$ac_cv_path_SED" >&6; }
4169  SED="$ac_cv_path_SED"
4170   rm -f conftest.sed
4171
4172 test -z "$SED" && SED=sed
4173 Xsed="$SED -e 1s/^X//"
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4186 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4187 if ${ac_cv_path_GREP+:} false; then :
4188   $as_echo_n "(cached) " >&6
4189 else
4190   if test -z "$GREP"; then
4191   ac_path_GREP_found=false
4192   # Loop through the user's path and test for each of PROGNAME-LIST
4193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4195 do
4196   IFS=$as_save_IFS
4197   test -z "$as_dir" && as_dir=.
4198     for ac_prog in grep ggrep; do
4199     for ac_exec_ext in '' $ac_executable_extensions; do
4200       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4201       as_fn_executable_p "$ac_path_GREP" || continue
4202 # Check for GNU ac_path_GREP and select it if it is found.
4203   # Check for GNU $ac_path_GREP
4204 case `"$ac_path_GREP" --version 2>&1` in
4205 *GNU*)
4206   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4207 *)
4208   ac_count=0
4209   $as_echo_n 0123456789 >"conftest.in"
4210   while :
4211   do
4212     cat "conftest.in" "conftest.in" >"conftest.tmp"
4213     mv "conftest.tmp" "conftest.in"
4214     cp "conftest.in" "conftest.nl"
4215     $as_echo 'GREP' >> "conftest.nl"
4216     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218     as_fn_arith $ac_count + 1 && ac_count=$as_val
4219     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4220       # Best one so far, save it but keep looking for a better one
4221       ac_cv_path_GREP="$ac_path_GREP"
4222       ac_path_GREP_max=$ac_count
4223     fi
4224     # 10*(2^10) chars as input seems more than enough
4225     test $ac_count -gt 10 && break
4226   done
4227   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228 esac
4229
4230       $ac_path_GREP_found && break 3
4231     done
4232   done
4233   done
4234 IFS=$as_save_IFS
4235   if test -z "$ac_cv_path_GREP"; then
4236     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4237   fi
4238 else
4239   ac_cv_path_GREP=$GREP
4240 fi
4241
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4244 $as_echo "$ac_cv_path_GREP" >&6; }
4245  GREP="$ac_cv_path_GREP"
4246
4247
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4249 $as_echo_n "checking for egrep... " >&6; }
4250 if ${ac_cv_path_EGREP+:} false; then :
4251   $as_echo_n "(cached) " >&6
4252 else
4253   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4254    then ac_cv_path_EGREP="$GREP -E"
4255    else
4256      if test -z "$EGREP"; then
4257   ac_path_EGREP_found=false
4258   # Loop through the user's path and test for each of PROGNAME-LIST
4259   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4261 do
4262   IFS=$as_save_IFS
4263   test -z "$as_dir" && as_dir=.
4264     for ac_prog in egrep; do
4265     for ac_exec_ext in '' $ac_executable_extensions; do
4266       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4267       as_fn_executable_p "$ac_path_EGREP" || continue
4268 # Check for GNU ac_path_EGREP and select it if it is found.
4269   # Check for GNU $ac_path_EGREP
4270 case `"$ac_path_EGREP" --version 2>&1` in
4271 *GNU*)
4272   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4273 *)
4274   ac_count=0
4275   $as_echo_n 0123456789 >"conftest.in"
4276   while :
4277   do
4278     cat "conftest.in" "conftest.in" >"conftest.tmp"
4279     mv "conftest.tmp" "conftest.in"
4280     cp "conftest.in" "conftest.nl"
4281     $as_echo 'EGREP' >> "conftest.nl"
4282     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4283     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4284     as_fn_arith $ac_count + 1 && ac_count=$as_val
4285     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4286       # Best one so far, save it but keep looking for a better one
4287       ac_cv_path_EGREP="$ac_path_EGREP"
4288       ac_path_EGREP_max=$ac_count
4289     fi
4290     # 10*(2^10) chars as input seems more than enough
4291     test $ac_count -gt 10 && break
4292   done
4293   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4294 esac
4295
4296       $ac_path_EGREP_found && break 3
4297     done
4298   done
4299   done
4300 IFS=$as_save_IFS
4301   if test -z "$ac_cv_path_EGREP"; then
4302     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4303   fi
4304 else
4305   ac_cv_path_EGREP=$EGREP
4306 fi
4307
4308    fi
4309 fi
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4311 $as_echo "$ac_cv_path_EGREP" >&6; }
4312  EGREP="$ac_cv_path_EGREP"
4313
4314
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4316 $as_echo_n "checking for fgrep... " >&6; }
4317 if ${ac_cv_path_FGREP+:} false; then :
4318   $as_echo_n "(cached) " >&6
4319 else
4320   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4321    then ac_cv_path_FGREP="$GREP -F"
4322    else
4323      if test -z "$FGREP"; then
4324   ac_path_FGREP_found=false
4325   # Loop through the user's path and test for each of PROGNAME-LIST
4326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4328 do
4329   IFS=$as_save_IFS
4330   test -z "$as_dir" && as_dir=.
4331     for ac_prog in fgrep; do
4332     for ac_exec_ext in '' $ac_executable_extensions; do
4333       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4334       as_fn_executable_p "$ac_path_FGREP" || continue
4335 # Check for GNU ac_path_FGREP and select it if it is found.
4336   # Check for GNU $ac_path_FGREP
4337 case `"$ac_path_FGREP" --version 2>&1` in
4338 *GNU*)
4339   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4340 *)
4341   ac_count=0
4342   $as_echo_n 0123456789 >"conftest.in"
4343   while :
4344   do
4345     cat "conftest.in" "conftest.in" >"conftest.tmp"
4346     mv "conftest.tmp" "conftest.in"
4347     cp "conftest.in" "conftest.nl"
4348     $as_echo 'FGREP' >> "conftest.nl"
4349     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4350     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4351     as_fn_arith $ac_count + 1 && ac_count=$as_val
4352     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4353       # Best one so far, save it but keep looking for a better one
4354       ac_cv_path_FGREP="$ac_path_FGREP"
4355       ac_path_FGREP_max=$ac_count
4356     fi
4357     # 10*(2^10) chars as input seems more than enough
4358     test $ac_count -gt 10 && break
4359   done
4360   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4361 esac
4362
4363       $ac_path_FGREP_found && break 3
4364     done
4365   done
4366   done
4367 IFS=$as_save_IFS
4368   if test -z "$ac_cv_path_FGREP"; then
4369     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4370   fi
4371 else
4372   ac_cv_path_FGREP=$FGREP
4373 fi
4374
4375    fi
4376 fi
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4378 $as_echo "$ac_cv_path_FGREP" >&6; }
4379  FGREP="$ac_cv_path_FGREP"
4380
4381
4382 test -z "$GREP" && GREP=grep
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402 # Check whether --with-gnu-ld was given.
4403 if test "${with_gnu_ld+set}" = set; then :
4404   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4405 else
4406   with_gnu_ld=no
4407 fi
4408
4409 ac_prog=ld
4410 if test "$GCC" = yes; then
4411   # Check if gcc -print-prog-name=ld gives a path.
4412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4413 $as_echo_n "checking for ld used by $CC... " >&6; }
4414   case $host in
4415   *-*-mingw*)
4416     # gcc leaves a trailing carriage return which upsets mingw
4417     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4418   *)
4419     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4420   esac
4421   case $ac_prog in
4422     # Accept absolute paths.
4423     [\\/]* | ?:[\\/]*)
4424       re_direlt='/[^/][^/]*/\.\./'
4425       # Canonicalize the pathname of ld
4426       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4427       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4428         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4429       done
4430       test -z "$LD" && LD="$ac_prog"
4431       ;;
4432   "")
4433     # If it fails, then pretend we aren't using GCC.
4434     ac_prog=ld
4435     ;;
4436   *)
4437     # If it is relative, then search for the first ld in PATH.
4438     with_gnu_ld=unknown
4439     ;;
4440   esac
4441 elif test "$with_gnu_ld" = yes; then
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4443 $as_echo_n "checking for GNU ld... " >&6; }
4444 else
4445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4446 $as_echo_n "checking for non-GNU ld... " >&6; }
4447 fi
4448 if ${lt_cv_path_LD+:} false; then :
4449   $as_echo_n "(cached) " >&6
4450 else
4451   if test -z "$LD"; then
4452   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4453   for ac_dir in $PATH; do
4454     IFS="$lt_save_ifs"
4455     test -z "$ac_dir" && ac_dir=.
4456     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4457       lt_cv_path_LD="$ac_dir/$ac_prog"
4458       # Check to see if the program is GNU ld.  I'd rather use --version,
4459       # but apparently some variants of GNU ld only accept -v.
4460       # Break only if it was the GNU/non-GNU ld that we prefer.
4461       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4462       *GNU* | *'with BFD'*)
4463         test "$with_gnu_ld" != no && break
4464         ;;
4465       *)
4466         test "$with_gnu_ld" != yes && break
4467         ;;
4468       esac
4469     fi
4470   done
4471   IFS="$lt_save_ifs"
4472 else
4473   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4474 fi
4475 fi
4476
4477 LD="$lt_cv_path_LD"
4478 if test -n "$LD"; then
4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4480 $as_echo "$LD" >&6; }
4481 else
4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4484 fi
4485 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4487 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4488 if ${lt_cv_prog_gnu_ld+:} false; then :
4489   $as_echo_n "(cached) " >&6
4490 else
4491   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4492 case `$LD -v 2>&1 </dev/null` in
4493 *GNU* | *'with BFD'*)
4494   lt_cv_prog_gnu_ld=yes
4495   ;;
4496 *)
4497   lt_cv_prog_gnu_ld=no
4498   ;;
4499 esac
4500 fi
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4502 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4503 with_gnu_ld=$lt_cv_prog_gnu_ld
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4514 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4515 if ${lt_cv_path_NM+:} false; then :
4516   $as_echo_n "(cached) " >&6
4517 else
4518   if test -n "$NM"; then
4519   # Let the user override the test.
4520   lt_cv_path_NM="$NM"
4521 else
4522   lt_nm_to_check="${ac_tool_prefix}nm"
4523   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4524     lt_nm_to_check="$lt_nm_to_check nm"
4525   fi
4526   for lt_tmp_nm in $lt_nm_to_check; do
4527     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4528     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4529       IFS="$lt_save_ifs"
4530       test -z "$ac_dir" && ac_dir=.
4531       tmp_nm="$ac_dir/$lt_tmp_nm"
4532       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4533         # Check to see if the nm accepts a BSD-compat flag.
4534         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4535         #   nm: unknown option "B" ignored
4536         # Tru64's nm complains that /dev/null is an invalid object file
4537         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4538         */dev/null* | *'Invalid file or object type'*)
4539           lt_cv_path_NM="$tmp_nm -B"
4540           break
4541           ;;
4542         *)
4543           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4544           */dev/null*)
4545             lt_cv_path_NM="$tmp_nm -p"
4546             break
4547             ;;
4548           *)
4549             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4550             continue # so that we can try to find one that supports BSD flags
4551             ;;
4552           esac
4553           ;;
4554         esac
4555       fi
4556     done
4557     IFS="$lt_save_ifs"
4558   done
4559   : ${lt_cv_path_NM=no}
4560 fi
4561 fi
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4563 $as_echo "$lt_cv_path_NM" >&6; }
4564 if test "$lt_cv_path_NM" != "no"; then
4565   NM="$lt_cv_path_NM"
4566 else
4567   # Didn't find any BSD compatible name lister, look for dumpbin.
4568   if test -n "$DUMPBIN"; then :
4569     # Let the user override the test.
4570   else
4571     if test -n "$ac_tool_prefix"; then
4572   for ac_prog in dumpbin "link -dump"
4573   do
4574     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_DUMPBIN+:} false; then :
4579   $as_echo_n "(cached) " >&6
4580 else
4581   if test -n "$DUMPBIN"; then
4582   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4583 else
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH
4586 do
4587   IFS=$as_save_IFS
4588   test -z "$as_dir" && as_dir=.
4589     for ac_exec_ext in '' $ac_executable_extensions; do
4590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4591     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593     break 2
4594   fi
4595 done
4596   done
4597 IFS=$as_save_IFS
4598
4599 fi
4600 fi
4601 DUMPBIN=$ac_cv_prog_DUMPBIN
4602 if test -n "$DUMPBIN"; then
4603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4604 $as_echo "$DUMPBIN" >&6; }
4605 else
4606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4608 fi
4609
4610
4611     test -n "$DUMPBIN" && break
4612   done
4613 fi
4614 if test -z "$DUMPBIN"; then
4615   ac_ct_DUMPBIN=$DUMPBIN
4616   for ac_prog in dumpbin "link -dump"
4617 do
4618   # Extract the first word of "$ac_prog", so it can be a program name with args.
4619 set dummy $ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4623   $as_echo_n "(cached) " >&6
4624 else
4625   if test -n "$ac_ct_DUMPBIN"; then
4626   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4630 do
4631   IFS=$as_save_IFS
4632   test -z "$as_dir" && as_dir=.
4633     for ac_exec_ext in '' $ac_executable_extensions; do
4634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637     break 2
4638   fi
4639 done
4640   done
4641 IFS=$as_save_IFS
4642
4643 fi
4644 fi
4645 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4646 if test -n "$ac_ct_DUMPBIN"; then
4647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4648 $as_echo "$ac_ct_DUMPBIN" >&6; }
4649 else
4650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4652 fi
4653
4654
4655   test -n "$ac_ct_DUMPBIN" && break
4656 done
4657
4658   if test "x$ac_ct_DUMPBIN" = x; then
4659     DUMPBIN=":"
4660   else
4661     case $cross_compiling:$ac_tool_warned in
4662 yes:)
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4665 ac_tool_warned=yes ;;
4666 esac
4667     DUMPBIN=$ac_ct_DUMPBIN
4668   fi
4669 fi
4670
4671     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4672     *COFF*)
4673       DUMPBIN="$DUMPBIN -symbols"
4674       ;;
4675     *)
4676       DUMPBIN=:
4677       ;;
4678     esac
4679   fi
4680
4681   if test "$DUMPBIN" != ":"; then
4682     NM="$DUMPBIN"
4683   fi
4684 fi
4685 test -z "$NM" && NM=nm
4686
4687
4688
4689
4690
4691
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4693 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4694 if ${lt_cv_nm_interface+:} false; then :
4695   $as_echo_n "(cached) " >&6
4696 else
4697   lt_cv_nm_interface="BSD nm"
4698   echo "int some_variable = 0;" > conftest.$ac_ext
4699   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4700   (eval "$ac_compile" 2>conftest.err)
4701   cat conftest.err >&5
4702   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4703   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4704   cat conftest.err >&5
4705   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4706   cat conftest.out >&5
4707   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4708     lt_cv_nm_interface="MS dumpbin"
4709   fi
4710   rm -f conftest*
4711 fi
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4713 $as_echo "$lt_cv_nm_interface" >&6; }
4714
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4716 $as_echo_n "checking whether ln -s works... " >&6; }
4717 LN_S=$as_ln_s
4718 if test "$LN_S" = "ln -s"; then
4719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4720 $as_echo "yes" >&6; }
4721 else
4722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4723 $as_echo "no, using $LN_S" >&6; }
4724 fi
4725
4726 # find the maximum length of command line arguments
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4728 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4729 if ${lt_cv_sys_max_cmd_len+:} false; then :
4730   $as_echo_n "(cached) " >&6
4731 else
4732     i=0
4733   teststring="ABCD"
4734
4735   case $build_os in
4736   msdosdjgpp*)
4737     # On DJGPP, this test can blow up pretty badly due to problems in libc
4738     # (any single argument exceeding 2000 bytes causes a buffer overrun
4739     # during glob expansion).  Even if it were fixed, the result of this
4740     # check would be larger than it should be.
4741     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4742     ;;
4743
4744   gnu*)
4745     # Under GNU Hurd, this test is not required because there is
4746     # no limit to the length of command line arguments.
4747     # Libtool will interpret -1 as no limit whatsoever
4748     lt_cv_sys_max_cmd_len=-1;
4749     ;;
4750
4751   cygwin* | mingw* | cegcc*)
4752     # On Win9x/ME, this test blows up -- it succeeds, but takes
4753     # about 5 minutes as the teststring grows exponentially.
4754     # Worse, since 9x/ME are not pre-emptively multitasking,
4755     # you end up with a "frozen" computer, even though with patience
4756     # the test eventually succeeds (with a max line length of 256k).
4757     # Instead, let's just punt: use the minimum linelength reported by
4758     # all of the supported platforms: 8192 (on NT/2K/XP).
4759     lt_cv_sys_max_cmd_len=8192;
4760     ;;
4761
4762   mint*)
4763     # On MiNT this can take a long time and run out of memory.
4764     lt_cv_sys_max_cmd_len=8192;
4765     ;;
4766
4767   amigaos*)
4768     # On AmigaOS with pdksh, this test takes hours, literally.
4769     # So we just punt and use a minimum line length of 8192.
4770     lt_cv_sys_max_cmd_len=8192;
4771     ;;
4772
4773   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4774     # This has been around since 386BSD, at least.  Likely further.
4775     if test -x /sbin/sysctl; then
4776       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4777     elif test -x /usr/sbin/sysctl; then
4778       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4779     else
4780       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4781     fi
4782     # And add a safety zone
4783     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4784     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4785     ;;
4786
4787   interix*)
4788     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4789     lt_cv_sys_max_cmd_len=196608
4790     ;;
4791
4792   os2*)
4793     # The test takes a long time on OS/2.
4794     lt_cv_sys_max_cmd_len=8192
4795     ;;
4796
4797   osf*)
4798     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4799     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4800     # nice to cause kernel panics so lets avoid the loop below.
4801     # First set a reasonable default.
4802     lt_cv_sys_max_cmd_len=16384
4803     #
4804     if test -x /sbin/sysconfig; then
4805       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4806         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4807       esac
4808     fi
4809     ;;
4810   sco3.2v5*)
4811     lt_cv_sys_max_cmd_len=102400
4812     ;;
4813   sysv5* | sco5v6* | sysv4.2uw2*)
4814     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4815     if test -n "$kargmax"; then
4816       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4817     else
4818       lt_cv_sys_max_cmd_len=32768
4819     fi
4820     ;;
4821   *)
4822     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4823     if test -n "$lt_cv_sys_max_cmd_len" && \
4824         test undefined != "$lt_cv_sys_max_cmd_len"; then
4825       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4826       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4827     else
4828       # Make teststring a little bigger before we do anything with it.
4829       # a 1K string should be a reasonable start.
4830       for i in 1 2 3 4 5 6 7 8 ; do
4831         teststring=$teststring$teststring
4832       done
4833       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4834       # If test is not a shell built-in, we'll probably end up computing a
4835       # maximum length that is only half of the actual maximum length, but
4836       # we can't tell.
4837       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4838                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4839               test $i != 17 # 1/2 MB should be enough
4840       do
4841         i=`expr $i + 1`
4842         teststring=$teststring$teststring
4843       done
4844       # Only check the string length outside the loop.
4845       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4846       teststring=
4847       # Add a significant safety factor because C++ compilers can tack on
4848       # massive amounts of additional arguments before passing them to the
4849       # linker.  It appears as though 1/2 is a usable value.
4850       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4851     fi
4852     ;;
4853   esac
4854
4855 fi
4856
4857 if test -n $lt_cv_sys_max_cmd_len ; then
4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4859 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4860 else
4861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4862 $as_echo "none" >&6; }
4863 fi
4864 max_cmd_len=$lt_cv_sys_max_cmd_len
4865
4866
4867
4868
4869
4870
4871 : ${CP="cp -f"}
4872 : ${MV="mv -f"}
4873 : ${RM="rm -f"}
4874
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4876 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4877 # Try some XSI features
4878 xsi_shell=no
4879 ( _lt_dummy="a/b/c"
4880   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4881       = c,a/b,b/c, \
4882     && eval 'test $(( 1 + 1 )) -eq 2 \
4883     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4884   && xsi_shell=yes
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4886 $as_echo "$xsi_shell" >&6; }
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4890 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4891 lt_shell_append=no
4892 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4893     >/dev/null 2>&1 \
4894   && lt_shell_append=yes
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4896 $as_echo "$lt_shell_append" >&6; }
4897
4898
4899 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4900   lt_unset=unset
4901 else
4902   lt_unset=false
4903 fi
4904
4905
4906
4907
4908
4909 # test EBCDIC or ASCII
4910 case `echo X|tr X '\101'` in
4911  A) # ASCII based system
4912     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4913   lt_SP2NL='tr \040 \012'
4914   lt_NL2SP='tr \015\012 \040\040'
4915   ;;
4916  *) # EBCDIC based system
4917   lt_SP2NL='tr \100 \n'
4918   lt_NL2SP='tr \r\n \100\100'
4919   ;;
4920 esac
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4931 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4932 if ${lt_cv_to_host_file_cmd+:} false; then :
4933   $as_echo_n "(cached) " >&6
4934 else
4935   case $host in
4936   *-*-mingw* )
4937     case $build in
4938       *-*-mingw* ) # actually msys
4939         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4940         ;;
4941       *-*-cygwin* )
4942         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4943         ;;
4944       * ) # otherwise, assume *nix
4945         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4946         ;;
4947     esac
4948     ;;
4949   *-*-cygwin* )
4950     case $build in
4951       *-*-mingw* ) # actually msys
4952         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4953         ;;
4954       *-*-cygwin* )
4955         lt_cv_to_host_file_cmd=func_convert_file_noop
4956         ;;
4957       * ) # otherwise, assume *nix
4958         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4959         ;;
4960     esac
4961     ;;
4962   * ) # unhandled hosts (and "normal" native builds)
4963     lt_cv_to_host_file_cmd=func_convert_file_noop
4964     ;;
4965 esac
4966
4967 fi
4968
4969 to_host_file_cmd=$lt_cv_to_host_file_cmd
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4971 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4972
4973
4974
4975
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4978 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4979 if ${lt_cv_to_tool_file_cmd+:} false; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   #assume ordinary cross tools, or native build.
4983 lt_cv_to_tool_file_cmd=func_convert_file_noop
4984 case $host in
4985   *-*-mingw* )
4986     case $build in
4987       *-*-mingw* ) # actually msys
4988         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4989         ;;
4990     esac
4991     ;;
4992 esac
4993
4994 fi
4995
4996 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4998 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4999
5000
5001
5002
5003
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5005 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5006 if ${lt_cv_ld_reload_flag+:} false; then :
5007   $as_echo_n "(cached) " >&6
5008 else
5009   lt_cv_ld_reload_flag='-r'
5010 fi
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5012 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5013 reload_flag=$lt_cv_ld_reload_flag
5014 case $reload_flag in
5015 "" | " "*) ;;
5016 *) reload_flag=" $reload_flag" ;;
5017 esac
5018 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5019 case $host_os in
5020   cygwin* | mingw* | pw32* | cegcc*)
5021     if test "$GCC" != yes; then
5022       reload_cmds=false
5023     fi
5024     ;;
5025   darwin*)
5026     if test "$GCC" = yes; then
5027       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5028     else
5029       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5030     fi
5031     ;;
5032 esac
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042 if test -n "$ac_tool_prefix"; then
5043   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5044 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_OBJDUMP+:} false; then :
5048   $as_echo_n "(cached) " >&6
5049 else
5050   if test -n "$OBJDUMP"; then
5051   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5052 else
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH
5055 do
5056   IFS=$as_save_IFS
5057   test -z "$as_dir" && as_dir=.
5058     for ac_exec_ext in '' $ac_executable_extensions; do
5059   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062     break 2
5063   fi
5064 done
5065   done
5066 IFS=$as_save_IFS
5067
5068 fi
5069 fi
5070 OBJDUMP=$ac_cv_prog_OBJDUMP
5071 if test -n "$OBJDUMP"; then
5072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5073 $as_echo "$OBJDUMP" >&6; }
5074 else
5075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5077 fi
5078
5079
5080 fi
5081 if test -z "$ac_cv_prog_OBJDUMP"; then
5082   ac_ct_OBJDUMP=$OBJDUMP
5083   # Extract the first word of "objdump", so it can be a program name with args.
5084 set dummy objdump; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5088   $as_echo_n "(cached) " >&6
5089 else
5090   if test -n "$ac_ct_OBJDUMP"; then
5091   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5095 do
5096   IFS=$as_save_IFS
5097   test -z "$as_dir" && as_dir=.
5098     for ac_exec_ext in '' $ac_executable_extensions; do
5099   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102     break 2
5103   fi
5104 done
5105   done
5106 IFS=$as_save_IFS
5107
5108 fi
5109 fi
5110 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5111 if test -n "$ac_ct_OBJDUMP"; then
5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5113 $as_echo "$ac_ct_OBJDUMP" >&6; }
5114 else
5115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5117 fi
5118
5119   if test "x$ac_ct_OBJDUMP" = x; then
5120     OBJDUMP="false"
5121   else
5122     case $cross_compiling:$ac_tool_warned in
5123 yes:)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned=yes ;;
5127 esac
5128     OBJDUMP=$ac_ct_OBJDUMP
5129   fi
5130 else
5131   OBJDUMP="$ac_cv_prog_OBJDUMP"
5132 fi
5133
5134 test -z "$OBJDUMP" && OBJDUMP=objdump
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5145 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5146 if ${lt_cv_deplibs_check_method+:} false; then :
5147   $as_echo_n "(cached) " >&6
5148 else
5149   lt_cv_file_magic_cmd='$MAGIC_CMD'
5150 lt_cv_file_magic_test_file=
5151 lt_cv_deplibs_check_method='unknown'
5152 # Need to set the preceding variable on all platforms that support
5153 # interlibrary dependencies.
5154 # 'none' -- dependencies not supported.
5155 # `unknown' -- same as none, but documents that we really don't know.
5156 # 'pass_all' -- all dependencies passed with no checks.
5157 # 'test_compile' -- check by making test program.
5158 # 'file_magic [[regex]]' -- check by looking for files in library path
5159 # which responds to the $file_magic_cmd with a given extended regex.
5160 # If you have `file' or equivalent on your system and you're not sure
5161 # whether `pass_all' will *always* work, you probably want this one.
5162
5163 case $host_os in
5164 aix[4-9]*)
5165   lt_cv_deplibs_check_method=pass_all
5166   ;;
5167
5168 beos*)
5169   lt_cv_deplibs_check_method=pass_all
5170   ;;
5171
5172 bsdi[45]*)
5173   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5174   lt_cv_file_magic_cmd='/usr/bin/file -L'
5175   lt_cv_file_magic_test_file=/shlib/libc.so
5176   ;;
5177
5178 cygwin*)
5179   # func_win32_libid is a shell function defined in ltmain.sh
5180   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5181   lt_cv_file_magic_cmd='func_win32_libid'
5182   ;;
5183
5184 mingw* | pw32*)
5185   # Base MSYS/MinGW do not provide the 'file' command needed by
5186   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5187   # unless we find 'file', for example because we are cross-compiling.
5188   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5189   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5190     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5191     lt_cv_file_magic_cmd='func_win32_libid'
5192   else
5193     # Keep this pattern in sync with the one in func_win32_libid.
5194     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5195     lt_cv_file_magic_cmd='$OBJDUMP -f'
5196   fi
5197   ;;
5198
5199 cegcc*)
5200   # use the weaker test based on 'objdump'. See mingw*.
5201   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5202   lt_cv_file_magic_cmd='$OBJDUMP -f'
5203   ;;
5204
5205 darwin* | rhapsody*)
5206   lt_cv_deplibs_check_method=pass_all
5207   ;;
5208
5209 freebsd* | dragonfly*)
5210   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5211     case $host_cpu in
5212     i*86 )
5213       # Not sure whether the presence of OpenBSD here was a mistake.
5214       # Let's accept both of them until this is cleared up.
5215       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5216       lt_cv_file_magic_cmd=/usr/bin/file
5217       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5218       ;;
5219     esac
5220   else
5221     lt_cv_deplibs_check_method=pass_all
5222   fi
5223   ;;
5224
5225 haiku*)
5226   lt_cv_deplibs_check_method=pass_all
5227   ;;
5228
5229 hpux10.20* | hpux11*)
5230   lt_cv_file_magic_cmd=/usr/bin/file
5231   case $host_cpu in
5232   ia64*)
5233     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5234     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5235     ;;
5236   hppa*64*)
5237     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5238     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5239     ;;
5240   *)
5241     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5242     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5243     ;;
5244   esac
5245   ;;
5246
5247 interix[3-9]*)
5248   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5249   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5250   ;;
5251
5252 irix5* | irix6* | nonstopux*)
5253   case $LD in
5254   *-32|*"-32 ") libmagic=32-bit;;
5255   *-n32|*"-n32 ") libmagic=N32;;
5256   *-64|*"-64 ") libmagic=64-bit;;
5257   *) libmagic=never-match;;
5258   esac
5259   lt_cv_deplibs_check_method=pass_all
5260   ;;
5261
5262 # This must be glibc/ELF.
5263 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5264   lt_cv_deplibs_check_method=pass_all
5265   ;;
5266
5267 netbsd* | netbsdelf*-gnu)
5268   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5269     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5270   else
5271     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5272   fi
5273   ;;
5274
5275 newos6*)
5276   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5277   lt_cv_file_magic_cmd=/usr/bin/file
5278   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5279   ;;
5280
5281 *nto* | *qnx*)
5282   lt_cv_deplibs_check_method=pass_all
5283   ;;
5284
5285 openbsd*)
5286   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5287     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5288   else
5289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5290   fi
5291   ;;
5292
5293 osf3* | osf4* | osf5*)
5294   lt_cv_deplibs_check_method=pass_all
5295   ;;
5296
5297 rdos*)
5298   lt_cv_deplibs_check_method=pass_all
5299   ;;
5300
5301 solaris*)
5302   lt_cv_deplibs_check_method=pass_all
5303   ;;
5304
5305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5306   lt_cv_deplibs_check_method=pass_all
5307   ;;
5308
5309 sysv4 | sysv4.3*)
5310   case $host_vendor in
5311   motorola)
5312     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5313     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5314     ;;
5315   ncr)
5316     lt_cv_deplibs_check_method=pass_all
5317     ;;
5318   sequent)
5319     lt_cv_file_magic_cmd='/bin/file'
5320     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5321     ;;
5322   sni)
5323     lt_cv_file_magic_cmd='/bin/file'
5324     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5325     lt_cv_file_magic_test_file=/lib/libc.so
5326     ;;
5327   siemens)
5328     lt_cv_deplibs_check_method=pass_all
5329     ;;
5330   pc)
5331     lt_cv_deplibs_check_method=pass_all
5332     ;;
5333   esac
5334   ;;
5335
5336 tpf*)
5337   lt_cv_deplibs_check_method=pass_all
5338   ;;
5339 esac
5340
5341 fi
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5343 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5344
5345 file_magic_glob=
5346 want_nocaseglob=no
5347 if test "$build" = "$host"; then
5348   case $host_os in
5349   mingw* | pw32*)
5350     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5351       want_nocaseglob=yes
5352     else
5353       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5354     fi
5355     ;;
5356   esac
5357 fi
5358
5359 file_magic_cmd=$lt_cv_file_magic_cmd
5360 deplibs_check_method=$lt_cv_deplibs_check_method
5361 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384 if test -n "$ac_tool_prefix"; then
5385   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5386 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_prog_DLLTOOL+:} false; then :
5390   $as_echo_n "(cached) " >&6
5391 else
5392   if test -n "$DLLTOOL"; then
5393   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5394 else
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH
5397 do
5398   IFS=$as_save_IFS
5399   test -z "$as_dir" && as_dir=.
5400     for ac_exec_ext in '' $ac_executable_extensions; do
5401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404     break 2
5405   fi
5406 done
5407   done
5408 IFS=$as_save_IFS
5409
5410 fi
5411 fi
5412 DLLTOOL=$ac_cv_prog_DLLTOOL
5413 if test -n "$DLLTOOL"; then
5414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5415 $as_echo "$DLLTOOL" >&6; }
5416 else
5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5419 fi
5420
5421
5422 fi
5423 if test -z "$ac_cv_prog_DLLTOOL"; then
5424   ac_ct_DLLTOOL=$DLLTOOL
5425   # Extract the first word of "dlltool", so it can be a program name with args.
5426 set dummy dlltool; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5430   $as_echo_n "(cached) " >&6
5431 else
5432   if test -n "$ac_ct_DLLTOOL"; then
5433   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5437 do
5438   IFS=$as_save_IFS
5439   test -z "$as_dir" && as_dir=.
5440     for ac_exec_ext in '' $ac_executable_extensions; do
5441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444     break 2
5445   fi
5446 done
5447   done
5448 IFS=$as_save_IFS
5449
5450 fi
5451 fi
5452 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5453 if test -n "$ac_ct_DLLTOOL"; then
5454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5455 $as_echo "$ac_ct_DLLTOOL" >&6; }
5456 else
5457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5459 fi
5460
5461   if test "x$ac_ct_DLLTOOL" = x; then
5462     DLLTOOL="false"
5463   else
5464     case $cross_compiling:$ac_tool_warned in
5465 yes:)
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned=yes ;;
5469 esac
5470     DLLTOOL=$ac_ct_DLLTOOL
5471   fi
5472 else
5473   DLLTOOL="$ac_cv_prog_DLLTOOL"
5474 fi
5475
5476 test -z "$DLLTOOL" && DLLTOOL=dlltool
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5488 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5489 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5490   $as_echo_n "(cached) " >&6
5491 else
5492   lt_cv_sharedlib_from_linklib_cmd='unknown'
5493
5494 case $host_os in
5495 cygwin* | mingw* | pw32* | cegcc*)
5496   # two different shell functions defined in ltmain.sh
5497   # decide which to use based on capabilities of $DLLTOOL
5498   case `$DLLTOOL --help 2>&1` in
5499   *--identify-strict*)
5500     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5501     ;;
5502   *)
5503     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5504     ;;
5505   esac
5506   ;;
5507 *)
5508   # fallback: assume linklib IS sharedlib
5509   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5510   ;;
5511 esac
5512
5513 fi
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5515 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5516 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5517 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5518
5519
5520
5521
5522
5523
5524
5525
5526 if test -n "$ac_tool_prefix"; then
5527   for ac_prog in ar
5528   do
5529     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_AR+:} false; then :
5534   $as_echo_n "(cached) " >&6
5535 else
5536   if test -n "$AR"; then
5537   ac_cv_prog_AR="$AR" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5541 do
5542   IFS=$as_save_IFS
5543   test -z "$as_dir" && as_dir=.
5544     for ac_exec_ext in '' $ac_executable_extensions; do
5545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5546     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548     break 2
5549   fi
5550 done
5551   done
5552 IFS=$as_save_IFS
5553
5554 fi
5555 fi
5556 AR=$ac_cv_prog_AR
5557 if test -n "$AR"; then
5558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5559 $as_echo "$AR" >&6; }
5560 else
5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5563 fi
5564
5565
5566     test -n "$AR" && break
5567   done
5568 fi
5569 if test -z "$AR"; then
5570   ac_ct_AR=$AR
5571   for ac_prog in ar
5572 do
5573   # Extract the first word of "$ac_prog", so it can be a program name with args.
5574 set dummy $ac_prog; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5578   $as_echo_n "(cached) " >&6
5579 else
5580   if test -n "$ac_ct_AR"; then
5581   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5582 else
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5585 do
5586   IFS=$as_save_IFS
5587   test -z "$as_dir" && as_dir=.
5588     for ac_exec_ext in '' $ac_executable_extensions; do
5589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590     ac_cv_prog_ac_ct_AR="$ac_prog"
5591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592     break 2
5593   fi
5594 done
5595   done
5596 IFS=$as_save_IFS
5597
5598 fi
5599 fi
5600 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5601 if test -n "$ac_ct_AR"; then
5602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5603 $as_echo "$ac_ct_AR" >&6; }
5604 else
5605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5607 fi
5608
5609
5610   test -n "$ac_ct_AR" && break
5611 done
5612
5613   if test "x$ac_ct_AR" = x; then
5614     AR="false"
5615   else
5616     case $cross_compiling:$ac_tool_warned in
5617 yes:)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5620 ac_tool_warned=yes ;;
5621 esac
5622     AR=$ac_ct_AR
5623   fi
5624 fi
5625
5626 : ${AR=ar}
5627 : ${AR_FLAGS=cru}
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5640 $as_echo_n "checking for archiver @FILE support... " >&6; }
5641 if ${lt_cv_ar_at_file+:} false; then :
5642   $as_echo_n "(cached) " >&6
5643 else
5644   lt_cv_ar_at_file=no
5645    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h.  */
5647
5648 int
5649 main ()
5650 {
5651
5652   ;
5653   return 0;
5654 }
5655 _ACEOF
5656 if ac_fn_c_try_compile "$LINENO"; then :
5657   echo conftest.$ac_objext > conftest.lst
5658       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5659       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5660   (eval $lt_ar_try) 2>&5
5661   ac_status=$?
5662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5663   test $ac_status = 0; }
5664       if test "$ac_status" -eq 0; then
5665         # Ensure the archiver fails upon bogus file names.
5666         rm -f conftest.$ac_objext libconftest.a
5667         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5668   (eval $lt_ar_try) 2>&5
5669   ac_status=$?
5670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5671   test $ac_status = 0; }
5672         if test "$ac_status" -ne 0; then
5673           lt_cv_ar_at_file=@
5674         fi
5675       fi
5676       rm -f conftest.* libconftest.a
5677
5678 fi
5679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680
5681 fi
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5683 $as_echo "$lt_cv_ar_at_file" >&6; }
5684
5685 if test "x$lt_cv_ar_at_file" = xno; then
5686   archiver_list_spec=
5687 else
5688   archiver_list_spec=$lt_cv_ar_at_file
5689 fi
5690
5691
5692
5693
5694
5695
5696
5697 if test -n "$ac_tool_prefix"; then
5698   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5699 set dummy ${ac_tool_prefix}strip; ac_word=$2
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 $as_echo_n "checking for $ac_word... " >&6; }
5702 if ${ac_cv_prog_STRIP+:} false; then :
5703   $as_echo_n "(cached) " >&6
5704 else
5705   if test -n "$STRIP"; then
5706   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5707 else
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH
5710 do
5711   IFS=$as_save_IFS
5712   test -z "$as_dir" && as_dir=.
5713     for ac_exec_ext in '' $ac_executable_extensions; do
5714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717     break 2
5718   fi
5719 done
5720   done
5721 IFS=$as_save_IFS
5722
5723 fi
5724 fi
5725 STRIP=$ac_cv_prog_STRIP
5726 if test -n "$STRIP"; then
5727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5728 $as_echo "$STRIP" >&6; }
5729 else
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }
5732 fi
5733
5734
5735 fi
5736 if test -z "$ac_cv_prog_STRIP"; then
5737   ac_ct_STRIP=$STRIP
5738   # Extract the first word of "strip", so it can be a program name with args.
5739 set dummy strip; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5743   $as_echo_n "(cached) " >&6
5744 else
5745   if test -n "$ac_ct_STRIP"; then
5746   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5750 do
5751   IFS=$as_save_IFS
5752   test -z "$as_dir" && as_dir=.
5753     for ac_exec_ext in '' $ac_executable_extensions; do
5754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755     ac_cv_prog_ac_ct_STRIP="strip"
5756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757     break 2
5758   fi
5759 done
5760   done
5761 IFS=$as_save_IFS
5762
5763 fi
5764 fi
5765 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5766 if test -n "$ac_ct_STRIP"; then
5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5768 $as_echo "$ac_ct_STRIP" >&6; }
5769 else
5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5772 fi
5773
5774   if test "x$ac_ct_STRIP" = x; then
5775     STRIP=":"
5776   else
5777     case $cross_compiling:$ac_tool_warned in
5778 yes:)
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5781 ac_tool_warned=yes ;;
5782 esac
5783     STRIP=$ac_ct_STRIP
5784   fi
5785 else
5786   STRIP="$ac_cv_prog_STRIP"
5787 fi
5788
5789 test -z "$STRIP" && STRIP=:
5790
5791
5792
5793
5794
5795
5796 if test -n "$ac_tool_prefix"; then
5797   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5798 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_RANLIB+:} false; then :
5802   $as_echo_n "(cached) " >&6
5803 else
5804   if test -n "$RANLIB"; then
5805   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5806 else
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in $PATH
5809 do
5810   IFS=$as_save_IFS
5811   test -z "$as_dir" && as_dir=.
5812     for ac_exec_ext in '' $ac_executable_extensions; do
5813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816     break 2
5817   fi
5818 done
5819   done
5820 IFS=$as_save_IFS
5821
5822 fi
5823 fi
5824 RANLIB=$ac_cv_prog_RANLIB
5825 if test -n "$RANLIB"; then
5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5827 $as_echo "$RANLIB" >&6; }
5828 else
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5831 fi
5832
5833
5834 fi
5835 if test -z "$ac_cv_prog_RANLIB"; then
5836   ac_ct_RANLIB=$RANLIB
5837   # Extract the first word of "ranlib", so it can be a program name with args.
5838 set dummy ranlib; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5842   $as_echo_n "(cached) " >&6
5843 else
5844   if test -n "$ac_ct_RANLIB"; then
5845   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5849 do
5850   IFS=$as_save_IFS
5851   test -z "$as_dir" && as_dir=.
5852     for ac_exec_ext in '' $ac_executable_extensions; do
5853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854     ac_cv_prog_ac_ct_RANLIB="ranlib"
5855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856     break 2
5857   fi
5858 done
5859   done
5860 IFS=$as_save_IFS
5861
5862 fi
5863 fi
5864 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5865 if test -n "$ac_ct_RANLIB"; then
5866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5867 $as_echo "$ac_ct_RANLIB" >&6; }
5868 else
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5871 fi
5872
5873   if test "x$ac_ct_RANLIB" = x; then
5874     RANLIB=":"
5875   else
5876     case $cross_compiling:$ac_tool_warned in
5877 yes:)
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5880 ac_tool_warned=yes ;;
5881 esac
5882     RANLIB=$ac_ct_RANLIB
5883   fi
5884 else
5885   RANLIB="$ac_cv_prog_RANLIB"
5886 fi
5887
5888 test -z "$RANLIB" && RANLIB=:
5889
5890
5891
5892
5893
5894
5895 # Determine commands to create old-style static archives.
5896 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5897 old_postinstall_cmds='chmod 644 $oldlib'
5898 old_postuninstall_cmds=
5899
5900 if test -n "$RANLIB"; then
5901   case $host_os in
5902   openbsd*)
5903     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5904     ;;
5905   *)
5906     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5907     ;;
5908   esac
5909   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5910 fi
5911
5912 case $host_os in
5913   darwin*)
5914     lock_old_archive_extraction=yes ;;
5915   *)
5916     lock_old_archive_extraction=no ;;
5917 esac
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
5956
5957 # If no C compiler was specified, use CC.
5958 LTCC=${LTCC-"$CC"}
5959
5960 # If no C compiler flags were specified, use CFLAGS.
5961 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5962
5963 # Allow CC to be a program name with arguments.
5964 compiler=$CC
5965
5966
5967 # Check for command to grab the raw symbol name followed by C symbol from nm.
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5969 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5970 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5971   $as_echo_n "(cached) " >&6
5972 else
5973
5974 # These are sane defaults that work on at least a few old systems.
5975 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5976
5977 # Character class describing NM global symbol codes.
5978 symcode='[BCDEGRST]'
5979
5980 # Regexp to match symbols that can be accessed directly from C.
5981 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5982
5983 # Define system-specific variables.
5984 case $host_os in
5985 aix*)
5986   symcode='[BCDT]'
5987   ;;
5988 cygwin* | mingw* | pw32* | cegcc*)
5989   symcode='[ABCDGISTW]'
5990   ;;
5991 hpux*)
5992   if test "$host_cpu" = ia64; then
5993     symcode='[ABCDEGRST]'
5994   fi
5995   ;;
5996 irix* | nonstopux*)
5997   symcode='[BCDEGRST]'
5998   ;;
5999 osf*)
6000   symcode='[BCDEGQRST]'
6001   ;;
6002 solaris*)
6003   symcode='[BDRT]'
6004   ;;
6005 sco3.2v5*)
6006   symcode='[DT]'
6007   ;;
6008 sysv4.2uw2*)
6009   symcode='[DT]'
6010   ;;
6011 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6012   symcode='[ABDT]'
6013   ;;
6014 sysv4)
6015   symcode='[DFNSTU]'
6016   ;;
6017 esac
6018
6019 # If we're using GNU nm, then use its standard symbol codes.
6020 case `$NM -V 2>&1` in
6021 *GNU* | *'with BFD'*)
6022   symcode='[ABCDGIRSTW]' ;;
6023 esac
6024
6025 # Transform an extracted symbol line into a proper C declaration.
6026 # Some systems (esp. on ia64) link data and code symbols differently,
6027 # so use this general approach.
6028 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6029
6030 # Transform an extracted symbol line into symbol name and symbol address
6031 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6032 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'"
6033
6034 # Handle CRLF in mingw tool chain
6035 opt_cr=
6036 case $build_os in
6037 mingw*)
6038   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6039   ;;
6040 esac
6041
6042 # Try without a prefix underscore, then with it.
6043 for ac_symprfx in "" "_"; do
6044
6045   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6046   symxfrm="\\1 $ac_symprfx\\2 \\2"
6047
6048   # Write the raw and C identifiers.
6049   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6050     # Fake it for dumpbin and say T for any non-static function
6051     # and D for any global variable.
6052     # Also find C++ and __fastcall symbols from MSVC++,
6053     # which start with @ or ?.
6054     lt_cv_sys_global_symbol_pipe="$AWK '"\
6055 "     {last_section=section; section=\$ 3};"\
6056 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6057 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6058 "     \$ 0!~/External *\|/{next};"\
6059 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6060 "     {if(hide[section]) next};"\
6061 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6062 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6063 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6064 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6065 "     ' prfx=^$ac_symprfx"
6066   else
6067     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6068   fi
6069   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6070
6071   # Check to see that the pipe works correctly.
6072   pipe_works=no
6073
6074   rm -f conftest*
6075   cat > conftest.$ac_ext <<_LT_EOF
6076 #ifdef __cplusplus
6077 extern "C" {
6078 #endif
6079 char nm_test_var;
6080 void nm_test_func(void);
6081 void nm_test_func(void){}
6082 #ifdef __cplusplus
6083 }
6084 #endif
6085 int main(){nm_test_var='a';nm_test_func();return(0);}
6086 _LT_EOF
6087
6088   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6089   (eval $ac_compile) 2>&5
6090   ac_status=$?
6091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6092   test $ac_status = 0; }; then
6093     # Now try to grab the symbols.
6094     nlist=conftest.nm
6095     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6096   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6097   ac_status=$?
6098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6099   test $ac_status = 0; } && test -s "$nlist"; then
6100       # Try sorting and uniquifying the output.
6101       if sort "$nlist" | uniq > "$nlist"T; then
6102         mv -f "$nlist"T "$nlist"
6103       else
6104         rm -f "$nlist"T
6105       fi
6106
6107       # Make sure that we snagged all the symbols we need.
6108       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6109         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6110           cat <<_LT_EOF > conftest.$ac_ext
6111 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6112 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6113 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6114    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6115 # define LT_DLSYM_CONST
6116 #elif defined(__osf__)
6117 /* This system does not cope well with relocations in const data.  */
6118 # define LT_DLSYM_CONST
6119 #else
6120 # define LT_DLSYM_CONST const
6121 #endif
6122
6123 #ifdef __cplusplus
6124 extern "C" {
6125 #endif
6126
6127 _LT_EOF
6128           # Now generate the symbol file.
6129           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6130
6131           cat <<_LT_EOF >> conftest.$ac_ext
6132
6133 /* The mapping between symbol names and symbols.  */
6134 LT_DLSYM_CONST struct {
6135   const char *name;
6136   void       *address;
6137 }
6138 lt__PROGRAM__LTX_preloaded_symbols[] =
6139 {
6140   { "@PROGRAM@", (void *) 0 },
6141 _LT_EOF
6142           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6143           cat <<\_LT_EOF >> conftest.$ac_ext
6144   {0, (void *) 0}
6145 };
6146
6147 /* This works around a problem in FreeBSD linker */
6148 #ifdef FREEBSD_WORKAROUND
6149 static const void *lt_preloaded_setup() {
6150   return lt__PROGRAM__LTX_preloaded_symbols;
6151 }
6152 #endif
6153
6154 #ifdef __cplusplus
6155 }
6156 #endif
6157 _LT_EOF
6158           # Now try linking the two files.
6159           mv conftest.$ac_objext conftstm.$ac_objext
6160           lt_globsym_save_LIBS=$LIBS
6161           lt_globsym_save_CFLAGS=$CFLAGS
6162           LIBS="conftstm.$ac_objext"
6163           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6164           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6165   (eval $ac_link) 2>&5
6166   ac_status=$?
6167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6168   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6169             pipe_works=yes
6170           fi
6171           LIBS=$lt_globsym_save_LIBS
6172           CFLAGS=$lt_globsym_save_CFLAGS
6173         else
6174           echo "cannot find nm_test_func in $nlist" >&5
6175         fi
6176       else
6177         echo "cannot find nm_test_var in $nlist" >&5
6178       fi
6179     else
6180       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6181     fi
6182   else
6183     echo "$progname: failed program was:" >&5
6184     cat conftest.$ac_ext >&5
6185   fi
6186   rm -rf conftest* conftst*
6187
6188   # Do not use the global_symbol_pipe unless it works.
6189   if test "$pipe_works" = yes; then
6190     break
6191   else
6192     lt_cv_sys_global_symbol_pipe=
6193   fi
6194 done
6195
6196 fi
6197
6198 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6199   lt_cv_sys_global_symbol_to_cdecl=
6200 fi
6201 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6203 $as_echo "failed" >&6; }
6204 else
6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6206 $as_echo "ok" >&6; }
6207 fi
6208
6209 # Response file support.
6210 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6211   nm_file_list_spec='@'
6212 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6213   nm_file_list_spec='@'
6214 fi
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
6241
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6243 $as_echo_n "checking for sysroot... " >&6; }
6244
6245 # Check whether --with-sysroot was given.
6246 if test "${with_sysroot+set}" = set; then :
6247   withval=$with_sysroot;
6248 else
6249   with_sysroot=no
6250 fi
6251
6252
6253 lt_sysroot=
6254 case ${with_sysroot} in #(
6255  yes)
6256    if test "$GCC" = yes; then
6257      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6258    fi
6259    ;; #(
6260  /*)
6261    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6262    ;; #(
6263  no|'')
6264    ;; #(
6265  *)
6266    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6267 $as_echo "${with_sysroot}" >&6; }
6268    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6269    ;;
6270 esac
6271
6272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6273 $as_echo "${lt_sysroot:-no}" >&6; }
6274
6275
6276
6277
6278
6279 # Check whether --enable-libtool-lock was given.
6280 if test "${enable_libtool_lock+set}" = set; then :
6281   enableval=$enable_libtool_lock;
6282 fi
6283
6284 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6285
6286 # Some flags need to be propagated to the compiler or linker for good
6287 # libtool support.
6288 case $host in
6289 ia64-*-hpux*)
6290   # Find out which ABI we are using.
6291   echo 'int i;' > conftest.$ac_ext
6292   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6293   (eval $ac_compile) 2>&5
6294   ac_status=$?
6295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6296   test $ac_status = 0; }; then
6297     case `/usr/bin/file conftest.$ac_objext` in
6298       *ELF-32*)
6299         HPUX_IA64_MODE="32"
6300         ;;
6301       *ELF-64*)
6302         HPUX_IA64_MODE="64"
6303         ;;
6304     esac
6305   fi
6306   rm -rf conftest*
6307   ;;
6308 *-*-irix6*)
6309   # Find out which ABI we are using.
6310   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6311   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6312   (eval $ac_compile) 2>&5
6313   ac_status=$?
6314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6315   test $ac_status = 0; }; then
6316     if test "$lt_cv_prog_gnu_ld" = yes; then
6317       case `/usr/bin/file conftest.$ac_objext` in
6318         *32-bit*)
6319           LD="${LD-ld} -melf32bsmip"
6320           ;;
6321         *N32*)
6322           LD="${LD-ld} -melf32bmipn32"
6323           ;;
6324         *64-bit*)
6325           LD="${LD-ld} -melf64bmip"
6326         ;;
6327       esac
6328     else
6329       case `/usr/bin/file conftest.$ac_objext` in
6330         *32-bit*)
6331           LD="${LD-ld} -32"
6332           ;;
6333         *N32*)
6334           LD="${LD-ld} -n32"
6335           ;;
6336         *64-bit*)
6337           LD="${LD-ld} -64"
6338           ;;
6339       esac
6340     fi
6341   fi
6342   rm -rf conftest*
6343   ;;
6344
6345 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6346 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6347   # Find out which ABI we are using.
6348   echo 'int i;' > conftest.$ac_ext
6349   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6350   (eval $ac_compile) 2>&5
6351   ac_status=$?
6352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6353   test $ac_status = 0; }; then
6354     case `/usr/bin/file conftest.o` in
6355       *32-bit*)
6356         case $host in
6357           x86_64-*kfreebsd*-gnu)
6358             LD="${LD-ld} -m elf_i386_fbsd"
6359             ;;
6360           x86_64-*linux*)
6361             case `/usr/bin/file conftest.o` in
6362               *x86-64*)
6363                 LD="${LD-ld} -m elf32_x86_64"
6364                 ;;
6365               *)
6366                 LD="${LD-ld} -m elf_i386"
6367                 ;;
6368             esac
6369             ;;
6370           powerpc64le-*)
6371             LD="${LD-ld} -m elf32lppclinux"
6372             ;;
6373           powerpc64-*)
6374             LD="${LD-ld} -m elf32ppclinux"
6375             ;;
6376           s390x-*linux*)
6377             LD="${LD-ld} -m elf_s390"
6378             ;;
6379           sparc64-*linux*)
6380             LD="${LD-ld} -m elf32_sparc"
6381             ;;
6382         esac
6383         ;;
6384       *64-bit*)
6385         case $host in
6386           x86_64-*kfreebsd*-gnu)
6387             LD="${LD-ld} -m elf_x86_64_fbsd"
6388             ;;
6389           x86_64-*linux*)
6390             LD="${LD-ld} -m elf_x86_64"
6391             ;;
6392           powerpcle-*)
6393             LD="${LD-ld} -m elf64lppc"
6394             ;;
6395           powerpc-*)
6396             LD="${LD-ld} -m elf64ppc"
6397             ;;
6398           s390*-*linux*|s390*-*tpf*)
6399             LD="${LD-ld} -m elf64_s390"
6400             ;;
6401           sparc*-*linux*)
6402             LD="${LD-ld} -m elf64_sparc"
6403             ;;
6404         esac
6405         ;;
6406     esac
6407   fi
6408   rm -rf conftest*
6409   ;;
6410
6411 *-*-sco3.2v5*)
6412   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6413   SAVE_CFLAGS="$CFLAGS"
6414   CFLAGS="$CFLAGS -belf"
6415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6416 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6417 if ${lt_cv_cc_needs_belf+:} false; then :
6418   $as_echo_n "(cached) " >&6
6419 else
6420   ac_ext=c
6421 ac_cpp='$CPP $CPPFLAGS'
6422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6425
6426      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h.  */
6428
6429 int
6430 main ()
6431 {
6432
6433   ;
6434   return 0;
6435 }
6436 _ACEOF
6437 if ac_fn_c_try_link "$LINENO"; then :
6438   lt_cv_cc_needs_belf=yes
6439 else
6440   lt_cv_cc_needs_belf=no
6441 fi
6442 rm -f core conftest.err conftest.$ac_objext \
6443     conftest$ac_exeext conftest.$ac_ext
6444      ac_ext=c
6445 ac_cpp='$CPP $CPPFLAGS'
6446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6449
6450 fi
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6452 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6453   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6454     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6455     CFLAGS="$SAVE_CFLAGS"
6456   fi
6457   ;;
6458 *-*solaris*)
6459   # Find out which ABI we are using.
6460   echo 'int i;' > conftest.$ac_ext
6461   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6462   (eval $ac_compile) 2>&5
6463   ac_status=$?
6464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465   test $ac_status = 0; }; then
6466     case `/usr/bin/file conftest.o` in
6467     *64-bit*)
6468       case $lt_cv_prog_gnu_ld in
6469       yes*)
6470         case $host in
6471         i?86-*-solaris*)
6472           LD="${LD-ld} -m elf_x86_64"
6473           ;;
6474         sparc*-*-solaris*)
6475           LD="${LD-ld} -m elf64_sparc"
6476           ;;
6477         esac
6478         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6479         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6480           LD="${LD-ld}_sol2"
6481         fi
6482         ;;
6483       *)
6484         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6485           LD="${LD-ld} -64"
6486         fi
6487         ;;
6488       esac
6489       ;;
6490     esac
6491   fi
6492   rm -rf conftest*
6493   ;;
6494 esac
6495
6496 need_locks="$enable_libtool_lock"
6497
6498 if test -n "$ac_tool_prefix"; then
6499   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}mt; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6504   $as_echo_n "(cached) " >&6
6505 else
6506   if test -n "$MANIFEST_TOOL"; then
6507   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6511 do
6512   IFS=$as_save_IFS
6513   test -z "$as_dir" && as_dir=.
6514     for ac_exec_ext in '' $ac_executable_extensions; do
6515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518     break 2
6519   fi
6520 done
6521   done
6522 IFS=$as_save_IFS
6523
6524 fi
6525 fi
6526 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6527 if test -n "$MANIFEST_TOOL"; then
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6529 $as_echo "$MANIFEST_TOOL" >&6; }
6530 else
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6533 fi
6534
6535
6536 fi
6537 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6538   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6539   # Extract the first word of "mt", so it can be a program name with args.
6540 set dummy mt; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6544   $as_echo_n "(cached) " >&6
6545 else
6546   if test -n "$ac_ct_MANIFEST_TOOL"; then
6547   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6551 do
6552   IFS=$as_save_IFS
6553   test -z "$as_dir" && as_dir=.
6554     for ac_exec_ext in '' $ac_executable_extensions; do
6555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558     break 2
6559   fi
6560 done
6561   done
6562 IFS=$as_save_IFS
6563
6564 fi
6565 fi
6566 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6567 if test -n "$ac_ct_MANIFEST_TOOL"; then
6568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6569 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6570 else
6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6573 fi
6574
6575   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6576     MANIFEST_TOOL=":"
6577   else
6578     case $cross_compiling:$ac_tool_warned in
6579 yes:)
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582 ac_tool_warned=yes ;;
6583 esac
6584     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6585   fi
6586 else
6587   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6588 fi
6589
6590 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6592 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6593 if ${lt_cv_path_mainfest_tool+:} false; then :
6594   $as_echo_n "(cached) " >&6
6595 else
6596   lt_cv_path_mainfest_tool=no
6597   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6598   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6599   cat conftest.err >&5
6600   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6601     lt_cv_path_mainfest_tool=yes
6602   fi
6603   rm -f conftest*
6604 fi
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6606 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6607 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6608   MANIFEST_TOOL=:
6609 fi
6610
6611
6612
6613
6614
6615
6616   case $host_os in
6617     rhapsody* | darwin*)
6618     if test -n "$ac_tool_prefix"; then
6619   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6620 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6624   $as_echo_n "(cached) " >&6
6625 else
6626   if test -n "$DSYMUTIL"; then
6627   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6631 do
6632   IFS=$as_save_IFS
6633   test -z "$as_dir" && as_dir=.
6634     for ac_exec_ext in '' $ac_executable_extensions; do
6635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638     break 2
6639   fi
6640 done
6641   done
6642 IFS=$as_save_IFS
6643
6644 fi
6645 fi
6646 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6647 if test -n "$DSYMUTIL"; then
6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6649 $as_echo "$DSYMUTIL" >&6; }
6650 else
6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6653 fi
6654
6655
6656 fi
6657 if test -z "$ac_cv_prog_DSYMUTIL"; then
6658   ac_ct_DSYMUTIL=$DSYMUTIL
6659   # Extract the first word of "dsymutil", so it can be a program name with args.
6660 set dummy dsymutil; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6664   $as_echo_n "(cached) " >&6
6665 else
6666   if test -n "$ac_ct_DSYMUTIL"; then
6667   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6671 do
6672   IFS=$as_save_IFS
6673   test -z "$as_dir" && as_dir=.
6674     for ac_exec_ext in '' $ac_executable_extensions; do
6675   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678     break 2
6679   fi
6680 done
6681   done
6682 IFS=$as_save_IFS
6683
6684 fi
6685 fi
6686 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6687 if test -n "$ac_ct_DSYMUTIL"; then
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6689 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6690 else
6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6693 fi
6694
6695   if test "x$ac_ct_DSYMUTIL" = x; then
6696     DSYMUTIL=":"
6697   else
6698     case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704     DSYMUTIL=$ac_ct_DSYMUTIL
6705   fi
6706 else
6707   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6708 fi
6709
6710     if test -n "$ac_tool_prefix"; then
6711   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6712 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 $as_echo_n "checking for $ac_word... " >&6; }
6715 if ${ac_cv_prog_NMEDIT+:} false; then :
6716   $as_echo_n "(cached) " >&6
6717 else
6718   if test -n "$NMEDIT"; then
6719   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6723 do
6724   IFS=$as_save_IFS
6725   test -z "$as_dir" && as_dir=.
6726     for ac_exec_ext in '' $ac_executable_extensions; do
6727   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6728     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730     break 2
6731   fi
6732 done
6733   done
6734 IFS=$as_save_IFS
6735
6736 fi
6737 fi
6738 NMEDIT=$ac_cv_prog_NMEDIT
6739 if test -n "$NMEDIT"; then
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6741 $as_echo "$NMEDIT" >&6; }
6742 else
6743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6745 fi
6746
6747
6748 fi
6749 if test -z "$ac_cv_prog_NMEDIT"; then
6750   ac_ct_NMEDIT=$NMEDIT
6751   # Extract the first word of "nmedit", so it can be a program name with args.
6752 set dummy nmedit; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6755 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6756   $as_echo_n "(cached) " >&6
6757 else
6758   if test -n "$ac_ct_NMEDIT"; then
6759   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6763 do
6764   IFS=$as_save_IFS
6765   test -z "$as_dir" && as_dir=.
6766     for ac_exec_ext in '' $ac_executable_extensions; do
6767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6768     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770     break 2
6771   fi
6772 done
6773   done
6774 IFS=$as_save_IFS
6775
6776 fi
6777 fi
6778 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6779 if test -n "$ac_ct_NMEDIT"; then
6780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6781 $as_echo "$ac_ct_NMEDIT" >&6; }
6782 else
6783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 $as_echo "no" >&6; }
6785 fi
6786
6787   if test "x$ac_ct_NMEDIT" = x; then
6788     NMEDIT=":"
6789   else
6790     case $cross_compiling:$ac_tool_warned in
6791 yes:)
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6794 ac_tool_warned=yes ;;
6795 esac
6796     NMEDIT=$ac_ct_NMEDIT
6797   fi
6798 else
6799   NMEDIT="$ac_cv_prog_NMEDIT"
6800 fi
6801
6802     if test -n "$ac_tool_prefix"; then
6803   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6804 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 $as_echo_n "checking for $ac_word... " >&6; }
6807 if ${ac_cv_prog_LIPO+:} false; then :
6808   $as_echo_n "(cached) " >&6
6809 else
6810   if test -n "$LIPO"; then
6811   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6812 else
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 for as_dir in $PATH
6815 do
6816   IFS=$as_save_IFS
6817   test -z "$as_dir" && as_dir=.
6818     for ac_exec_ext in '' $ac_executable_extensions; do
6819   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6820     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822     break 2
6823   fi
6824 done
6825   done
6826 IFS=$as_save_IFS
6827
6828 fi
6829 fi
6830 LIPO=$ac_cv_prog_LIPO
6831 if test -n "$LIPO"; then
6832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6833 $as_echo "$LIPO" >&6; }
6834 else
6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836 $as_echo "no" >&6; }
6837 fi
6838
6839
6840 fi
6841 if test -z "$ac_cv_prog_LIPO"; then
6842   ac_ct_LIPO=$LIPO
6843   # Extract the first word of "lipo", so it can be a program name with args.
6844 set dummy lipo; ac_word=$2
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846 $as_echo_n "checking for $ac_word... " >&6; }
6847 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6848   $as_echo_n "(cached) " >&6
6849 else
6850   if test -n "$ac_ct_LIPO"; then
6851   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6852 else
6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 for as_dir in $PATH
6855 do
6856   IFS=$as_save_IFS
6857   test -z "$as_dir" && as_dir=.
6858     for ac_exec_ext in '' $ac_executable_extensions; do
6859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6860     ac_cv_prog_ac_ct_LIPO="lipo"
6861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862     break 2
6863   fi
6864 done
6865   done
6866 IFS=$as_save_IFS
6867
6868 fi
6869 fi
6870 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6871 if test -n "$ac_ct_LIPO"; then
6872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6873 $as_echo "$ac_ct_LIPO" >&6; }
6874 else
6875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 $as_echo "no" >&6; }
6877 fi
6878
6879   if test "x$ac_ct_LIPO" = x; then
6880     LIPO=":"
6881   else
6882     case $cross_compiling:$ac_tool_warned in
6883 yes:)
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6886 ac_tool_warned=yes ;;
6887 esac
6888     LIPO=$ac_ct_LIPO
6889   fi
6890 else
6891   LIPO="$ac_cv_prog_LIPO"
6892 fi
6893
6894     if test -n "$ac_tool_prefix"; then
6895   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}otool; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_OTOOL+:} false; then :
6900   $as_echo_n "(cached) " >&6
6901 else
6902   if test -n "$OTOOL"; then
6903   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6907 do
6908   IFS=$as_save_IFS
6909   test -z "$as_dir" && as_dir=.
6910     for ac_exec_ext in '' $ac_executable_extensions; do
6911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914     break 2
6915   fi
6916 done
6917   done
6918 IFS=$as_save_IFS
6919
6920 fi
6921 fi
6922 OTOOL=$ac_cv_prog_OTOOL
6923 if test -n "$OTOOL"; then
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6925 $as_echo "$OTOOL" >&6; }
6926 else
6927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6929 fi
6930
6931
6932 fi
6933 if test -z "$ac_cv_prog_OTOOL"; then
6934   ac_ct_OTOOL=$OTOOL
6935   # Extract the first word of "otool", so it can be a program name with args.
6936 set dummy otool; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6940   $as_echo_n "(cached) " >&6
6941 else
6942   if test -n "$ac_ct_OTOOL"; then
6943   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6944 else
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 for as_dir in $PATH
6947 do
6948   IFS=$as_save_IFS
6949   test -z "$as_dir" && as_dir=.
6950     for ac_exec_ext in '' $ac_executable_extensions; do
6951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952     ac_cv_prog_ac_ct_OTOOL="otool"
6953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954     break 2
6955   fi
6956 done
6957   done
6958 IFS=$as_save_IFS
6959
6960 fi
6961 fi
6962 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6963 if test -n "$ac_ct_OTOOL"; then
6964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6965 $as_echo "$ac_ct_OTOOL" >&6; }
6966 else
6967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6969 fi
6970
6971   if test "x$ac_ct_OTOOL" = x; then
6972     OTOOL=":"
6973   else
6974     case $cross_compiling:$ac_tool_warned in
6975 yes:)
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned=yes ;;
6979 esac
6980     OTOOL=$ac_ct_OTOOL
6981   fi
6982 else
6983   OTOOL="$ac_cv_prog_OTOOL"
6984 fi
6985
6986     if test -n "$ac_tool_prefix"; then
6987   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6988 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_OTOOL64+:} false; then :
6992   $as_echo_n "(cached) " >&6
6993 else
6994   if test -n "$OTOOL64"; then
6995   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6996 else
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 for as_dir in $PATH
6999 do
7000   IFS=$as_save_IFS
7001   test -z "$as_dir" && as_dir=.
7002     for ac_exec_ext in '' $ac_executable_extensions; do
7003   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006     break 2
7007   fi
7008 done
7009   done
7010 IFS=$as_save_IFS
7011
7012 fi
7013 fi
7014 OTOOL64=$ac_cv_prog_OTOOL64
7015 if test -n "$OTOOL64"; then
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7017 $as_echo "$OTOOL64" >&6; }
7018 else
7019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7021 fi
7022
7023
7024 fi
7025 if test -z "$ac_cv_prog_OTOOL64"; then
7026   ac_ct_OTOOL64=$OTOOL64
7027   # Extract the first word of "otool64", so it can be a program name with args.
7028 set dummy otool64; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7032   $as_echo_n "(cached) " >&6
7033 else
7034   if test -n "$ac_ct_OTOOL64"; then
7035   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7036 else
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 for as_dir in $PATH
7039 do
7040   IFS=$as_save_IFS
7041   test -z "$as_dir" && as_dir=.
7042     for ac_exec_ext in '' $ac_executable_extensions; do
7043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044     ac_cv_prog_ac_ct_OTOOL64="otool64"
7045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046     break 2
7047   fi
7048 done
7049   done
7050 IFS=$as_save_IFS
7051
7052 fi
7053 fi
7054 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7055 if test -n "$ac_ct_OTOOL64"; then
7056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7057 $as_echo "$ac_ct_OTOOL64" >&6; }
7058 else
7059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7061 fi
7062
7063   if test "x$ac_ct_OTOOL64" = x; then
7064     OTOOL64=":"
7065   else
7066     case $cross_compiling:$ac_tool_warned in
7067 yes:)
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070 ac_tool_warned=yes ;;
7071 esac
7072     OTOOL64=$ac_ct_OTOOL64
7073   fi
7074 else
7075   OTOOL64="$ac_cv_prog_OTOOL64"
7076 fi
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
7103
7104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7105 $as_echo_n "checking for -single_module linker flag... " >&6; }
7106 if ${lt_cv_apple_cc_single_mod+:} false; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   lt_cv_apple_cc_single_mod=no
7110       if test -z "${LT_MULTI_MODULE}"; then
7111         # By default we will add the -single_module flag. You can override
7112         # by either setting the environment variable LT_MULTI_MODULE
7113         # non-empty at configure time, or by adding -multi_module to the
7114         # link flags.
7115         rm -rf libconftest.dylib*
7116         echo "int foo(void){return 1;}" > conftest.c
7117         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7118 -dynamiclib -Wl,-single_module conftest.c" >&5
7119         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7120           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7121         _lt_result=$?
7122         # If there is a non-empty error log, and "single_module"
7123         # appears in it, assume the flag caused a linker warning
7124         if test -s conftest.err && $GREP single_module conftest.err; then
7125           cat conftest.err >&5
7126         # Otherwise, if the output was created with a 0 exit code from
7127         # the compiler, it worked.
7128         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7129           lt_cv_apple_cc_single_mod=yes
7130         else
7131           cat conftest.err >&5
7132         fi
7133         rm -rf libconftest.dylib*
7134         rm -f conftest.*
7135       fi
7136 fi
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7138 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7139
7140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7141 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7142 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7143   $as_echo_n "(cached) " >&6
7144 else
7145   lt_cv_ld_exported_symbols_list=no
7146       save_LDFLAGS=$LDFLAGS
7147       echo "_main" > conftest.sym
7148       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h.  */
7151
7152 int
7153 main ()
7154 {
7155
7156   ;
7157   return 0;
7158 }
7159 _ACEOF
7160 if ac_fn_c_try_link "$LINENO"; then :
7161   lt_cv_ld_exported_symbols_list=yes
7162 else
7163   lt_cv_ld_exported_symbols_list=no
7164 fi
7165 rm -f core conftest.err conftest.$ac_objext \
7166     conftest$ac_exeext conftest.$ac_ext
7167         LDFLAGS="$save_LDFLAGS"
7168
7169 fi
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7171 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7172
7173     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7174 $as_echo_n "checking for -force_load linker flag... " >&6; }
7175 if ${lt_cv_ld_force_load+:} false; then :
7176   $as_echo_n "(cached) " >&6
7177 else
7178   lt_cv_ld_force_load=no
7179       cat > conftest.c << _LT_EOF
7180 int forced_loaded() { return 2;}
7181 _LT_EOF
7182       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7183       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7184       echo "$AR cru libconftest.a conftest.o" >&5
7185       $AR cru libconftest.a conftest.o 2>&5
7186       echo "$RANLIB libconftest.a" >&5
7187       $RANLIB libconftest.a 2>&5
7188       cat > conftest.c << _LT_EOF
7189 int main() { return 0;}
7190 _LT_EOF
7191       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7192       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7193       _lt_result=$?
7194       if test -s conftest.err && $GREP force_load conftest.err; then
7195         cat conftest.err >&5
7196       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7197         lt_cv_ld_force_load=yes
7198       else
7199         cat conftest.err >&5
7200       fi
7201         rm -f conftest.err libconftest.a conftest conftest.c
7202         rm -rf conftest.dSYM
7203
7204 fi
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7206 $as_echo "$lt_cv_ld_force_load" >&6; }
7207     case $host_os in
7208     rhapsody* | darwin1.[012])
7209       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7210     darwin1.*)
7211       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7212     darwin*) # darwin 5.x on
7213       # if running on 10.5 or later, the deployment target defaults
7214       # to the OS version, if on x86, and 10.4, the deployment
7215       # target defaults to 10.4. Don't you love it?
7216       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7217         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7218           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7219         10.[012]*)
7220           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7221         10.*)
7222           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7223       esac
7224     ;;
7225   esac
7226     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7227       _lt_dar_single_mod='$single_module'
7228     fi
7229     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7230       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7231     else
7232       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7233     fi
7234     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7235       _lt_dsymutil='~$DSYMUTIL $lib || :'
7236     else
7237       _lt_dsymutil=
7238     fi
7239     ;;
7240   esac
7241
7242 ac_ext=c
7243 ac_cpp='$CPP $CPPFLAGS'
7244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7248 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7249 # On Suns, sometimes $CPP names a directory.
7250 if test -n "$CPP" && test -d "$CPP"; then
7251   CPP=
7252 fi
7253 if test -z "$CPP"; then
7254   if ${ac_cv_prog_CPP+:} false; then :
7255   $as_echo_n "(cached) " >&6
7256 else
7257       # Double quotes because CPP needs to be expanded
7258     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7259     do
7260       ac_preproc_ok=false
7261 for ac_c_preproc_warn_flag in '' yes
7262 do
7263   # Use a header file that comes with gcc, so configuring glibc
7264   # with a fresh cross-compiler works.
7265   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7266   # <limits.h> exists even on freestanding compilers.
7267   # On the NeXT, cc -E runs the code through the compiler's parser,
7268   # not just through cpp. "Syntax error" is here to catch this case.
7269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h.  */
7271 #ifdef __STDC__
7272 # include <limits.h>
7273 #else
7274 # include <assert.h>
7275 #endif
7276                      Syntax error
7277 _ACEOF
7278 if ac_fn_c_try_cpp "$LINENO"; then :
7279
7280 else
7281   # Broken: fails on valid input.
7282 continue
7283 fi
7284 rm -f conftest.err conftest.i conftest.$ac_ext
7285
7286   # OK, works on sane cases.  Now check whether nonexistent headers
7287   # can be detected and how.
7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h.  */
7290 #include <ac_nonexistent.h>
7291 _ACEOF
7292 if ac_fn_c_try_cpp "$LINENO"; then :
7293   # Broken: success on invalid input.
7294 continue
7295 else
7296   # Passes both tests.
7297 ac_preproc_ok=:
7298 break
7299 fi
7300 rm -f conftest.err conftest.i conftest.$ac_ext
7301
7302 done
7303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7304 rm -f conftest.i conftest.err conftest.$ac_ext
7305 if $ac_preproc_ok; then :
7306   break
7307 fi
7308
7309     done
7310     ac_cv_prog_CPP=$CPP
7311
7312 fi
7313   CPP=$ac_cv_prog_CPP
7314 else
7315   ac_cv_prog_CPP=$CPP
7316 fi
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7318 $as_echo "$CPP" >&6; }
7319 ac_preproc_ok=false
7320 for ac_c_preproc_warn_flag in '' yes
7321 do
7322   # Use a header file that comes with gcc, so configuring glibc
7323   # with a fresh cross-compiler works.
7324   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7325   # <limits.h> exists even on freestanding compilers.
7326   # On the NeXT, cc -E runs the code through the compiler's parser,
7327   # not just through cpp. "Syntax error" is here to catch this case.
7328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h.  */
7330 #ifdef __STDC__
7331 # include <limits.h>
7332 #else
7333 # include <assert.h>
7334 #endif
7335                      Syntax error
7336 _ACEOF
7337 if ac_fn_c_try_cpp "$LINENO"; then :
7338
7339 else
7340   # Broken: fails on valid input.
7341 continue
7342 fi
7343 rm -f conftest.err conftest.i conftest.$ac_ext
7344
7345   # OK, works on sane cases.  Now check whether nonexistent headers
7346   # can be detected and how.
7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h.  */
7349 #include <ac_nonexistent.h>
7350 _ACEOF
7351 if ac_fn_c_try_cpp "$LINENO"; then :
7352   # Broken: success on invalid input.
7353 continue
7354 else
7355   # Passes both tests.
7356 ac_preproc_ok=:
7357 break
7358 fi
7359 rm -f conftest.err conftest.i conftest.$ac_ext
7360
7361 done
7362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7363 rm -f conftest.i conftest.err conftest.$ac_ext
7364 if $ac_preproc_ok; then :
7365
7366 else
7367   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7369 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7370 See \`config.log' for more details" "$LINENO" 5; }
7371 fi
7372
7373 ac_ext=c
7374 ac_cpp='$CPP $CPPFLAGS'
7375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7378
7379
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7381 $as_echo_n "checking for ANSI C header files... " >&6; }
7382 if ${ac_cv_header_stdc+:} false; then :
7383   $as_echo_n "(cached) " >&6
7384 else
7385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h.  */
7387 #include <stdlib.h>
7388 #include <stdarg.h>
7389 #include <string.h>
7390 #include <float.h>
7391
7392 int
7393 main ()
7394 {
7395
7396   ;
7397   return 0;
7398 }
7399 _ACEOF
7400 if ac_fn_c_try_compile "$LINENO"; then :
7401   ac_cv_header_stdc=yes
7402 else
7403   ac_cv_header_stdc=no
7404 fi
7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406
7407 if test $ac_cv_header_stdc = yes; then
7408   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7410 /* end confdefs.h.  */
7411 #include <string.h>
7412
7413 _ACEOF
7414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7415   $EGREP "memchr" >/dev/null 2>&1; then :
7416
7417 else
7418   ac_cv_header_stdc=no
7419 fi
7420 rm -f conftest*
7421
7422 fi
7423
7424 if test $ac_cv_header_stdc = yes; then
7425   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h.  */
7428 #include <stdlib.h>
7429
7430 _ACEOF
7431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7432   $EGREP "free" >/dev/null 2>&1; then :
7433
7434 else
7435   ac_cv_header_stdc=no
7436 fi
7437 rm -f conftest*
7438
7439 fi
7440
7441 if test $ac_cv_header_stdc = yes; then
7442   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7443   if test "$cross_compiling" = yes; then :
7444   :
7445 else
7446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h.  */
7448 #include <ctype.h>
7449 #include <stdlib.h>
7450 #if ((' ' & 0x0FF) == 0x020)
7451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7453 #else
7454 # define ISLOWER(c) \
7455                    (('a' <= (c) && (c) <= 'i') \
7456                      || ('j' <= (c) && (c) <= 'r') \
7457                      || ('s' <= (c) && (c) <= 'z'))
7458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7459 #endif
7460
7461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7462 int
7463 main ()
7464 {
7465   int i;
7466   for (i = 0; i < 256; i++)
7467     if (XOR (islower (i), ISLOWER (i))
7468         || toupper (i) != TOUPPER (i))
7469       return 2;
7470   return 0;
7471 }
7472 _ACEOF
7473 if ac_fn_c_try_run "$LINENO"; then :
7474
7475 else
7476   ac_cv_header_stdc=no
7477 fi
7478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7479   conftest.$ac_objext conftest.beam conftest.$ac_ext
7480 fi
7481
7482 fi
7483 fi
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7485 $as_echo "$ac_cv_header_stdc" >&6; }
7486 if test $ac_cv_header_stdc = yes; then
7487
7488 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7489
7490 fi
7491
7492 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7493 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7494                   inttypes.h stdint.h unistd.h
7495 do :
7496   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7497 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7498 "
7499 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7500   cat >>confdefs.h <<_ACEOF
7501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7502 _ACEOF
7503
7504 fi
7505
7506 done
7507
7508
7509 for ac_header in dlfcn.h
7510 do :
7511   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7512 "
7513 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7514   cat >>confdefs.h <<_ACEOF
7515 #define HAVE_DLFCN_H 1
7516 _ACEOF
7517
7518 fi
7519
7520 done
7521
7522
7523
7524
7525
7526 # Set options
7527
7528
7529
7530         enable_dlopen=no
7531
7532
7533   enable_win32_dll=no
7534
7535
7536             # Check whether --enable-shared was given.
7537 if test "${enable_shared+set}" = set; then :
7538   enableval=$enable_shared; p=${PACKAGE-default}
7539     case $enableval in
7540     yes) enable_shared=yes ;;
7541     no) enable_shared=no ;;
7542     *)
7543       enable_shared=no
7544       # Look at the argument we got.  We use all the common list separators.
7545       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7546       for pkg in $enableval; do
7547         IFS="$lt_save_ifs"
7548         if test "X$pkg" = "X$p"; then
7549           enable_shared=yes
7550         fi
7551       done
7552       IFS="$lt_save_ifs"
7553       ;;
7554     esac
7555 else
7556   enable_shared=yes
7557 fi
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567   # Check whether --enable-static was given.
7568 if test "${enable_static+set}" = set; then :
7569   enableval=$enable_static; p=${PACKAGE-default}
7570     case $enableval in
7571     yes) enable_static=yes ;;
7572     no) enable_static=no ;;
7573     *)
7574      enable_static=no
7575       # Look at the argument we got.  We use all the common list separators.
7576       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7577       for pkg in $enableval; do
7578         IFS="$lt_save_ifs"
7579         if test "X$pkg" = "X$p"; then
7580           enable_static=yes
7581         fi
7582       done
7583       IFS="$lt_save_ifs"
7584       ;;
7585     esac
7586 else
7587   enable_static=yes
7588 fi
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599 # Check whether --with-pic was given.
7600 if test "${with_pic+set}" = set; then :
7601   withval=$with_pic; lt_p=${PACKAGE-default}
7602     case $withval in
7603     yes|no) pic_mode=$withval ;;
7604     *)
7605       pic_mode=default
7606       # Look at the argument we got.  We use all the common list separators.
7607       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7608       for lt_pkg in $withval; do
7609         IFS="$lt_save_ifs"
7610         if test "X$lt_pkg" = "X$lt_p"; then
7611           pic_mode=yes
7612         fi
7613       done
7614       IFS="$lt_save_ifs"
7615       ;;
7616     esac
7617 else
7618   pic_mode=default
7619 fi
7620
7621
7622 test -z "$pic_mode" && pic_mode=default
7623
7624
7625
7626
7627
7628
7629
7630   # Check whether --enable-fast-install was given.
7631 if test "${enable_fast_install+set}" = set; then :
7632   enableval=$enable_fast_install; p=${PACKAGE-default}
7633     case $enableval in
7634     yes) enable_fast_install=yes ;;
7635     no) enable_fast_install=no ;;
7636     *)
7637       enable_fast_install=no
7638       # Look at the argument we got.  We use all the common list separators.
7639       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7640       for pkg in $enableval; do
7641         IFS="$lt_save_ifs"
7642         if test "X$pkg" = "X$p"; then
7643           enable_fast_install=yes
7644         fi
7645       done
7646       IFS="$lt_save_ifs"
7647       ;;
7648     esac
7649 else
7650   enable_fast_install=yes
7651 fi
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663 # This can be used to rebuild libtool when needed
7664 LIBTOOL_DEPS="$ltmain"
7665
7666 # Always use our own libtool.
7667 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
7697
7698 test -z "$LN_S" && LN_S="ln -s"
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713 if test -n "${ZSH_VERSION+set}" ; then
7714    setopt NO_GLOB_SUBST
7715 fi
7716
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7718 $as_echo_n "checking for objdir... " >&6; }
7719 if ${lt_cv_objdir+:} false; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   rm -f .libs 2>/dev/null
7723 mkdir .libs 2>/dev/null
7724 if test -d .libs; then
7725   lt_cv_objdir=.libs
7726 else
7727   # MS-DOS does not allow filenames that begin with a dot.
7728   lt_cv_objdir=_libs
7729 fi
7730 rmdir .libs 2>/dev/null
7731 fi
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7733 $as_echo "$lt_cv_objdir" >&6; }
7734 objdir=$lt_cv_objdir
7735
7736
7737
7738
7739
7740 cat >>confdefs.h <<_ACEOF
7741 #define LT_OBJDIR "$lt_cv_objdir/"
7742 _ACEOF
7743
7744
7745
7746
7747 case $host_os in
7748 aix3*)
7749   # AIX sometimes has problems with the GCC collect2 program.  For some
7750   # reason, if we set the COLLECT_NAMES environment variable, the problems
7751   # vanish in a puff of smoke.
7752   if test "X${COLLECT_NAMES+set}" != Xset; then
7753     COLLECT_NAMES=
7754     export COLLECT_NAMES
7755   fi
7756   ;;
7757 esac
7758
7759 # Global variables:
7760 ofile=libtool
7761 can_build_shared=yes
7762
7763 # All known linkers require a `.a' archive for static linking (except MSVC,
7764 # which needs '.lib').
7765 libext=a
7766
7767 with_gnu_ld="$lt_cv_prog_gnu_ld"
7768
7769 old_CC="$CC"
7770 old_CFLAGS="$CFLAGS"
7771
7772 # Set sane defaults for various variables
7773 test -z "$CC" && CC=cc
7774 test -z "$LTCC" && LTCC=$CC
7775 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7776 test -z "$LD" && LD=ld
7777 test -z "$ac_objext" && ac_objext=o
7778
7779 for cc_temp in $compiler""; do
7780   case $cc_temp in
7781     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7782     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7783     \-*) ;;
7784     *) break;;
7785   esac
7786 done
7787 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7788
7789
7790 # Only perform the check for file, if the check method requires it
7791 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7792 case $deplibs_check_method in
7793 file_magic*)
7794   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7796 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7797 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7798   $as_echo_n "(cached) " >&6
7799 else
7800   case $MAGIC_CMD in
7801 [\\/*] |  ?:[\\/]*)
7802   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7803   ;;
7804 *)
7805   lt_save_MAGIC_CMD="$MAGIC_CMD"
7806   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7807   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7808   for ac_dir in $ac_dummy; do
7809     IFS="$lt_save_ifs"
7810     test -z "$ac_dir" && ac_dir=.
7811     if test -f $ac_dir/${ac_tool_prefix}file; then
7812       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7813       if test -n "$file_magic_test_file"; then
7814         case $deplibs_check_method in
7815         "file_magic "*)
7816           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7817           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7818           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7819             $EGREP "$file_magic_regex" > /dev/null; then
7820             :
7821           else
7822             cat <<_LT_EOF 1>&2
7823
7824 *** Warning: the command libtool uses to detect shared libraries,
7825 *** $file_magic_cmd, produces output that libtool cannot recognize.
7826 *** The result is that libtool may fail to recognize shared libraries
7827 *** as such.  This will affect the creation of libtool libraries that
7828 *** depend on shared libraries, but programs linked with such libtool
7829 *** libraries will work regardless of this problem.  Nevertheless, you
7830 *** may want to report the problem to your system manager and/or to
7831 *** bug-libtool@gnu.org
7832
7833 _LT_EOF
7834           fi ;;
7835         esac
7836       fi
7837       break
7838     fi
7839   done
7840   IFS="$lt_save_ifs"
7841   MAGIC_CMD="$lt_save_MAGIC_CMD"
7842   ;;
7843 esac
7844 fi
7845
7846 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7847 if test -n "$MAGIC_CMD"; then
7848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7849 $as_echo "$MAGIC_CMD" >&6; }
7850 else
7851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7853 fi
7854
7855
7856
7857
7858
7859 if test -z "$lt_cv_path_MAGIC_CMD"; then
7860   if test -n "$ac_tool_prefix"; then
7861     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7862 $as_echo_n "checking for file... " >&6; }
7863 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7864   $as_echo_n "(cached) " >&6
7865 else
7866   case $MAGIC_CMD in
7867 [\\/*] |  ?:[\\/]*)
7868   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7869   ;;
7870 *)
7871   lt_save_MAGIC_CMD="$MAGIC_CMD"
7872   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7873   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7874   for ac_dir in $ac_dummy; do
7875     IFS="$lt_save_ifs"
7876     test -z "$ac_dir" && ac_dir=.
7877     if test -f $ac_dir/file; then
7878       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7879       if test -n "$file_magic_test_file"; then
7880         case $deplibs_check_method in
7881         "file_magic "*)
7882           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7883           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7884           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7885             $EGREP "$file_magic_regex" > /dev/null; then
7886             :
7887           else
7888             cat <<_LT_EOF 1>&2
7889
7890 *** Warning: the command libtool uses to detect shared libraries,
7891 *** $file_magic_cmd, produces output that libtool cannot recognize.
7892 *** The result is that libtool may fail to recognize shared libraries
7893 *** as such.  This will affect the creation of libtool libraries that
7894 *** depend on shared libraries, but programs linked with such libtool
7895 *** libraries will work regardless of this problem.  Nevertheless, you
7896 *** may want to report the problem to your system manager and/or to
7897 *** bug-libtool@gnu.org
7898
7899 _LT_EOF
7900           fi ;;
7901         esac
7902       fi
7903       break
7904     fi
7905   done
7906   IFS="$lt_save_ifs"
7907   MAGIC_CMD="$lt_save_MAGIC_CMD"
7908   ;;
7909 esac
7910 fi
7911
7912 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7913 if test -n "$MAGIC_CMD"; then
7914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7915 $as_echo "$MAGIC_CMD" >&6; }
7916 else
7917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918 $as_echo "no" >&6; }
7919 fi
7920
7921
7922   else
7923     MAGIC_CMD=:
7924   fi
7925 fi
7926
7927   fi
7928   ;;
7929 esac
7930
7931 # Use C for the default configuration in the libtool script
7932
7933 lt_save_CC="$CC"
7934 ac_ext=c
7935 ac_cpp='$CPP $CPPFLAGS'
7936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7939
7940
7941 # Source file extension for C test sources.
7942 ac_ext=c
7943
7944 # Object file extension for compiled C test sources.
7945 objext=o
7946 objext=$objext
7947
7948 # Code to be used in simple compile tests
7949 lt_simple_compile_test_code="int some_variable = 0;"
7950
7951 # Code to be used in simple link tests
7952 lt_simple_link_test_code='int main(){return(0);}'
7953
7954
7955
7956
7957
7958
7959
7960 # If no C compiler was specified, use CC.
7961 LTCC=${LTCC-"$CC"}
7962
7963 # If no C compiler flags were specified, use CFLAGS.
7964 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7965
7966 # Allow CC to be a program name with arguments.
7967 compiler=$CC
7968
7969 # Save the default compiler, since it gets overwritten when the other
7970 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7971 compiler_DEFAULT=$CC
7972
7973 # save warnings/boilerplate of simple test code
7974 ac_outfile=conftest.$ac_objext
7975 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7977 _lt_compiler_boilerplate=`cat conftest.err`
7978 $RM conftest*
7979
7980 ac_outfile=conftest.$ac_objext
7981 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7983 _lt_linker_boilerplate=`cat conftest.err`
7984 $RM -r conftest*
7985
7986
7987 ## CAVEAT EMPTOR:
7988 ## There is no encapsulation within the following macros, do not change
7989 ## the running order or otherwise move them around unless you know exactly
7990 ## what you are doing...
7991 if test -n "$compiler"; then
7992
7993 lt_prog_compiler_no_builtin_flag=
7994
7995 if test "$GCC" = yes; then
7996   case $cc_basename in
7997   nvcc*)
7998     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7999   *)
8000     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8001   esac
8002
8003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8004 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8005 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8006   $as_echo_n "(cached) " >&6
8007 else
8008   lt_cv_prog_compiler_rtti_exceptions=no
8009    ac_outfile=conftest.$ac_objext
8010    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8011    lt_compiler_flag="-fno-rtti -fno-exceptions"
8012    # Insert the option either (1) after the last *FLAGS variable, or
8013    # (2) before a word containing "conftest.", or (3) at the end.
8014    # Note that $ac_compile itself does not contain backslashes and begins
8015    # with a dollar sign (not a hyphen), so the echo should work correctly.
8016    # The option is referenced via a variable to avoid confusing sed.
8017    lt_compile=`echo "$ac_compile" | $SED \
8018    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8019    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8020    -e 's:$: $lt_compiler_flag:'`
8021    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8022    (eval "$lt_compile" 2>conftest.err)
8023    ac_status=$?
8024    cat conftest.err >&5
8025    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026    if (exit $ac_status) && test -s "$ac_outfile"; then
8027      # The compiler can only warn and ignore the option if not recognized
8028      # So say no if there are warnings other than the usual output.
8029      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8030      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8031      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8032        lt_cv_prog_compiler_rtti_exceptions=yes
8033      fi
8034    fi
8035    $RM conftest*
8036
8037 fi
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8039 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8040
8041 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8042     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8043 else
8044     :
8045 fi
8046
8047 fi
8048
8049
8050
8051
8052
8053
8054   lt_prog_compiler_wl=
8055 lt_prog_compiler_pic=
8056 lt_prog_compiler_static=
8057
8058
8059   if test "$GCC" = yes; then
8060     lt_prog_compiler_wl='-Wl,'
8061     lt_prog_compiler_static='-static'
8062
8063     case $host_os in
8064       aix*)
8065       # All AIX code is PIC.
8066       if test "$host_cpu" = ia64; then
8067         # AIX 5 now supports IA64 processor
8068         lt_prog_compiler_static='-Bstatic'
8069       fi
8070       ;;
8071
8072     amigaos*)
8073       case $host_cpu in
8074       powerpc)
8075             # see comment about AmigaOS4 .so support
8076             lt_prog_compiler_pic='-fPIC'
8077         ;;
8078       m68k)
8079             # FIXME: we need at least 68020 code to build shared libraries, but
8080             # adding the `-m68020' flag to GCC prevents building anything better,
8081             # like `-m68040'.
8082             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8083         ;;
8084       esac
8085       ;;
8086
8087     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8088       # PIC is the default for these OSes.
8089       ;;
8090
8091     mingw* | cygwin* | pw32* | os2* | cegcc*)
8092       # This hack is so that the source file can tell whether it is being
8093       # built for inclusion in a dll (and should export symbols for example).
8094       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8095       # (--disable-auto-import) libraries
8096       lt_prog_compiler_pic='-DDLL_EXPORT'
8097       ;;
8098
8099     darwin* | rhapsody*)
8100       # PIC is the default on this platform
8101       # Common symbols not allowed in MH_DYLIB files
8102       lt_prog_compiler_pic='-fno-common'
8103       ;;
8104
8105     haiku*)
8106       # PIC is the default for Haiku.
8107       # The "-static" flag exists, but is broken.
8108       lt_prog_compiler_static=
8109       ;;
8110
8111     hpux*)
8112       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8113       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8114       # sets the default TLS model and affects inlining.
8115       case $host_cpu in
8116       hppa*64*)
8117         # +Z the default
8118         ;;
8119       *)
8120         lt_prog_compiler_pic='-fPIC'
8121         ;;
8122       esac
8123       ;;
8124
8125     interix[3-9]*)
8126       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8127       # Instead, we relocate shared libraries at runtime.
8128       ;;
8129
8130     msdosdjgpp*)
8131       # Just because we use GCC doesn't mean we suddenly get shared libraries
8132       # on systems that don't support them.
8133       lt_prog_compiler_can_build_shared=no
8134       enable_shared=no
8135       ;;
8136
8137     *nto* | *qnx*)
8138       # QNX uses GNU C++, but need to define -shared option too, otherwise
8139       # it will coredump.
8140       lt_prog_compiler_pic='-fPIC -shared'
8141       ;;
8142
8143     sysv4*MP*)
8144       if test -d /usr/nec; then
8145         lt_prog_compiler_pic=-Kconform_pic
8146       fi
8147       ;;
8148
8149     *)
8150       lt_prog_compiler_pic='-fPIC'
8151       ;;
8152     esac
8153
8154     case $cc_basename in
8155     nvcc*) # Cuda Compiler Driver 2.2
8156       lt_prog_compiler_wl='-Xlinker '
8157       if test -n "$lt_prog_compiler_pic"; then
8158         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8159       fi
8160       ;;
8161     esac
8162   else
8163     # PORTME Check for flag to pass linker flags through the system compiler.
8164     case $host_os in
8165     aix*)
8166       lt_prog_compiler_wl='-Wl,'
8167       if test "$host_cpu" = ia64; then
8168         # AIX 5 now supports IA64 processor
8169         lt_prog_compiler_static='-Bstatic'
8170       else
8171         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8172       fi
8173       ;;
8174
8175     mingw* | cygwin* | pw32* | os2* | cegcc*)
8176       # This hack is so that the source file can tell whether it is being
8177       # built for inclusion in a dll (and should export symbols for example).
8178       lt_prog_compiler_pic='-DDLL_EXPORT'
8179       ;;
8180
8181     hpux9* | hpux10* | hpux11*)
8182       lt_prog_compiler_wl='-Wl,'
8183       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8184       # not for PA HP-UX.
8185       case $host_cpu in
8186       hppa*64*|ia64*)
8187         # +Z the default
8188         ;;
8189       *)
8190         lt_prog_compiler_pic='+Z'
8191         ;;
8192       esac
8193       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8194       lt_prog_compiler_static='${wl}-a ${wl}archive'
8195       ;;
8196
8197     irix5* | irix6* | nonstopux*)
8198       lt_prog_compiler_wl='-Wl,'
8199       # PIC (with -KPIC) is the default.
8200       lt_prog_compiler_static='-non_shared'
8201       ;;
8202
8203     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8204       case $cc_basename in
8205       # old Intel for x86_64 which still supported -KPIC.
8206       ecc*)
8207         lt_prog_compiler_wl='-Wl,'
8208         lt_prog_compiler_pic='-KPIC'
8209         lt_prog_compiler_static='-static'
8210         ;;
8211       # icc used to be incompatible with GCC.
8212       # ICC 10 doesn't accept -KPIC any more.
8213       icc* | ifort*)
8214         lt_prog_compiler_wl='-Wl,'
8215         lt_prog_compiler_pic='-fPIC'
8216         lt_prog_compiler_static='-static'
8217         ;;
8218       # Lahey Fortran 8.1.
8219       lf95*)
8220         lt_prog_compiler_wl='-Wl,'
8221         lt_prog_compiler_pic='--shared'
8222         lt_prog_compiler_static='--static'
8223         ;;
8224       nagfor*)
8225         # NAG Fortran compiler
8226         lt_prog_compiler_wl='-Wl,-Wl,,'
8227         lt_prog_compiler_pic='-PIC'
8228         lt_prog_compiler_static='-Bstatic'
8229         ;;
8230       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8231         # Portland Group compilers (*not* the Pentium gcc compiler,
8232         # which looks to be a dead project)
8233         lt_prog_compiler_wl='-Wl,'
8234         lt_prog_compiler_pic='-fpic'
8235         lt_prog_compiler_static='-Bstatic'
8236         ;;
8237       ccc*)
8238         lt_prog_compiler_wl='-Wl,'
8239         # All Alpha code is PIC.
8240         lt_prog_compiler_static='-non_shared'
8241         ;;
8242       xl* | bgxl* | bgf* | mpixl*)
8243         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8244         lt_prog_compiler_wl='-Wl,'
8245         lt_prog_compiler_pic='-qpic'
8246         lt_prog_compiler_static='-qstaticlink'
8247         ;;
8248       *)
8249         case `$CC -V 2>&1 | sed 5q` in
8250         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8251           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8252           lt_prog_compiler_pic='-KPIC'
8253           lt_prog_compiler_static='-Bstatic'
8254           lt_prog_compiler_wl=''
8255           ;;
8256         *Sun\ F* | *Sun*Fortran*)
8257           lt_prog_compiler_pic='-KPIC'
8258           lt_prog_compiler_static='-Bstatic'
8259           lt_prog_compiler_wl='-Qoption ld '
8260           ;;
8261         *Sun\ C*)
8262           # Sun C 5.9
8263           lt_prog_compiler_pic='-KPIC'
8264           lt_prog_compiler_static='-Bstatic'
8265           lt_prog_compiler_wl='-Wl,'
8266           ;;
8267         *Intel*\ [CF]*Compiler*)
8268           lt_prog_compiler_wl='-Wl,'
8269           lt_prog_compiler_pic='-fPIC'
8270           lt_prog_compiler_static='-static'
8271           ;;
8272         *Portland\ Group*)
8273           lt_prog_compiler_wl='-Wl,'
8274           lt_prog_compiler_pic='-fpic'
8275           lt_prog_compiler_static='-Bstatic'
8276           ;;
8277         esac
8278         ;;
8279       esac
8280       ;;
8281
8282     newsos6)
8283       lt_prog_compiler_pic='-KPIC'
8284       lt_prog_compiler_static='-Bstatic'
8285       ;;
8286
8287     *nto* | *qnx*)
8288       # QNX uses GNU C++, but need to define -shared option too, otherwise
8289       # it will coredump.
8290       lt_prog_compiler_pic='-fPIC -shared'
8291       ;;
8292
8293     osf3* | osf4* | osf5*)
8294       lt_prog_compiler_wl='-Wl,'
8295       # All OSF/1 code is PIC.
8296       lt_prog_compiler_static='-non_shared'
8297       ;;
8298
8299     rdos*)
8300       lt_prog_compiler_static='-non_shared'
8301       ;;
8302
8303     solaris*)
8304       lt_prog_compiler_pic='-KPIC'
8305       lt_prog_compiler_static='-Bstatic'
8306       case $cc_basename in
8307       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8308         lt_prog_compiler_wl='-Qoption ld ';;
8309       *)
8310         lt_prog_compiler_wl='-Wl,';;
8311       esac
8312       ;;
8313
8314     sunos4*)
8315       lt_prog_compiler_wl='-Qoption ld '
8316       lt_prog_compiler_pic='-PIC'
8317       lt_prog_compiler_static='-Bstatic'
8318       ;;
8319
8320     sysv4 | sysv4.2uw2* | sysv4.3*)
8321       lt_prog_compiler_wl='-Wl,'
8322       lt_prog_compiler_pic='-KPIC'
8323       lt_prog_compiler_static='-Bstatic'
8324       ;;
8325
8326     sysv4*MP*)
8327       if test -d /usr/nec ;then
8328         lt_prog_compiler_pic='-Kconform_pic'
8329         lt_prog_compiler_static='-Bstatic'
8330       fi
8331       ;;
8332
8333     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8334       lt_prog_compiler_wl='-Wl,'
8335       lt_prog_compiler_pic='-KPIC'
8336       lt_prog_compiler_static='-Bstatic'
8337       ;;
8338
8339     unicos*)
8340       lt_prog_compiler_wl='-Wl,'
8341       lt_prog_compiler_can_build_shared=no
8342       ;;
8343
8344     uts4*)
8345       lt_prog_compiler_pic='-pic'
8346       lt_prog_compiler_static='-Bstatic'
8347       ;;
8348
8349     *)
8350       lt_prog_compiler_can_build_shared=no
8351       ;;
8352     esac
8353   fi
8354
8355 case $host_os in
8356   # For platforms which do not support PIC, -DPIC is meaningless:
8357   *djgpp*)
8358     lt_prog_compiler_pic=
8359     ;;
8360   *)
8361     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8362     ;;
8363 esac
8364
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8366 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8367 if ${lt_cv_prog_compiler_pic+:} false; then :
8368   $as_echo_n "(cached) " >&6
8369 else
8370   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8371 fi
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8373 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8374 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8375
8376 #
8377 # Check to make sure the PIC flag actually works.
8378 #
8379 if test -n "$lt_prog_compiler_pic"; then
8380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8381 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8382 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8383   $as_echo_n "(cached) " >&6
8384 else
8385   lt_cv_prog_compiler_pic_works=no
8386    ac_outfile=conftest.$ac_objext
8387    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8388    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8389    # Insert the option either (1) after the last *FLAGS variable, or
8390    # (2) before a word containing "conftest.", or (3) at the end.
8391    # Note that $ac_compile itself does not contain backslashes and begins
8392    # with a dollar sign (not a hyphen), so the echo should work correctly.
8393    # The option is referenced via a variable to avoid confusing sed.
8394    lt_compile=`echo "$ac_compile" | $SED \
8395    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8396    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8397    -e 's:$: $lt_compiler_flag:'`
8398    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8399    (eval "$lt_compile" 2>conftest.err)
8400    ac_status=$?
8401    cat conftest.err >&5
8402    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403    if (exit $ac_status) && test -s "$ac_outfile"; then
8404      # The compiler can only warn and ignore the option if not recognized
8405      # So say no if there are warnings other than the usual output.
8406      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8407      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8408      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8409        lt_cv_prog_compiler_pic_works=yes
8410      fi
8411    fi
8412    $RM conftest*
8413
8414 fi
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8416 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8417
8418 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8419     case $lt_prog_compiler_pic in
8420      "" | " "*) ;;
8421      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8422      esac
8423 else
8424     lt_prog_compiler_pic=
8425      lt_prog_compiler_can_build_shared=no
8426 fi
8427
8428 fi
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440 #
8441 # Check to make sure the static flag actually works.
8442 #
8443 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8445 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8446 if ${lt_cv_prog_compiler_static_works+:} false; then :
8447   $as_echo_n "(cached) " >&6
8448 else
8449   lt_cv_prog_compiler_static_works=no
8450    save_LDFLAGS="$LDFLAGS"
8451    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8452    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8453    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8454      # The linker can only warn and ignore the option if not recognized
8455      # So say no if there are warnings
8456      if test -s conftest.err; then
8457        # Append any errors to the config.log.
8458        cat conftest.err 1>&5
8459        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8460        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8461        if diff conftest.exp conftest.er2 >/dev/null; then
8462          lt_cv_prog_compiler_static_works=yes
8463        fi
8464      else
8465        lt_cv_prog_compiler_static_works=yes
8466      fi
8467    fi
8468    $RM -r conftest*
8469    LDFLAGS="$save_LDFLAGS"
8470
8471 fi
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8473 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8474
8475 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8476     :
8477 else
8478     lt_prog_compiler_static=
8479 fi
8480
8481
8482
8483
8484
8485
8486
8487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8488 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8489 if ${lt_cv_prog_compiler_c_o+:} false; then :
8490   $as_echo_n "(cached) " >&6
8491 else
8492   lt_cv_prog_compiler_c_o=no
8493    $RM -r conftest 2>/dev/null
8494    mkdir conftest
8495    cd conftest
8496    mkdir out
8497    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8498
8499    lt_compiler_flag="-o out/conftest2.$ac_objext"
8500    # Insert the option either (1) after the last *FLAGS variable, or
8501    # (2) before a word containing "conftest.", or (3) at the end.
8502    # Note that $ac_compile itself does not contain backslashes and begins
8503    # with a dollar sign (not a hyphen), so the echo should work correctly.
8504    lt_compile=`echo "$ac_compile" | $SED \
8505    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8506    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8507    -e 's:$: $lt_compiler_flag:'`
8508    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8509    (eval "$lt_compile" 2>out/conftest.err)
8510    ac_status=$?
8511    cat out/conftest.err >&5
8512    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8514    then
8515      # The compiler can only warn and ignore the option if not recognized
8516      # So say no if there are warnings
8517      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8518      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8519      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8520        lt_cv_prog_compiler_c_o=yes
8521      fi
8522    fi
8523    chmod u+w . 2>&5
8524    $RM conftest*
8525    # SGI C++ compiler will create directory out/ii_files/ for
8526    # template instantiation
8527    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8528    $RM out/* && rmdir out
8529    cd ..
8530    $RM -r conftest
8531    $RM conftest*
8532
8533 fi
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8535 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8536
8537
8538
8539
8540
8541
8542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8543 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8544 if ${lt_cv_prog_compiler_c_o+:} false; then :
8545   $as_echo_n "(cached) " >&6
8546 else
8547   lt_cv_prog_compiler_c_o=no
8548    $RM -r conftest 2>/dev/null
8549    mkdir conftest
8550    cd conftest
8551    mkdir out
8552    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8553
8554    lt_compiler_flag="-o out/conftest2.$ac_objext"
8555    # Insert the option either (1) after the last *FLAGS variable, or
8556    # (2) before a word containing "conftest.", or (3) at the end.
8557    # Note that $ac_compile itself does not contain backslashes and begins
8558    # with a dollar sign (not a hyphen), so the echo should work correctly.
8559    lt_compile=`echo "$ac_compile" | $SED \
8560    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8561    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8562    -e 's:$: $lt_compiler_flag:'`
8563    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8564    (eval "$lt_compile" 2>out/conftest.err)
8565    ac_status=$?
8566    cat out/conftest.err >&5
8567    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8569    then
8570      # The compiler can only warn and ignore the option if not recognized
8571      # So say no if there are warnings
8572      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8573      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8574      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8575        lt_cv_prog_compiler_c_o=yes
8576      fi
8577    fi
8578    chmod u+w . 2>&5
8579    $RM conftest*
8580    # SGI C++ compiler will create directory out/ii_files/ for
8581    # template instantiation
8582    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8583    $RM out/* && rmdir out
8584    cd ..
8585    $RM -r conftest
8586    $RM conftest*
8587
8588 fi
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8590 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8591
8592
8593
8594
8595 hard_links="nottested"
8596 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8597   # do not overwrite the value of need_locks provided by the user
8598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8599 $as_echo_n "checking if we can lock with hard links... " >&6; }
8600   hard_links=yes
8601   $RM conftest*
8602   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8603   touch conftest.a
8604   ln conftest.a conftest.b 2>&5 || hard_links=no
8605   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8607 $as_echo "$hard_links" >&6; }
8608   if test "$hard_links" = no; then
8609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8610 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8611     need_locks=warn
8612   fi
8613 else
8614   need_locks=no
8615 fi
8616
8617
8618
8619
8620
8621
8622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8623 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8624
8625   runpath_var=
8626   allow_undefined_flag=
8627   always_export_symbols=no
8628   archive_cmds=
8629   archive_expsym_cmds=
8630   compiler_needs_object=no
8631   enable_shared_with_static_runtimes=no
8632   export_dynamic_flag_spec=
8633   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8634   hardcode_automatic=no
8635   hardcode_direct=no
8636   hardcode_direct_absolute=no
8637   hardcode_libdir_flag_spec=
8638   hardcode_libdir_separator=
8639   hardcode_minus_L=no
8640   hardcode_shlibpath_var=unsupported
8641   inherit_rpath=no
8642   link_all_deplibs=unknown
8643   module_cmds=
8644   module_expsym_cmds=
8645   old_archive_from_new_cmds=
8646   old_archive_from_expsyms_cmds=
8647   thread_safe_flag_spec=
8648   whole_archive_flag_spec=
8649   # include_expsyms should be a list of space-separated symbols to be *always*
8650   # included in the symbol list
8651   include_expsyms=
8652   # exclude_expsyms can be an extended regexp of symbols to exclude
8653   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8654   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8655   # as well as any symbol that contains `d'.
8656   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8657   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8658   # platforms (ab)use it in PIC code, but their linkers get confused if
8659   # the symbol is explicitly referenced.  Since portable code cannot
8660   # rely on this symbol name, it's probably fine to never include it in
8661   # preloaded symbol tables.
8662   # Exclude shared library initialization/finalization symbols.
8663   extract_expsyms_cmds=
8664
8665   case $host_os in
8666   cygwin* | mingw* | pw32* | cegcc*)
8667     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8668     # When not using gcc, we currently assume that we are using
8669     # Microsoft Visual C++.
8670     if test "$GCC" != yes; then
8671       with_gnu_ld=no
8672     fi
8673     ;;
8674   interix*)
8675     # we just hope/assume this is gcc and not c89 (= MSVC++)
8676     with_gnu_ld=yes
8677     ;;
8678   openbsd*)
8679     with_gnu_ld=no
8680     ;;
8681   linux* | k*bsd*-gnu | gnu*)
8682     link_all_deplibs=no
8683     ;;
8684   esac
8685
8686   ld_shlibs=yes
8687
8688   # On some targets, GNU ld is compatible enough with the native linker
8689   # that we're better off using the native interface for both.
8690   lt_use_gnu_ld_interface=no
8691   if test "$with_gnu_ld" = yes; then
8692     case $host_os in
8693       aix*)
8694         # The AIX port of GNU ld has always aspired to compatibility
8695         # with the native linker.  However, as the warning in the GNU ld
8696         # block says, versions before 2.19.5* couldn't really create working
8697         # shared libraries, regardless of the interface used.
8698         case `$LD -v 2>&1` in
8699           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8700           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8701           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8702           *)
8703             lt_use_gnu_ld_interface=yes
8704             ;;
8705         esac
8706         ;;
8707       *)
8708         lt_use_gnu_ld_interface=yes
8709         ;;
8710     esac
8711   fi
8712
8713   if test "$lt_use_gnu_ld_interface" = yes; then
8714     # If archive_cmds runs LD, not CC, wlarc should be empty
8715     wlarc='${wl}'
8716
8717     # Set some defaults for GNU ld with shared library support. These
8718     # are reset later if shared libraries are not supported. Putting them
8719     # here allows them to be overridden if necessary.
8720     runpath_var=LD_RUN_PATH
8721     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8722     export_dynamic_flag_spec='${wl}--export-dynamic'
8723     # ancient GNU ld didn't support --whole-archive et. al.
8724     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8725       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8726     else
8727       whole_archive_flag_spec=
8728     fi
8729     supports_anon_versioning=no
8730     case `$LD -v 2>&1` in
8731       *GNU\ gold*) supports_anon_versioning=yes ;;
8732       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8733       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8734       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8735       *\ 2.11.*) ;; # other 2.11 versions
8736       *) supports_anon_versioning=yes ;;
8737     esac
8738
8739     # See if GNU ld supports shared libraries.
8740     case $host_os in
8741     aix[3-9]*)
8742       # On AIX/PPC, the GNU linker is very broken
8743       if test "$host_cpu" != ia64; then
8744         ld_shlibs=no
8745         cat <<_LT_EOF 1>&2
8746
8747 *** Warning: the GNU linker, at least up to release 2.19, is reported
8748 *** to be unable to reliably create shared libraries on AIX.
8749 *** Therefore, libtool is disabling shared libraries support.  If you
8750 *** really care for shared libraries, you may want to install binutils
8751 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8752 *** You will then need to restart the configuration process.
8753
8754 _LT_EOF
8755       fi
8756       ;;
8757
8758     amigaos*)
8759       case $host_cpu in
8760       powerpc)
8761             # see comment about AmigaOS4 .so support
8762             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8763             archive_expsym_cmds=''
8764         ;;
8765       m68k)
8766             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)'
8767             hardcode_libdir_flag_spec='-L$libdir'
8768             hardcode_minus_L=yes
8769         ;;
8770       esac
8771       ;;
8772
8773     beos*)
8774       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8775         allow_undefined_flag=unsupported
8776         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8777         # support --undefined.  This deserves some investigation.  FIXME
8778         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8779       else
8780         ld_shlibs=no
8781       fi
8782       ;;
8783
8784     cygwin* | mingw* | pw32* | cegcc*)
8785       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8786       # as there is no search path for DLLs.
8787       hardcode_libdir_flag_spec='-L$libdir'
8788       export_dynamic_flag_spec='${wl}--export-all-symbols'
8789       allow_undefined_flag=unsupported
8790       always_export_symbols=no
8791       enable_shared_with_static_runtimes=yes
8792       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'
8793       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8794
8795       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8796         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8797         # If the export-symbols file already is a .def file (1st line
8798         # is EXPORTS), use it as is; otherwise, prepend...
8799         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8800           cp $export_symbols $output_objdir/$soname.def;
8801         else
8802           echo EXPORTS > $output_objdir/$soname.def;
8803           cat $export_symbols >> $output_objdir/$soname.def;
8804         fi~
8805         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8806       else
8807         ld_shlibs=no
8808       fi
8809       ;;
8810
8811     haiku*)
8812       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813       link_all_deplibs=yes
8814       ;;
8815
8816     interix[3-9]*)
8817       hardcode_direct=no
8818       hardcode_shlibpath_var=no
8819       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8820       export_dynamic_flag_spec='${wl}-E'
8821       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8822       # Instead, shared libraries are loaded at an image base (0x10000000 by
8823       # default) and relocated if they conflict, which is a slow very memory
8824       # consuming and fragmenting process.  To avoid this, we pick a random,
8825       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8826       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8827       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8828       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'
8829       ;;
8830
8831     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8832       tmp_diet=no
8833       if test "$host_os" = linux-dietlibc; then
8834         case $cc_basename in
8835           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8836         esac
8837       fi
8838       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8839          && test "$tmp_diet" = no
8840       then
8841         tmp_addflag=' $pic_flag'
8842         tmp_sharedflag='-shared'
8843         case $cc_basename,$host_cpu in
8844         pgcc*)                          # Portland Group C compiler
8845           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'
8846           tmp_addflag=' $pic_flag'
8847           ;;
8848         pgf77* | pgf90* | pgf95* | pgfortran*)
8849                                         # Portland Group f77 and f90 compilers
8850           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'
8851           tmp_addflag=' $pic_flag -Mnomain' ;;
8852         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8853           tmp_addflag=' -i_dynamic' ;;
8854         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8855           tmp_addflag=' -i_dynamic -nofor_main' ;;
8856         ifc* | ifort*)                  # Intel Fortran compiler
8857           tmp_addflag=' -nofor_main' ;;
8858         lf95*)                          # Lahey Fortran 8.1
8859           whole_archive_flag_spec=
8860           tmp_sharedflag='--shared' ;;
8861         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8862           tmp_sharedflag='-qmkshrobj'
8863           tmp_addflag= ;;
8864         nvcc*)  # Cuda Compiler Driver 2.2
8865           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'
8866           compiler_needs_object=yes
8867           ;;
8868         esac
8869         case `$CC -V 2>&1 | sed 5q` in
8870         *Sun\ C*)                       # Sun C 5.9
8871           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'
8872           compiler_needs_object=yes
8873           tmp_sharedflag='-G' ;;
8874         *Sun\ F*)                       # Sun Fortran 8.3
8875           tmp_sharedflag='-G' ;;
8876         esac
8877         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8878
8879         if test "x$supports_anon_versioning" = xyes; then
8880           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8881             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8882             echo "local: *; };" >> $output_objdir/$libname.ver~
8883             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8884         fi
8885
8886         case $cc_basename in
8887         xlf* | bgf* | bgxlf* | mpixlf*)
8888           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8889           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8890           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8891           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8892           if test "x$supports_anon_versioning" = xyes; then
8893             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8894               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8895               echo "local: *; };" >> $output_objdir/$libname.ver~
8896               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8897           fi
8898           ;;
8899         esac
8900       else
8901         ld_shlibs=no
8902       fi
8903       ;;
8904
8905     netbsd* | netbsdelf*-gnu)
8906       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8907         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8908         wlarc=
8909       else
8910         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8912       fi
8913       ;;
8914
8915     solaris*)
8916       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8917         ld_shlibs=no
8918         cat <<_LT_EOF 1>&2
8919
8920 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8921 *** create shared libraries on Solaris systems.  Therefore, libtool
8922 *** is disabling shared libraries support.  We urge you to upgrade GNU
8923 *** binutils to release 2.9.1 or newer.  Another option is to modify
8924 *** your PATH or compiler configuration so that the native linker is
8925 *** used, and then restart.
8926
8927 _LT_EOF
8928       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8929         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8930         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8931       else
8932         ld_shlibs=no
8933       fi
8934       ;;
8935
8936     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8937       case `$LD -v 2>&1` in
8938         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8939         ld_shlibs=no
8940         cat <<_LT_EOF 1>&2
8941
8942 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8943 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8944 *** is disabling shared libraries support.  We urge you to upgrade GNU
8945 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8946 *** your PATH or compiler configuration so that the native linker is
8947 *** used, and then restart.
8948
8949 _LT_EOF
8950         ;;
8951         *)
8952           # For security reasons, it is highly recommended that you always
8953           # use absolute paths for naming shared libraries, and exclude the
8954           # DT_RUNPATH tag from executables and libraries.  But doing so
8955           # requires that you compile everything twice, which is a pain.
8956           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8957             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8958             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8959             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8960           else
8961             ld_shlibs=no
8962           fi
8963         ;;
8964       esac
8965       ;;
8966
8967     sunos4*)
8968       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8969       wlarc=
8970       hardcode_direct=yes
8971       hardcode_shlibpath_var=no
8972       ;;
8973
8974     *)
8975       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8976         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8977         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8978       else
8979         ld_shlibs=no
8980       fi
8981       ;;
8982     esac
8983
8984     if test "$ld_shlibs" = no; then
8985       runpath_var=
8986       hardcode_libdir_flag_spec=
8987       export_dynamic_flag_spec=
8988       whole_archive_flag_spec=
8989     fi
8990   else
8991     # PORTME fill in a description of your system's linker (not GNU ld)
8992     case $host_os in
8993     aix3*)
8994       allow_undefined_flag=unsupported
8995       always_export_symbols=yes
8996       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'
8997       # Note: this linker hardcodes the directories in LIBPATH if there
8998       # are no directories specified by -L.
8999       hardcode_minus_L=yes
9000       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9001         # Neither direct hardcoding nor static linking is supported with a
9002         # broken collect2.
9003         hardcode_direct=unsupported
9004       fi
9005       ;;
9006
9007     aix[4-9]*)
9008       if test "$host_cpu" = ia64; then
9009         # On IA64, the linker does run time linking by default, so we don't
9010         # have to do anything special.
9011         aix_use_runtimelinking=no
9012         exp_sym_flag='-Bexport'
9013         no_entry_flag=""
9014       else
9015         # If we're using GNU nm, then we don't want the "-C" option.
9016         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9017         # Also, AIX nm treats weak defined symbols like other global
9018         # defined symbols, whereas GNU nm marks them as "W".
9019         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9020           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'
9021         else
9022           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'
9023         fi
9024         aix_use_runtimelinking=no
9025
9026         # Test if we are trying to use run time linking or normal
9027         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9028         # need to do runtime linking.
9029         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9030           for ld_flag in $LDFLAGS; do
9031           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9032             aix_use_runtimelinking=yes
9033             break
9034           fi
9035           done
9036           ;;
9037         esac
9038
9039         exp_sym_flag='-bexport'
9040         no_entry_flag='-bnoentry'
9041       fi
9042
9043       # When large executables or shared objects are built, AIX ld can
9044       # have problems creating the table of contents.  If linking a library
9045       # or program results in "error TOC overflow" add -mminimal-toc to
9046       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9047       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9048
9049       archive_cmds=''
9050       hardcode_direct=yes
9051       hardcode_direct_absolute=yes
9052       hardcode_libdir_separator=':'
9053       link_all_deplibs=yes
9054       file_list_spec='${wl}-f,'
9055
9056       if test "$GCC" = yes; then
9057         case $host_os in aix4.[012]|aix4.[012].*)
9058         # We only want to do this on AIX 4.2 and lower, the check
9059         # below for broken collect2 doesn't work under 4.3+
9060           collect2name=`${CC} -print-prog-name=collect2`
9061           if test -f "$collect2name" &&
9062            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9063           then
9064           # We have reworked collect2
9065           :
9066           else
9067           # We have old collect2
9068           hardcode_direct=unsupported
9069           # It fails to find uninstalled libraries when the uninstalled
9070           # path is not listed in the libpath.  Setting hardcode_minus_L
9071           # to unsupported forces relinking
9072           hardcode_minus_L=yes
9073           hardcode_libdir_flag_spec='-L$libdir'
9074           hardcode_libdir_separator=
9075           fi
9076           ;;
9077         esac
9078         shared_flag='-shared'
9079         if test "$aix_use_runtimelinking" = yes; then
9080           shared_flag="$shared_flag "'${wl}-G'
9081         fi
9082         link_all_deplibs=no
9083       else
9084         # not using gcc
9085         if test "$host_cpu" = ia64; then
9086         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9087         # chokes on -Wl,-G. The following line is correct:
9088           shared_flag='-G'
9089         else
9090           if test "$aix_use_runtimelinking" = yes; then
9091             shared_flag='${wl}-G'
9092           else
9093             shared_flag='${wl}-bM:SRE'
9094           fi
9095         fi
9096       fi
9097
9098       export_dynamic_flag_spec='${wl}-bexpall'
9099       # It seems that -bexpall does not export symbols beginning with
9100       # underscore (_), so it is better to generate a list of symbols to export.
9101       always_export_symbols=yes
9102       if test "$aix_use_runtimelinking" = yes; then
9103         # Warning - without using the other runtime loading flags (-brtl),
9104         # -berok will link without error, but may produce a broken library.
9105         allow_undefined_flag='-berok'
9106         # Determine the default libpath from the value encoded in an
9107         # empty executable.
9108         if test "${lt_cv_aix_libpath+set}" = set; then
9109   aix_libpath=$lt_cv_aix_libpath
9110 else
9111   if ${lt_cv_aix_libpath_+:} false; then :
9112   $as_echo_n "(cached) " >&6
9113 else
9114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9115 /* end confdefs.h.  */
9116
9117 int
9118 main ()
9119 {
9120
9121   ;
9122   return 0;
9123 }
9124 _ACEOF
9125 if ac_fn_c_try_link "$LINENO"; then :
9126
9127   lt_aix_libpath_sed='
9128       /Import File Strings/,/^$/ {
9129           /^0/ {
9130               s/^0  *\([^ ]*\) *$/\1/
9131               p
9132           }
9133       }'
9134   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9135   # Check for a 64-bit object if we didn't find anything.
9136   if test -z "$lt_cv_aix_libpath_"; then
9137     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9138   fi
9139 fi
9140 rm -f core conftest.err conftest.$ac_objext \
9141     conftest$ac_exeext conftest.$ac_ext
9142   if test -z "$lt_cv_aix_libpath_"; then
9143     lt_cv_aix_libpath_="/usr/lib:/lib"
9144   fi
9145
9146 fi
9147
9148   aix_libpath=$lt_cv_aix_libpath_
9149 fi
9150
9151         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9152         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"
9153       else
9154         if test "$host_cpu" = ia64; then
9155           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9156           allow_undefined_flag="-z nodefs"
9157           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"
9158         else
9159          # Determine the default libpath from the value encoded in an
9160          # empty executable.
9161          if test "${lt_cv_aix_libpath+set}" = set; then
9162   aix_libpath=$lt_cv_aix_libpath
9163 else
9164   if ${lt_cv_aix_libpath_+:} false; then :
9165   $as_echo_n "(cached) " >&6
9166 else
9167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h.  */
9169
9170 int
9171 main ()
9172 {
9173
9174   ;
9175   return 0;
9176 }
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179
9180   lt_aix_libpath_sed='
9181       /Import File Strings/,/^$/ {
9182           /^0/ {
9183               s/^0  *\([^ ]*\) *$/\1/
9184               p
9185           }
9186       }'
9187   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9188   # Check for a 64-bit object if we didn't find anything.
9189   if test -z "$lt_cv_aix_libpath_"; then
9190     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9191   fi
9192 fi
9193 rm -f core conftest.err conftest.$ac_objext \
9194     conftest$ac_exeext conftest.$ac_ext
9195   if test -z "$lt_cv_aix_libpath_"; then
9196     lt_cv_aix_libpath_="/usr/lib:/lib"
9197   fi
9198
9199 fi
9200
9201   aix_libpath=$lt_cv_aix_libpath_
9202 fi
9203
9204          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9205           # Warning - without using the other run time loading flags,
9206           # -berok will link without error, but may produce a broken library.
9207           no_undefined_flag=' ${wl}-bernotok'
9208           allow_undefined_flag=' ${wl}-berok'
9209           if test "$with_gnu_ld" = yes; then
9210             # We only use this code for GNU lds that support --whole-archive.
9211             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9212           else
9213             # Exported symbols can be pulled into shared objects from archives
9214             whole_archive_flag_spec='$convenience'
9215           fi
9216           archive_cmds_need_lc=yes
9217           # This is similar to how AIX traditionally builds its shared libraries.
9218           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'
9219         fi
9220       fi
9221       ;;
9222
9223     amigaos*)
9224       case $host_cpu in
9225       powerpc)
9226             # see comment about AmigaOS4 .so support
9227             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228             archive_expsym_cmds=''
9229         ;;
9230       m68k)
9231             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)'
9232             hardcode_libdir_flag_spec='-L$libdir'
9233             hardcode_minus_L=yes
9234         ;;
9235       esac
9236       ;;
9237
9238     bsdi[45]*)
9239       export_dynamic_flag_spec=-rdynamic
9240       ;;
9241
9242     cygwin* | mingw* | pw32* | cegcc*)
9243       # When not using gcc, we currently assume that we are using
9244       # Microsoft Visual C++.
9245       # hardcode_libdir_flag_spec is actually meaningless, as there is
9246       # no search path for DLLs.
9247       case $cc_basename in
9248       cl*)
9249         # Native MSVC
9250         hardcode_libdir_flag_spec=' '
9251         allow_undefined_flag=unsupported
9252         always_export_symbols=yes
9253         file_list_spec='@'
9254         # Tell ltmain to make .lib files, not .a files.
9255         libext=lib
9256         # Tell ltmain to make .dll files, not .so files.
9257         shrext_cmds=".dll"
9258         # FIXME: Setting linknames here is a bad hack.
9259         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9260         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9261             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9262           else
9263             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9264           fi~
9265           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9266           linknames='
9267         # The linker will not automatically build a static lib if we build a DLL.
9268         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9269         enable_shared_with_static_runtimes=yes
9270         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9271         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9272         # Don't use ranlib
9273         old_postinstall_cmds='chmod 644 $oldlib'
9274         postlink_cmds='lt_outputfile="@OUTPUT@"~
9275           lt_tool_outputfile="@TOOL_OUTPUT@"~
9276           case $lt_outputfile in
9277             *.exe|*.EXE) ;;
9278             *)
9279               lt_outputfile="$lt_outputfile.exe"
9280               lt_tool_outputfile="$lt_tool_outputfile.exe"
9281               ;;
9282           esac~
9283           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9284             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9285             $RM "$lt_outputfile.manifest";
9286           fi'
9287         ;;
9288       *)
9289         # Assume MSVC wrapper
9290         hardcode_libdir_flag_spec=' '
9291         allow_undefined_flag=unsupported
9292         # Tell ltmain to make .lib files, not .a files.
9293         libext=lib
9294         # Tell ltmain to make .dll files, not .so files.
9295         shrext_cmds=".dll"
9296         # FIXME: Setting linknames here is a bad hack.
9297         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9298         # The linker will automatically build a .lib file if we build a DLL.
9299         old_archive_from_new_cmds='true'
9300         # FIXME: Should let the user specify the lib program.
9301         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9302         enable_shared_with_static_runtimes=yes
9303         ;;
9304       esac
9305       ;;
9306
9307     darwin* | rhapsody*)
9308
9309
9310   archive_cmds_need_lc=no
9311   hardcode_direct=no
9312   hardcode_automatic=yes
9313   hardcode_shlibpath_var=unsupported
9314   if test "$lt_cv_ld_force_load" = "yes"; then
9315     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\"`'
9316
9317   else
9318     whole_archive_flag_spec=''
9319   fi
9320   link_all_deplibs=yes
9321   allow_undefined_flag="$_lt_dar_allow_undefined"
9322   case $cc_basename in
9323      ifort*) _lt_dar_can_shared=yes ;;
9324      *) _lt_dar_can_shared=$GCC ;;
9325   esac
9326   if test "$_lt_dar_can_shared" = "yes"; then
9327     output_verbose_link_cmd=func_echo_all
9328     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9329     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9330     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}"
9331     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}"
9332
9333   else
9334   ld_shlibs=no
9335   fi
9336
9337       ;;
9338
9339     dgux*)
9340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9341       hardcode_libdir_flag_spec='-L$libdir'
9342       hardcode_shlibpath_var=no
9343       ;;
9344
9345     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9346     # support.  Future versions do this automatically, but an explicit c++rt0.o
9347     # does not break anything, and helps significantly (at the cost of a little
9348     # extra space).
9349     freebsd2.2*)
9350       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9351       hardcode_libdir_flag_spec='-R$libdir'
9352       hardcode_direct=yes
9353       hardcode_shlibpath_var=no
9354       ;;
9355
9356     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9357     freebsd2.*)
9358       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9359       hardcode_direct=yes
9360       hardcode_minus_L=yes
9361       hardcode_shlibpath_var=no
9362       ;;
9363
9364     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9365     freebsd* | dragonfly*)
9366       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9367       hardcode_libdir_flag_spec='-R$libdir'
9368       hardcode_direct=yes
9369       hardcode_shlibpath_var=no
9370       ;;
9371
9372     hpux9*)
9373       if test "$GCC" = yes; then
9374         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'
9375       else
9376         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'
9377       fi
9378       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9379       hardcode_libdir_separator=:
9380       hardcode_direct=yes
9381
9382       # hardcode_minus_L: Not really in the search PATH,
9383       # but as the default location of the library.
9384       hardcode_minus_L=yes
9385       export_dynamic_flag_spec='${wl}-E'
9386       ;;
9387
9388     hpux10*)
9389       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9390         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9391       else
9392         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9393       fi
9394       if test "$with_gnu_ld" = no; then
9395         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9396         hardcode_libdir_separator=:
9397         hardcode_direct=yes
9398         hardcode_direct_absolute=yes
9399         export_dynamic_flag_spec='${wl}-E'
9400         # hardcode_minus_L: Not really in the search PATH,
9401         # but as the default location of the library.
9402         hardcode_minus_L=yes
9403       fi
9404       ;;
9405
9406     hpux11*)
9407       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9408         case $host_cpu in
9409         hppa*64*)
9410           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9411           ;;
9412         ia64*)
9413           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9414           ;;
9415         *)
9416           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9417           ;;
9418         esac
9419       else
9420         case $host_cpu in
9421         hppa*64*)
9422           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9423           ;;
9424         ia64*)
9425           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9426           ;;
9427         *)
9428
9429           # Older versions of the 11.00 compiler do not understand -b yet
9430           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9431           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9432 $as_echo_n "checking if $CC understands -b... " >&6; }
9433 if ${lt_cv_prog_compiler__b+:} false; then :
9434   $as_echo_n "(cached) " >&6
9435 else
9436   lt_cv_prog_compiler__b=no
9437    save_LDFLAGS="$LDFLAGS"
9438    LDFLAGS="$LDFLAGS -b"
9439    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9440    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9441      # The linker can only warn and ignore the option if not recognized
9442      # So say no if there are warnings
9443      if test -s conftest.err; then
9444        # Append any errors to the config.log.
9445        cat conftest.err 1>&5
9446        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9447        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9448        if diff conftest.exp conftest.er2 >/dev/null; then
9449          lt_cv_prog_compiler__b=yes
9450        fi
9451      else
9452        lt_cv_prog_compiler__b=yes
9453      fi
9454    fi
9455    $RM -r conftest*
9456    LDFLAGS="$save_LDFLAGS"
9457
9458 fi
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9460 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9461
9462 if test x"$lt_cv_prog_compiler__b" = xyes; then
9463     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9464 else
9465     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9466 fi
9467
9468           ;;
9469         esac
9470       fi
9471       if test "$with_gnu_ld" = no; then
9472         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9473         hardcode_libdir_separator=:
9474
9475         case $host_cpu in
9476         hppa*64*|ia64*)
9477           hardcode_direct=no
9478           hardcode_shlibpath_var=no
9479           ;;
9480         *)
9481           hardcode_direct=yes
9482           hardcode_direct_absolute=yes
9483           export_dynamic_flag_spec='${wl}-E'
9484
9485           # hardcode_minus_L: Not really in the search PATH,
9486           # but as the default location of the library.
9487           hardcode_minus_L=yes
9488           ;;
9489         esac
9490       fi
9491       ;;
9492
9493     irix5* | irix6* | nonstopux*)
9494       if test "$GCC" = yes; then
9495         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'
9496         # Try to use the -exported_symbol ld option, if it does not
9497         # work, assume that -exports_file does not work either and
9498         # implicitly export all symbols.
9499         # This should be the same for all languages, so no per-tag cache variable.
9500         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9501 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9502 if ${lt_cv_irix_exported_symbol+:} false; then :
9503   $as_echo_n "(cached) " >&6
9504 else
9505   save_LDFLAGS="$LDFLAGS"
9506            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9507            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h.  */
9509 int foo (void) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512   lt_cv_irix_exported_symbol=yes
9513 else
9514   lt_cv_irix_exported_symbol=no
9515 fi
9516 rm -f core conftest.err conftest.$ac_objext \
9517     conftest$ac_exeext conftest.$ac_ext
9518            LDFLAGS="$save_LDFLAGS"
9519 fi
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9521 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9522         if test "$lt_cv_irix_exported_symbol" = yes; then
9523           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'
9524         fi
9525       else
9526         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'
9527         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'
9528       fi
9529       archive_cmds_need_lc='no'
9530       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9531       hardcode_libdir_separator=:
9532       inherit_rpath=yes
9533       link_all_deplibs=yes
9534       ;;
9535
9536     netbsd* | netbsdelf*-gnu)
9537       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9538         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9539       else
9540         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9541       fi
9542       hardcode_libdir_flag_spec='-R$libdir'
9543       hardcode_direct=yes
9544       hardcode_shlibpath_var=no
9545       ;;
9546
9547     newsos6)
9548       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9549       hardcode_direct=yes
9550       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9551       hardcode_libdir_separator=:
9552       hardcode_shlibpath_var=no
9553       ;;
9554
9555     *nto* | *qnx*)
9556       ;;
9557
9558     openbsd*)
9559       if test -f /usr/libexec/ld.so; then
9560         hardcode_direct=yes
9561         hardcode_shlibpath_var=no
9562         hardcode_direct_absolute=yes
9563         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9564           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9565           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9566           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9567           export_dynamic_flag_spec='${wl}-E'
9568         else
9569           case $host_os in
9570            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9571              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9572              hardcode_libdir_flag_spec='-R$libdir'
9573              ;;
9574            *)
9575              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9576              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9577              ;;
9578           esac
9579         fi
9580       else
9581         ld_shlibs=no
9582       fi
9583       ;;
9584
9585     os2*)
9586       hardcode_libdir_flag_spec='-L$libdir'
9587       hardcode_minus_L=yes
9588       allow_undefined_flag=unsupported
9589       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'
9590       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9591       ;;
9592
9593     osf3*)
9594       if test "$GCC" = yes; then
9595         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9596         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'
9597       else
9598         allow_undefined_flag=' -expect_unresolved \*'
9599         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'
9600       fi
9601       archive_cmds_need_lc='no'
9602       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9603       hardcode_libdir_separator=:
9604       ;;
9605
9606     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9607       if test "$GCC" = yes; then
9608         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9609         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'
9610         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9611       else
9612         allow_undefined_flag=' -expect_unresolved \*'
9613         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'
9614         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~
9615         $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'
9616
9617         # Both c and cxx compiler support -rpath directly
9618         hardcode_libdir_flag_spec='-rpath $libdir'
9619       fi
9620       archive_cmds_need_lc='no'
9621       hardcode_libdir_separator=:
9622       ;;
9623
9624     solaris*)
9625       no_undefined_flag=' -z defs'
9626       if test "$GCC" = yes; then
9627         wlarc='${wl}'
9628         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9629         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9630           $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'
9631       else
9632         case `$CC -V 2>&1` in
9633         *"Compilers 5.0"*)
9634           wlarc=''
9635           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9636           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9637           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9638           ;;
9639         *)
9640           wlarc='${wl}'
9641           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9642           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9643           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9644           ;;
9645         esac
9646       fi
9647       hardcode_libdir_flag_spec='-R$libdir'
9648       hardcode_shlibpath_var=no
9649       case $host_os in
9650       solaris2.[0-5] | solaris2.[0-5].*) ;;
9651       *)
9652         # The compiler driver will combine and reorder linker options,
9653         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9654         # but is careful enough not to reorder.
9655         # Supported since Solaris 2.6 (maybe 2.5.1?)
9656         if test "$GCC" = yes; then
9657           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9658         else
9659           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9660         fi
9661         ;;
9662       esac
9663       link_all_deplibs=yes
9664       ;;
9665
9666     sunos4*)
9667       if test "x$host_vendor" = xsequent; then
9668         # Use $CC to link under sequent, because it throws in some extra .o
9669         # files that make .init and .fini sections work.
9670         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9671       else
9672         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9673       fi
9674       hardcode_libdir_flag_spec='-L$libdir'
9675       hardcode_direct=yes
9676       hardcode_minus_L=yes
9677       hardcode_shlibpath_var=no
9678       ;;
9679
9680     sysv4)
9681       case $host_vendor in
9682         sni)
9683           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9684           hardcode_direct=yes # is this really true???
9685         ;;
9686         siemens)
9687           ## LD is ld it makes a PLAMLIB
9688           ## CC just makes a GrossModule.
9689           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9690           reload_cmds='$CC -r -o $output$reload_objs'
9691           hardcode_direct=no
9692         ;;
9693         motorola)
9694           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9696         ;;
9697       esac
9698       runpath_var='LD_RUN_PATH'
9699       hardcode_shlibpath_var=no
9700       ;;
9701
9702     sysv4.3*)
9703       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9704       hardcode_shlibpath_var=no
9705       export_dynamic_flag_spec='-Bexport'
9706       ;;
9707
9708     sysv4*MP*)
9709       if test -d /usr/nec; then
9710         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711         hardcode_shlibpath_var=no
9712         runpath_var=LD_RUN_PATH
9713         hardcode_runpath_var=yes
9714         ld_shlibs=yes
9715       fi
9716       ;;
9717
9718     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9719       no_undefined_flag='${wl}-z,text'
9720       archive_cmds_need_lc=no
9721       hardcode_shlibpath_var=no
9722       runpath_var='LD_RUN_PATH'
9723
9724       if test "$GCC" = yes; then
9725         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9726         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9727       else
9728         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9730       fi
9731       ;;
9732
9733     sysv5* | sco3.2v5* | sco5v6*)
9734       # Note: We can NOT use -z defs as we might desire, because we do not
9735       # link with -lc, and that would cause any symbols used from libc to
9736       # always be unresolved, which means just about no library would
9737       # ever link correctly.  If we're not using GNU ld we use -z text
9738       # though, which does catch some bad symbols but isn't as heavy-handed
9739       # as -z defs.
9740       no_undefined_flag='${wl}-z,text'
9741       allow_undefined_flag='${wl}-z,nodefs'
9742       archive_cmds_need_lc=no
9743       hardcode_shlibpath_var=no
9744       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9745       hardcode_libdir_separator=':'
9746       link_all_deplibs=yes
9747       export_dynamic_flag_spec='${wl}-Bexport'
9748       runpath_var='LD_RUN_PATH'
9749
9750       if test "$GCC" = yes; then
9751         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9752         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9753       else
9754         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9755         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9756       fi
9757       ;;
9758
9759     uts4*)
9760       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9761       hardcode_libdir_flag_spec='-L$libdir'
9762       hardcode_shlibpath_var=no
9763       ;;
9764
9765     *)
9766       ld_shlibs=no
9767       ;;
9768     esac
9769
9770     if test x$host_vendor = xsni; then
9771       case $host in
9772       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9773         export_dynamic_flag_spec='${wl}-Blargedynsym'
9774         ;;
9775       esac
9776     fi
9777   fi
9778
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9780 $as_echo "$ld_shlibs" >&6; }
9781 test "$ld_shlibs" = no && can_build_shared=no
9782
9783 with_gnu_ld=$with_gnu_ld
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799 #
9800 # Do we need to explicitly link libc?
9801 #
9802 case "x$archive_cmds_need_lc" in
9803 x|xyes)
9804   # Assume -lc should be added
9805   archive_cmds_need_lc=yes
9806
9807   if test "$enable_shared" = yes && test "$GCC" = yes; then
9808     case $archive_cmds in
9809     *'~'*)
9810       # FIXME: we may have to deal with multi-command sequences.
9811       ;;
9812     '$CC '*)
9813       # Test whether the compiler implicitly links with -lc since on some
9814       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9815       # to ld, don't add -lc before -lgcc.
9816       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9817 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9818 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9819   $as_echo_n "(cached) " >&6
9820 else
9821   $RM conftest*
9822         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9823
9824         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9825   (eval $ac_compile) 2>&5
9826   ac_status=$?
9827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9828   test $ac_status = 0; } 2>conftest.err; then
9829           soname=conftest
9830           lib=conftest
9831           libobjs=conftest.$ac_objext
9832           deplibs=
9833           wl=$lt_prog_compiler_wl
9834           pic_flag=$lt_prog_compiler_pic
9835           compiler_flags=-v
9836           linker_flags=-v
9837           verstring=
9838           output_objdir=.
9839           libname=conftest
9840           lt_save_allow_undefined_flag=$allow_undefined_flag
9841           allow_undefined_flag=
9842           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9843   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9844   ac_status=$?
9845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9846   test $ac_status = 0; }
9847           then
9848             lt_cv_archive_cmds_need_lc=no
9849           else
9850             lt_cv_archive_cmds_need_lc=yes
9851           fi
9852           allow_undefined_flag=$lt_save_allow_undefined_flag
9853         else
9854           cat conftest.err 1>&5
9855         fi
9856         $RM conftest*
9857
9858 fi
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9860 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9861       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9862       ;;
9863     esac
9864   fi
9865   ;;
9866 esac
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
10018
10019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10020 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10021
10022 if test "$GCC" = yes; then
10023   case $host_os in
10024     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10025     *) lt_awk_arg="/^libraries:/" ;;
10026   esac
10027   case $host_os in
10028     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10029     *) lt_sed_strip_eq="s,=/,/,g" ;;
10030   esac
10031   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10032   case $lt_search_path_spec in
10033   *\;*)
10034     # if the path contains ";" then we assume it to be the separator
10035     # otherwise default to the standard path separator (i.e. ":") - it is
10036     # assumed that no part of a normal pathname contains ";" but that should
10037     # okay in the real world where ";" in dirpaths is itself problematic.
10038     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10039     ;;
10040   *)
10041     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10042     ;;
10043   esac
10044   # Ok, now we have the path, separated by spaces, we can step through it
10045   # and add multilib dir if necessary.
10046   lt_tmp_lt_search_path_spec=
10047   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10048   for lt_sys_path in $lt_search_path_spec; do
10049     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10050       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10051     else
10052       test -d "$lt_sys_path" && \
10053         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10054     fi
10055   done
10056   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10057 BEGIN {RS=" "; FS="/|\n";} {
10058   lt_foo="";
10059   lt_count=0;
10060   for (lt_i = NF; lt_i > 0; lt_i--) {
10061     if ($lt_i != "" && $lt_i != ".") {
10062       if ($lt_i == "..") {
10063         lt_count++;
10064       } else {
10065         if (lt_count == 0) {
10066           lt_foo="/" $lt_i lt_foo;
10067         } else {
10068           lt_count--;
10069         }
10070       }
10071     }
10072   }
10073   if (lt_foo != "") { lt_freq[lt_foo]++; }
10074   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10075 }'`
10076   # AWK program above erroneously prepends '/' to C:/dos/paths
10077   # for these hosts.
10078   case $host_os in
10079     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10080       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10081   esac
10082   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10083 else
10084   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10085 fi
10086 library_names_spec=
10087 libname_spec='lib$name'
10088 soname_spec=
10089 shrext_cmds=".so"
10090 postinstall_cmds=
10091 postuninstall_cmds=
10092 finish_cmds=
10093 finish_eval=
10094 shlibpath_var=
10095 shlibpath_overrides_runpath=unknown
10096 version_type=none
10097 dynamic_linker="$host_os ld.so"
10098 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10099 need_lib_prefix=unknown
10100 hardcode_into_libs=no
10101
10102 # when you set need_version to no, make sure it does not cause -set_version
10103 # flags to be left without arguments
10104 need_version=unknown
10105
10106 case $host_os in
10107 aix3*)
10108   version_type=linux # correct to gnu/linux during the next big refactor
10109   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10110   shlibpath_var=LIBPATH
10111
10112   # AIX 3 has no versioning support, so we append a major version to the name.
10113   soname_spec='${libname}${release}${shared_ext}$major'
10114   ;;
10115
10116 aix[4-9]*)
10117   version_type=linux # correct to gnu/linux during the next big refactor
10118   need_lib_prefix=no
10119   need_version=no
10120   hardcode_into_libs=yes
10121   if test "$host_cpu" = ia64; then
10122     # AIX 5 supports IA64
10123     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10124     shlibpath_var=LD_LIBRARY_PATH
10125   else
10126     # With GCC up to 2.95.x, collect2 would create an import file
10127     # for dependence libraries.  The import file would start with
10128     # the line `#! .'.  This would cause the generated library to
10129     # depend on `.', always an invalid library.  This was fixed in
10130     # development snapshots of GCC prior to 3.0.
10131     case $host_os in
10132       aix4 | aix4.[01] | aix4.[01].*)
10133       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10134            echo ' yes '
10135            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10136         :
10137       else
10138         can_build_shared=no
10139       fi
10140       ;;
10141     esac
10142     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10143     # soname into executable. Probably we can add versioning support to
10144     # collect2, so additional links can be useful in future.
10145     if test "$aix_use_runtimelinking" = yes; then
10146       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10147       # instead of lib<name>.a to let people know that these are not
10148       # typical AIX shared libraries.
10149       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10150     else
10151       # We preserve .a as extension for shared libraries through AIX4.2
10152       # and later when we are not doing run time linking.
10153       library_names_spec='${libname}${release}.a $libname.a'
10154       soname_spec='${libname}${release}${shared_ext}$major'
10155     fi
10156     shlibpath_var=LIBPATH
10157   fi
10158   ;;
10159
10160 amigaos*)
10161   case $host_cpu in
10162   powerpc)
10163     # Since July 2007 AmigaOS4 officially supports .so libraries.
10164     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10165     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10166     ;;
10167   m68k)
10168     library_names_spec='$libname.ixlibrary $libname.a'
10169     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10170     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'
10171     ;;
10172   esac
10173   ;;
10174
10175 beos*)
10176   library_names_spec='${libname}${shared_ext}'
10177   dynamic_linker="$host_os ld.so"
10178   shlibpath_var=LIBRARY_PATH
10179   ;;
10180
10181 bsdi[45]*)
10182   version_type=linux # correct to gnu/linux during the next big refactor
10183   need_version=no
10184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10185   soname_spec='${libname}${release}${shared_ext}$major'
10186   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10187   shlibpath_var=LD_LIBRARY_PATH
10188   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10189   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10190   # the default ld.so.conf also contains /usr/contrib/lib and
10191   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10192   # libtool to hard-code these into programs
10193   ;;
10194
10195 cygwin* | mingw* | pw32* | cegcc*)
10196   version_type=windows
10197   shrext_cmds=".dll"
10198   need_version=no
10199   need_lib_prefix=no
10200
10201   case $GCC,$cc_basename in
10202   yes,*)
10203     # gcc
10204     library_names_spec='$libname.dll.a'
10205     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10206     postinstall_cmds='base_file=`basename \${file}`~
10207       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10208       dldir=$destdir/`dirname \$dlpath`~
10209       test -d \$dldir || mkdir -p \$dldir~
10210       $install_prog $dir/$dlname \$dldir/$dlname~
10211       chmod a+x \$dldir/$dlname~
10212       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10213         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10214       fi'
10215     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10216       dlpath=$dir/\$dldll~
10217        $RM \$dlpath'
10218     shlibpath_overrides_runpath=yes
10219
10220     case $host_os in
10221     cygwin*)
10222       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10223       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10224
10225       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10226       ;;
10227     mingw* | cegcc*)
10228       # MinGW DLLs use traditional 'lib' prefix
10229       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10230       ;;
10231     pw32*)
10232       # pw32 DLLs use 'pw' prefix rather than 'lib'
10233       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10234       ;;
10235     esac
10236     dynamic_linker='Win32 ld.exe'
10237     ;;
10238
10239   *,cl*)
10240     # Native MSVC
10241     libname_spec='$name'
10242     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10243     library_names_spec='${libname}.dll.lib'
10244
10245     case $build_os in
10246     mingw*)
10247       sys_lib_search_path_spec=
10248       lt_save_ifs=$IFS
10249       IFS=';'
10250       for lt_path in $LIB
10251       do
10252         IFS=$lt_save_ifs
10253         # Let DOS variable expansion print the short 8.3 style file name.
10254         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10255         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10256       done
10257       IFS=$lt_save_ifs
10258       # Convert to MSYS style.
10259       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10260       ;;
10261     cygwin*)
10262       # Convert to unix form, then to dos form, then back to unix form
10263       # but this time dos style (no spaces!) so that the unix form looks
10264       # like /cygdrive/c/PROGRA~1:/cygdr...
10265       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10266       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10267       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10268       ;;
10269     *)
10270       sys_lib_search_path_spec="$LIB"
10271       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10272         # It is most probably a Windows format PATH.
10273         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10274       else
10275         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10276       fi
10277       # FIXME: find the short name or the path components, as spaces are
10278       # common. (e.g. "Program Files" -> "PROGRA~1")
10279       ;;
10280     esac
10281
10282     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10283     postinstall_cmds='base_file=`basename \${file}`~
10284       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10285       dldir=$destdir/`dirname \$dlpath`~
10286       test -d \$dldir || mkdir -p \$dldir~
10287       $install_prog $dir/$dlname \$dldir/$dlname'
10288     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10289       dlpath=$dir/\$dldll~
10290        $RM \$dlpath'
10291     shlibpath_overrides_runpath=yes
10292     dynamic_linker='Win32 link.exe'
10293     ;;
10294
10295   *)
10296     # Assume MSVC wrapper
10297     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10298     dynamic_linker='Win32 ld.exe'
10299     ;;
10300   esac
10301   # FIXME: first we should search . and the directory the executable is in
10302   shlibpath_var=PATH
10303   ;;
10304
10305 darwin* | rhapsody*)
10306   dynamic_linker="$host_os dyld"
10307   version_type=darwin
10308   need_lib_prefix=no
10309   need_version=no
10310   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10311   soname_spec='${libname}${release}${major}$shared_ext'
10312   shlibpath_overrides_runpath=yes
10313   shlibpath_var=DYLD_LIBRARY_PATH
10314   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10315
10316   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10317   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10318   ;;
10319
10320 dgux*)
10321   version_type=linux # correct to gnu/linux during the next big refactor
10322   need_lib_prefix=no
10323   need_version=no
10324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10325   soname_spec='${libname}${release}${shared_ext}$major'
10326   shlibpath_var=LD_LIBRARY_PATH
10327   ;;
10328
10329 freebsd* | dragonfly*)
10330   # DragonFly does not have aout.  When/if they implement a new
10331   # versioning mechanism, adjust this.
10332   if test -x /usr/bin/objformat; then
10333     objformat=`/usr/bin/objformat`
10334   else
10335     case $host_os in
10336     freebsd[23].*) objformat=aout ;;
10337     *) objformat=elf ;;
10338     esac
10339   fi
10340   version_type=freebsd-$objformat
10341   case $version_type in
10342     freebsd-elf*)
10343       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10344       need_version=no
10345       need_lib_prefix=no
10346       ;;
10347     freebsd-*)
10348       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10349       need_version=yes
10350       ;;
10351   esac
10352   shlibpath_var=LD_LIBRARY_PATH
10353   case $host_os in
10354   freebsd2.*)
10355     shlibpath_overrides_runpath=yes
10356     ;;
10357   freebsd3.[01]* | freebsdelf3.[01]*)
10358     shlibpath_overrides_runpath=yes
10359     hardcode_into_libs=yes
10360     ;;
10361   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10362   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10363     shlibpath_overrides_runpath=no
10364     hardcode_into_libs=yes
10365     ;;
10366   *) # from 4.6 on, and DragonFly
10367     shlibpath_overrides_runpath=yes
10368     hardcode_into_libs=yes
10369     ;;
10370   esac
10371   ;;
10372
10373 haiku*)
10374   version_type=linux # correct to gnu/linux during the next big refactor
10375   need_lib_prefix=no
10376   need_version=no
10377   dynamic_linker="$host_os runtime_loader"
10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10379   soname_spec='${libname}${release}${shared_ext}$major'
10380   shlibpath_var=LIBRARY_PATH
10381   shlibpath_overrides_runpath=yes
10382   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10383   hardcode_into_libs=yes
10384   ;;
10385
10386 hpux9* | hpux10* | hpux11*)
10387   # Give a soname corresponding to the major version so that dld.sl refuses to
10388   # link against other versions.
10389   version_type=sunos
10390   need_lib_prefix=no
10391   need_version=no
10392   case $host_cpu in
10393   ia64*)
10394     shrext_cmds='.so'
10395     hardcode_into_libs=yes
10396     dynamic_linker="$host_os dld.so"
10397     shlibpath_var=LD_LIBRARY_PATH
10398     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10399     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400     soname_spec='${libname}${release}${shared_ext}$major'
10401     if test "X$HPUX_IA64_MODE" = X32; then
10402       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10403     else
10404       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10405     fi
10406     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10407     ;;
10408   hppa*64*)
10409     shrext_cmds='.sl'
10410     hardcode_into_libs=yes
10411     dynamic_linker="$host_os dld.sl"
10412     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10413     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10414     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10415     soname_spec='${libname}${release}${shared_ext}$major'
10416     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10417     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10418     ;;
10419   *)
10420     shrext_cmds='.sl'
10421     dynamic_linker="$host_os dld.sl"
10422     shlibpath_var=SHLIB_PATH
10423     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10424     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425     soname_spec='${libname}${release}${shared_ext}$major'
10426     ;;
10427   esac
10428   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10429   postinstall_cmds='chmod 555 $lib'
10430   # or fails outright, so override atomically:
10431   install_override_mode=555
10432   ;;
10433
10434 interix[3-9]*)
10435   version_type=linux # correct to gnu/linux during the next big refactor
10436   need_lib_prefix=no
10437   need_version=no
10438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10439   soname_spec='${libname}${release}${shared_ext}$major'
10440   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10441   shlibpath_var=LD_LIBRARY_PATH
10442   shlibpath_overrides_runpath=no
10443   hardcode_into_libs=yes
10444   ;;
10445
10446 irix5* | irix6* | nonstopux*)
10447   case $host_os in
10448     nonstopux*) version_type=nonstopux ;;
10449     *)
10450         if test "$lt_cv_prog_gnu_ld" = yes; then
10451                 version_type=linux # correct to gnu/linux during the next big refactor
10452         else
10453                 version_type=irix
10454         fi ;;
10455   esac
10456   need_lib_prefix=no
10457   need_version=no
10458   soname_spec='${libname}${release}${shared_ext}$major'
10459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10460   case $host_os in
10461   irix5* | nonstopux*)
10462     libsuff= shlibsuff=
10463     ;;
10464   *)
10465     case $LD in # libtool.m4 will add one of these switches to LD
10466     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10467       libsuff= shlibsuff= libmagic=32-bit;;
10468     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10469       libsuff=32 shlibsuff=N32 libmagic=N32;;
10470     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10471       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10472     *) libsuff= shlibsuff= libmagic=never-match;;
10473     esac
10474     ;;
10475   esac
10476   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10477   shlibpath_overrides_runpath=no
10478   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10479   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10480   hardcode_into_libs=yes
10481   ;;
10482
10483 # No shared lib support for Linux oldld, aout, or coff.
10484 linux*oldld* | linux*aout* | linux*coff*)
10485   dynamic_linker=no
10486   ;;
10487
10488 # This must be glibc/ELF.
10489 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10490   version_type=linux # correct to gnu/linux during the next big refactor
10491   need_lib_prefix=no
10492   need_version=no
10493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494   soname_spec='${libname}${release}${shared_ext}$major'
10495   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10496   shlibpath_var=LD_LIBRARY_PATH
10497   shlibpath_overrides_runpath=no
10498
10499   # Some binutils ld are patched to set DT_RUNPATH
10500   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10501   $as_echo_n "(cached) " >&6
10502 else
10503   lt_cv_shlibpath_overrides_runpath=no
10504     save_LDFLAGS=$LDFLAGS
10505     save_libdir=$libdir
10506     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10507          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10508     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h.  */
10510
10511 int
10512 main ()
10513 {
10514
10515   ;
10516   return 0;
10517 }
10518 _ACEOF
10519 if ac_fn_c_try_link "$LINENO"; then :
10520   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10521   lt_cv_shlibpath_overrides_runpath=yes
10522 fi
10523 fi
10524 rm -f core conftest.err conftest.$ac_objext \
10525     conftest$ac_exeext conftest.$ac_ext
10526     LDFLAGS=$save_LDFLAGS
10527     libdir=$save_libdir
10528
10529 fi
10530
10531   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10532
10533   # This implies no fast_install, which is unacceptable.
10534   # Some rework will be needed to allow for fast_install
10535   # before this can be enabled.
10536   hardcode_into_libs=yes
10537
10538   # Append ld.so.conf contents to the search path
10539   if test -f /etc/ld.so.conf; then
10540     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' ' '`
10541     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10542   fi
10543
10544   # We used to test for /lib/ld.so.1 and disable shared libraries on
10545   # powerpc, because MkLinux only supported shared libraries with the
10546   # GNU dynamic linker.  Since this was broken with cross compilers,
10547   # most powerpc-linux boxes support dynamic linking these days and
10548   # people can always --disable-shared, the test was removed, and we
10549   # assume the GNU/Linux dynamic linker is in use.
10550   dynamic_linker='GNU/Linux ld.so'
10551   ;;
10552
10553 netbsdelf*-gnu)
10554   version_type=linux
10555   need_lib_prefix=no
10556   need_version=no
10557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10558   soname_spec='${libname}${release}${shared_ext}$major'
10559   shlibpath_var=LD_LIBRARY_PATH
10560   shlibpath_overrides_runpath=no
10561   hardcode_into_libs=yes
10562   dynamic_linker='NetBSD ld.elf_so'
10563   ;;
10564
10565 netbsd*)
10566   version_type=sunos
10567   need_lib_prefix=no
10568   need_version=no
10569   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10570     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10571     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10572     dynamic_linker='NetBSD (a.out) ld.so'
10573   else
10574     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10575     soname_spec='${libname}${release}${shared_ext}$major'
10576     dynamic_linker='NetBSD ld.elf_so'
10577   fi
10578   shlibpath_var=LD_LIBRARY_PATH
10579   shlibpath_overrides_runpath=yes
10580   hardcode_into_libs=yes
10581   ;;
10582
10583 newsos6)
10584   version_type=linux # correct to gnu/linux during the next big refactor
10585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586   shlibpath_var=LD_LIBRARY_PATH
10587   shlibpath_overrides_runpath=yes
10588   ;;
10589
10590 *nto* | *qnx*)
10591   version_type=qnx
10592   need_lib_prefix=no
10593   need_version=no
10594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595   soname_spec='${libname}${release}${shared_ext}$major'
10596   shlibpath_var=LD_LIBRARY_PATH
10597   shlibpath_overrides_runpath=no
10598   hardcode_into_libs=yes
10599   dynamic_linker='ldqnx.so'
10600   ;;
10601
10602 openbsd*)
10603   version_type=sunos
10604   sys_lib_dlsearch_path_spec="/usr/lib"
10605   need_lib_prefix=no
10606   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10607   case $host_os in
10608     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10609     *)                          need_version=no  ;;
10610   esac
10611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10612   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10615     case $host_os in
10616       openbsd2.[89] | openbsd2.[89].*)
10617         shlibpath_overrides_runpath=no
10618         ;;
10619       *)
10620         shlibpath_overrides_runpath=yes
10621         ;;
10622       esac
10623   else
10624     shlibpath_overrides_runpath=yes
10625   fi
10626   ;;
10627
10628 os2*)
10629   libname_spec='$name'
10630   shrext_cmds=".dll"
10631   need_lib_prefix=no
10632   library_names_spec='$libname${shared_ext} $libname.a'
10633   dynamic_linker='OS/2 ld.exe'
10634   shlibpath_var=LIBPATH
10635   ;;
10636
10637 osf3* | osf4* | osf5*)
10638   version_type=osf
10639   need_lib_prefix=no
10640   need_version=no
10641   soname_spec='${libname}${release}${shared_ext}$major'
10642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643   shlibpath_var=LD_LIBRARY_PATH
10644   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10645   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10646   ;;
10647
10648 rdos*)
10649   dynamic_linker=no
10650   ;;
10651
10652 solaris*)
10653   version_type=linux # correct to gnu/linux during the next big refactor
10654   need_lib_prefix=no
10655   need_version=no
10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657   soname_spec='${libname}${release}${shared_ext}$major'
10658   shlibpath_var=LD_LIBRARY_PATH
10659   shlibpath_overrides_runpath=yes
10660   hardcode_into_libs=yes
10661   # ldd complains unless libraries are executable
10662   postinstall_cmds='chmod +x $lib'
10663   ;;
10664
10665 sunos4*)
10666   version_type=sunos
10667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10668   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10669   shlibpath_var=LD_LIBRARY_PATH
10670   shlibpath_overrides_runpath=yes
10671   if test "$with_gnu_ld" = yes; then
10672     need_lib_prefix=no
10673   fi
10674   need_version=yes
10675   ;;
10676
10677 sysv4 | sysv4.3*)
10678   version_type=linux # correct to gnu/linux during the next big refactor
10679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10680   soname_spec='${libname}${release}${shared_ext}$major'
10681   shlibpath_var=LD_LIBRARY_PATH
10682   case $host_vendor in
10683     sni)
10684       shlibpath_overrides_runpath=no
10685       need_lib_prefix=no
10686       runpath_var=LD_RUN_PATH
10687       ;;
10688     siemens)
10689       need_lib_prefix=no
10690       ;;
10691     motorola)
10692       need_lib_prefix=no
10693       need_version=no
10694       shlibpath_overrides_runpath=no
10695       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10696       ;;
10697   esac
10698   ;;
10699
10700 sysv4*MP*)
10701   if test -d /usr/nec ;then
10702     version_type=linux # correct to gnu/linux during the next big refactor
10703     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10704     soname_spec='$libname${shared_ext}.$major'
10705     shlibpath_var=LD_LIBRARY_PATH
10706   fi
10707   ;;
10708
10709 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10710   version_type=freebsd-elf
10711   need_lib_prefix=no
10712   need_version=no
10713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10714   soname_spec='${libname}${release}${shared_ext}$major'
10715   shlibpath_var=LD_LIBRARY_PATH
10716   shlibpath_overrides_runpath=yes
10717   hardcode_into_libs=yes
10718   if test "$with_gnu_ld" = yes; then
10719     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10720   else
10721     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10722     case $host_os in
10723       sco3.2v5*)
10724         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10725         ;;
10726     esac
10727   fi
10728   sys_lib_dlsearch_path_spec='/usr/lib'
10729   ;;
10730
10731 tpf*)
10732   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10733   version_type=linux # correct to gnu/linux during the next big refactor
10734   need_lib_prefix=no
10735   need_version=no
10736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737   shlibpath_var=LD_LIBRARY_PATH
10738   shlibpath_overrides_runpath=no
10739   hardcode_into_libs=yes
10740   ;;
10741
10742 uts4*)
10743   version_type=linux # correct to gnu/linux during the next big refactor
10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745   soname_spec='${libname}${release}${shared_ext}$major'
10746   shlibpath_var=LD_LIBRARY_PATH
10747   ;;
10748
10749 *)
10750   dynamic_linker=no
10751   ;;
10752 esac
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10754 $as_echo "$dynamic_linker" >&6; }
10755 test "$dynamic_linker" = no && can_build_shared=no
10756
10757 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10758 if test "$GCC" = yes; then
10759   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10760 fi
10761
10762 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10763   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10764 fi
10765 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10766   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10767 fi
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
10859
10860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10861 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10862 hardcode_action=
10863 if test -n "$hardcode_libdir_flag_spec" ||
10864    test -n "$runpath_var" ||
10865    test "X$hardcode_automatic" = "Xyes" ; then
10866
10867   # We can hardcode non-existent directories.
10868   if test "$hardcode_direct" != no &&
10869      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10870      # have to relink, otherwise we might link with an installed library
10871      # when we should be linking with a yet-to-be-installed one
10872      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10873      test "$hardcode_minus_L" != no; then
10874     # Linking always hardcodes the temporary library directory.
10875     hardcode_action=relink
10876   else
10877     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10878     hardcode_action=immediate
10879   fi
10880 else
10881   # We cannot hardcode anything, or else we can only hardcode existing
10882   # directories.
10883   hardcode_action=unsupported
10884 fi
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10886 $as_echo "$hardcode_action" >&6; }
10887
10888 if test "$hardcode_action" = relink ||
10889    test "$inherit_rpath" = yes; then
10890   # Fast installation is not supported
10891   enable_fast_install=no
10892 elif test "$shlibpath_overrides_runpath" = yes ||
10893      test "$enable_shared" = no; then
10894   # Fast installation is not necessary
10895   enable_fast_install=needless
10896 fi
10897
10898
10899
10900
10901
10902
10903   if test "x$enable_dlopen" != xyes; then
10904   enable_dlopen=unknown
10905   enable_dlopen_self=unknown
10906   enable_dlopen_self_static=unknown
10907 else
10908   lt_cv_dlopen=no
10909   lt_cv_dlopen_libs=
10910
10911   case $host_os in
10912   beos*)
10913     lt_cv_dlopen="load_add_on"
10914     lt_cv_dlopen_libs=
10915     lt_cv_dlopen_self=yes
10916     ;;
10917
10918   mingw* | pw32* | cegcc*)
10919     lt_cv_dlopen="LoadLibrary"
10920     lt_cv_dlopen_libs=
10921     ;;
10922
10923   cygwin*)
10924     lt_cv_dlopen="dlopen"
10925     lt_cv_dlopen_libs=
10926     ;;
10927
10928   darwin*)
10929   # if libdl is installed we need to link against it
10930     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10931 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10932 if ${ac_cv_lib_dl_dlopen+:} false; then :
10933   $as_echo_n "(cached) " >&6
10934 else
10935   ac_check_lib_save_LIBS=$LIBS
10936 LIBS="-ldl  $LIBS"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h.  */
10939
10940 /* Override any GCC internal prototype to avoid an error.
10941    Use char because int might match the return type of a GCC
10942    builtin and then its argument prototype would still apply.  */
10943 #ifdef __cplusplus
10944 extern "C"
10945 #endif
10946 char dlopen ();
10947 int
10948 main ()
10949 {
10950 return dlopen ();
10951   ;
10952   return 0;
10953 }
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956   ac_cv_lib_dl_dlopen=yes
10957 else
10958   ac_cv_lib_dl_dlopen=no
10959 fi
10960 rm -f core conftest.err conftest.$ac_objext \
10961     conftest$ac_exeext conftest.$ac_ext
10962 LIBS=$ac_check_lib_save_LIBS
10963 fi
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10965 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10966 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10967   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10968 else
10969
10970     lt_cv_dlopen="dyld"
10971     lt_cv_dlopen_libs=
10972     lt_cv_dlopen_self=yes
10973
10974 fi
10975
10976     ;;
10977
10978   *)
10979     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10980 if test "x$ac_cv_func_shl_load" = xyes; then :
10981   lt_cv_dlopen="shl_load"
10982 else
10983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10984 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10985 if ${ac_cv_lib_dld_shl_load+:} false; then :
10986   $as_echo_n "(cached) " >&6
10987 else
10988   ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldld  $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h.  */
10992
10993 /* Override any GCC internal prototype to avoid an error.
10994    Use char because int might match the return type of a GCC
10995    builtin and then its argument prototype would still apply.  */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char shl_load ();
11000 int
11001 main ()
11002 {
11003 return shl_load ();
11004   ;
11005   return 0;
11006 }
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009   ac_cv_lib_dld_shl_load=yes
11010 else
11011   ac_cv_lib_dld_shl_load=no
11012 fi
11013 rm -f core conftest.err conftest.$ac_objext \
11014     conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11016 fi
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11018 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11019 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11020   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11021 else
11022   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11023 if test "x$ac_cv_func_dlopen" = xyes; then :
11024   lt_cv_dlopen="dlopen"
11025 else
11026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11027 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11028 if ${ac_cv_lib_dl_dlopen+:} false; then :
11029   $as_echo_n "(cached) " >&6
11030 else
11031   ac_check_lib_save_LIBS=$LIBS
11032 LIBS="-ldl  $LIBS"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h.  */
11035
11036 /* Override any GCC internal prototype to avoid an error.
11037    Use char because int might match the return type of a GCC
11038    builtin and then its argument prototype would still apply.  */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char dlopen ();
11043 int
11044 main ()
11045 {
11046 return dlopen ();
11047   ;
11048   return 0;
11049 }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"; then :
11052   ac_cv_lib_dl_dlopen=yes
11053 else
11054   ac_cv_lib_dl_dlopen=no
11055 fi
11056 rm -f core conftest.err conftest.$ac_objext \
11057     conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS
11059 fi
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11061 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11062 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11063   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11064 else
11065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11066 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11067 if ${ac_cv_lib_svld_dlopen+:} false; then :
11068   $as_echo_n "(cached) " >&6
11069 else
11070   ac_check_lib_save_LIBS=$LIBS
11071 LIBS="-lsvld  $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h.  */
11074
11075 /* Override any GCC internal prototype to avoid an error.
11076    Use char because int might match the return type of a GCC
11077    builtin and then its argument prototype would still apply.  */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char dlopen ();
11082 int
11083 main ()
11084 {
11085 return dlopen ();
11086   ;
11087   return 0;
11088 }
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11091   ac_cv_lib_svld_dlopen=yes
11092 else
11093   ac_cv_lib_svld_dlopen=no
11094 fi
11095 rm -f core conftest.err conftest.$ac_objext \
11096     conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11098 fi
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11100 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11101 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11102   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11103 else
11104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11105 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11106 if ${ac_cv_lib_dld_dld_link+:} false; then :
11107   $as_echo_n "(cached) " >&6
11108 else
11109   ac_check_lib_save_LIBS=$LIBS
11110 LIBS="-ldld  $LIBS"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h.  */
11113
11114 /* Override any GCC internal prototype to avoid an error.
11115    Use char because int might match the return type of a GCC
11116    builtin and then its argument prototype would still apply.  */
11117 #ifdef __cplusplus
11118 extern "C"
11119 #endif
11120 char dld_link ();
11121 int
11122 main ()
11123 {
11124 return dld_link ();
11125   ;
11126   return 0;
11127 }
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"; then :
11130   ac_cv_lib_dld_dld_link=yes
11131 else
11132   ac_cv_lib_dld_dld_link=no
11133 fi
11134 rm -f core conftest.err conftest.$ac_objext \
11135     conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11137 fi
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11139 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11140 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11141   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11142 fi
11143
11144
11145 fi
11146
11147
11148 fi
11149
11150
11151 fi
11152
11153
11154 fi
11155
11156
11157 fi
11158
11159     ;;
11160   esac
11161
11162   if test "x$lt_cv_dlopen" != xno; then
11163     enable_dlopen=yes
11164   else
11165     enable_dlopen=no
11166   fi
11167
11168   case $lt_cv_dlopen in
11169   dlopen)
11170     save_CPPFLAGS="$CPPFLAGS"
11171     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11172
11173     save_LDFLAGS="$LDFLAGS"
11174     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11175
11176     save_LIBS="$LIBS"
11177     LIBS="$lt_cv_dlopen_libs $LIBS"
11178
11179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11180 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11181 if ${lt_cv_dlopen_self+:} false; then :
11182   $as_echo_n "(cached) " >&6
11183 else
11184           if test "$cross_compiling" = yes; then :
11185   lt_cv_dlopen_self=cross
11186 else
11187   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11188   lt_status=$lt_dlunknown
11189   cat > conftest.$ac_ext <<_LT_EOF
11190 #line $LINENO "configure"
11191 #include "confdefs.h"
11192
11193 #if HAVE_DLFCN_H
11194 #include <dlfcn.h>
11195 #endif
11196
11197 #include <stdio.h>
11198
11199 #ifdef RTLD_GLOBAL
11200 #  define LT_DLGLOBAL           RTLD_GLOBAL
11201 #else
11202 #  ifdef DL_GLOBAL
11203 #    define LT_DLGLOBAL         DL_GLOBAL
11204 #  else
11205 #    define LT_DLGLOBAL         0
11206 #  endif
11207 #endif
11208
11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11210    find out it does not work in some platform. */
11211 #ifndef LT_DLLAZY_OR_NOW
11212 #  ifdef RTLD_LAZY
11213 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11214 #  else
11215 #    ifdef DL_LAZY
11216 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11217 #    else
11218 #      ifdef RTLD_NOW
11219 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11220 #      else
11221 #        ifdef DL_NOW
11222 #          define LT_DLLAZY_OR_NOW      DL_NOW
11223 #        else
11224 #          define LT_DLLAZY_OR_NOW      0
11225 #        endif
11226 #      endif
11227 #    endif
11228 #  endif
11229 #endif
11230
11231 /* When -fvisbility=hidden is used, assume the code has been annotated
11232    correspondingly for the symbols needed.  */
11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11234 int fnord () __attribute__((visibility("default")));
11235 #endif
11236
11237 int fnord () { return 42; }
11238 int main ()
11239 {
11240   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11241   int status = $lt_dlunknown;
11242
11243   if (self)
11244     {
11245       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11246       else
11247         {
11248           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11249           else puts (dlerror ());
11250         }
11251       /* dlclose (self); */
11252     }
11253   else
11254     puts (dlerror ());
11255
11256   return status;
11257 }
11258 _LT_EOF
11259   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11260   (eval $ac_link) 2>&5
11261   ac_status=$?
11262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11263   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11264     (./conftest; exit; ) >&5 2>/dev/null
11265     lt_status=$?
11266     case x$lt_status in
11267       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11268       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11269       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11270     esac
11271   else :
11272     # compilation failed
11273     lt_cv_dlopen_self=no
11274   fi
11275 fi
11276 rm -fr conftest*
11277
11278
11279 fi
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11281 $as_echo "$lt_cv_dlopen_self" >&6; }
11282
11283     if test "x$lt_cv_dlopen_self" = xyes; then
11284       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11285       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11286 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11287 if ${lt_cv_dlopen_self_static+:} false; then :
11288   $as_echo_n "(cached) " >&6
11289 else
11290           if test "$cross_compiling" = yes; then :
11291   lt_cv_dlopen_self_static=cross
11292 else
11293   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11294   lt_status=$lt_dlunknown
11295   cat > conftest.$ac_ext <<_LT_EOF
11296 #line $LINENO "configure"
11297 #include "confdefs.h"
11298
11299 #if HAVE_DLFCN_H
11300 #include <dlfcn.h>
11301 #endif
11302
11303 #include <stdio.h>
11304
11305 #ifdef RTLD_GLOBAL
11306 #  define LT_DLGLOBAL           RTLD_GLOBAL
11307 #else
11308 #  ifdef DL_GLOBAL
11309 #    define LT_DLGLOBAL         DL_GLOBAL
11310 #  else
11311 #    define LT_DLGLOBAL         0
11312 #  endif
11313 #endif
11314
11315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11316    find out it does not work in some platform. */
11317 #ifndef LT_DLLAZY_OR_NOW
11318 #  ifdef RTLD_LAZY
11319 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11320 #  else
11321 #    ifdef DL_LAZY
11322 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11323 #    else
11324 #      ifdef RTLD_NOW
11325 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11326 #      else
11327 #        ifdef DL_NOW
11328 #          define LT_DLLAZY_OR_NOW      DL_NOW
11329 #        else
11330 #          define LT_DLLAZY_OR_NOW      0
11331 #        endif
11332 #      endif
11333 #    endif
11334 #  endif
11335 #endif
11336
11337 /* When -fvisbility=hidden is used, assume the code has been annotated
11338    correspondingly for the symbols needed.  */
11339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11340 int fnord () __attribute__((visibility("default")));
11341 #endif
11342
11343 int fnord () { return 42; }
11344 int main ()
11345 {
11346   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11347   int status = $lt_dlunknown;
11348
11349   if (self)
11350     {
11351       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11352       else
11353         {
11354           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11355           else puts (dlerror ());
11356         }
11357       /* dlclose (self); */
11358     }
11359   else
11360     puts (dlerror ());
11361
11362   return status;
11363 }
11364 _LT_EOF
11365   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11366   (eval $ac_link) 2>&5
11367   ac_status=$?
11368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11369   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11370     (./conftest; exit; ) >&5 2>/dev/null
11371     lt_status=$?
11372     case x$lt_status in
11373       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11374       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11375       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11376     esac
11377   else :
11378     # compilation failed
11379     lt_cv_dlopen_self_static=no
11380   fi
11381 fi
11382 rm -fr conftest*
11383
11384
11385 fi
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11387 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11388     fi
11389
11390     CPPFLAGS="$save_CPPFLAGS"
11391     LDFLAGS="$save_LDFLAGS"
11392     LIBS="$save_LIBS"
11393     ;;
11394   esac
11395
11396   case $lt_cv_dlopen_self in
11397   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11398   *) enable_dlopen_self=unknown ;;
11399   esac
11400
11401   case $lt_cv_dlopen_self_static in
11402   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11403   *) enable_dlopen_self_static=unknown ;;
11404   esac
11405 fi
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423 striplib=
11424 old_striplib=
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11426 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11427 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11428   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11429   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11431 $as_echo "yes" >&6; }
11432 else
11433 # FIXME - insert some real tests, host_os isn't really good enough
11434   case $host_os in
11435   darwin*)
11436     if test -n "$STRIP" ; then
11437       striplib="$STRIP -x"
11438       old_striplib="$STRIP -S"
11439       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11440 $as_echo "yes" >&6; }
11441     else
11442       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 $as_echo "no" >&6; }
11444     fi
11445     ;;
11446   *)
11447     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11448 $as_echo "no" >&6; }
11449     ;;
11450   esac
11451 fi
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464   # Report which library types will actually be built
11465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11466 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11468 $as_echo "$can_build_shared" >&6; }
11469
11470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11471 $as_echo_n "checking whether to build shared libraries... " >&6; }
11472   test "$can_build_shared" = "no" && enable_shared=no
11473
11474   # On AIX, shared libraries and static libraries use the same namespace, and
11475   # are all built from PIC.
11476   case $host_os in
11477   aix3*)
11478     test "$enable_shared" = yes && enable_static=no
11479     if test -n "$RANLIB"; then
11480       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11481       postinstall_cmds='$RANLIB $lib'
11482     fi
11483     ;;
11484
11485   aix[4-9]*)
11486     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11487       test "$enable_shared" = yes && enable_static=no
11488     fi
11489     ;;
11490   esac
11491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11492 $as_echo "$enable_shared" >&6; }
11493
11494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11495 $as_echo_n "checking whether to build static libraries... " >&6; }
11496   # Make sure either enable_shared or enable_static is yes.
11497   test "$enable_shared" = yes || enable_static=yes
11498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11499 $as_echo "$enable_static" >&6; }
11500
11501
11502
11503
11504 fi
11505 ac_ext=c
11506 ac_cpp='$CPP $CPPFLAGS'
11507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11510
11511 CC="$lt_save_CC"
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527         ac_config_commands="$ac_config_commands libtool"
11528
11529
11530
11531
11532 # Only expand once:
11533
11534
11535 ac_ext=c
11536 ac_cpp='$CPP $CPPFLAGS'
11537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11540 if test -n "$ac_tool_prefix"; then
11541   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11544 $as_echo_n "checking for $ac_word... " >&6; }
11545 if ${ac_cv_prog_CC+:} false; then :
11546   $as_echo_n "(cached) " >&6
11547 else
11548   if test -n "$CC"; then
11549   ac_cv_prog_CC="$CC" # Let the user override the test.
11550 else
11551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11552 for as_dir in $PATH
11553 do
11554   IFS=$as_save_IFS
11555   test -z "$as_dir" && as_dir=.
11556     for ac_exec_ext in '' $ac_executable_extensions; do
11557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11558     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11560     break 2
11561   fi
11562 done
11563   done
11564 IFS=$as_save_IFS
11565
11566 fi
11567 fi
11568 CC=$ac_cv_prog_CC
11569 if test -n "$CC"; then
11570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11571 $as_echo "$CC" >&6; }
11572 else
11573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11574 $as_echo "no" >&6; }
11575 fi
11576
11577
11578 fi
11579 if test -z "$ac_cv_prog_CC"; then
11580   ac_ct_CC=$CC
11581   # Extract the first word of "gcc", so it can be a program name with args.
11582 set dummy gcc; ac_word=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11584 $as_echo_n "checking for $ac_word... " >&6; }
11585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11586   $as_echo_n "(cached) " >&6
11587 else
11588   if test -n "$ac_ct_CC"; then
11589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11590 else
11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592 for as_dir in $PATH
11593 do
11594   IFS=$as_save_IFS
11595   test -z "$as_dir" && as_dir=.
11596     for ac_exec_ext in '' $ac_executable_extensions; do
11597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11598     ac_cv_prog_ac_ct_CC="gcc"
11599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11600     break 2
11601   fi
11602 done
11603   done
11604 IFS=$as_save_IFS
11605
11606 fi
11607 fi
11608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11609 if test -n "$ac_ct_CC"; then
11610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11611 $as_echo "$ac_ct_CC" >&6; }
11612 else
11613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615 fi
11616
11617   if test "x$ac_ct_CC" = x; then
11618     CC=""
11619   else
11620     case $cross_compiling:$ac_tool_warned in
11621 yes:)
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11624 ac_tool_warned=yes ;;
11625 esac
11626     CC=$ac_ct_CC
11627   fi
11628 else
11629   CC="$ac_cv_prog_CC"
11630 fi
11631
11632 if test -z "$CC"; then
11633           if test -n "$ac_tool_prefix"; then
11634     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11635 set dummy ${ac_tool_prefix}cc; ac_word=$2
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11637 $as_echo_n "checking for $ac_word... " >&6; }
11638 if ${ac_cv_prog_CC+:} false; then :
11639   $as_echo_n "(cached) " >&6
11640 else
11641   if test -n "$CC"; then
11642   ac_cv_prog_CC="$CC" # Let the user override the test.
11643 else
11644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11645 for as_dir in $PATH
11646 do
11647   IFS=$as_save_IFS
11648   test -z "$as_dir" && as_dir=.
11649     for ac_exec_ext in '' $ac_executable_extensions; do
11650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11651     ac_cv_prog_CC="${ac_tool_prefix}cc"
11652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653     break 2
11654   fi
11655 done
11656   done
11657 IFS=$as_save_IFS
11658
11659 fi
11660 fi
11661 CC=$ac_cv_prog_CC
11662 if test -n "$CC"; then
11663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11664 $as_echo "$CC" >&6; }
11665 else
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 $as_echo "no" >&6; }
11668 fi
11669
11670
11671   fi
11672 fi
11673 if test -z "$CC"; then
11674   # Extract the first word of "cc", so it can be a program name with args.
11675 set dummy cc; ac_word=$2
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677 $as_echo_n "checking for $ac_word... " >&6; }
11678 if ${ac_cv_prog_CC+:} false; then :
11679   $as_echo_n "(cached) " >&6
11680 else
11681   if test -n "$CC"; then
11682   ac_cv_prog_CC="$CC" # Let the user override the test.
11683 else
11684   ac_prog_rejected=no
11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11687 do
11688   IFS=$as_save_IFS
11689   test -z "$as_dir" && as_dir=.
11690     for ac_exec_ext in '' $ac_executable_extensions; do
11691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11692     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11693        ac_prog_rejected=yes
11694        continue
11695      fi
11696     ac_cv_prog_CC="cc"
11697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11698     break 2
11699   fi
11700 done
11701   done
11702 IFS=$as_save_IFS
11703
11704 if test $ac_prog_rejected = yes; then
11705   # We found a bogon in the path, so make sure we never use it.
11706   set dummy $ac_cv_prog_CC
11707   shift
11708   if test $# != 0; then
11709     # We chose a different compiler from the bogus one.
11710     # However, it has the same basename, so the bogon will be chosen
11711     # first if we set CC to just the basename; use the full file name.
11712     shift
11713     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11714   fi
11715 fi
11716 fi
11717 fi
11718 CC=$ac_cv_prog_CC
11719 if test -n "$CC"; then
11720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11721 $as_echo "$CC" >&6; }
11722 else
11723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 $as_echo "no" >&6; }
11725 fi
11726
11727
11728 fi
11729 if test -z "$CC"; then
11730   if test -n "$ac_tool_prefix"; then
11731   for ac_prog in cl.exe
11732   do
11733     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11736 $as_echo_n "checking for $ac_word... " >&6; }
11737 if ${ac_cv_prog_CC+:} false; then :
11738   $as_echo_n "(cached) " >&6
11739 else
11740   if test -n "$CC"; then
11741   ac_cv_prog_CC="$CC" # Let the user override the test.
11742 else
11743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11744 for as_dir in $PATH
11745 do
11746   IFS=$as_save_IFS
11747   test -z "$as_dir" && as_dir=.
11748     for ac_exec_ext in '' $ac_executable_extensions; do
11749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11750     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11752     break 2
11753   fi
11754 done
11755   done
11756 IFS=$as_save_IFS
11757
11758 fi
11759 fi
11760 CC=$ac_cv_prog_CC
11761 if test -n "$CC"; then
11762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11763 $as_echo "$CC" >&6; }
11764 else
11765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11766 $as_echo "no" >&6; }
11767 fi
11768
11769
11770     test -n "$CC" && break
11771   done
11772 fi
11773 if test -z "$CC"; then
11774   ac_ct_CC=$CC
11775   for ac_prog in cl.exe
11776 do
11777   # Extract the first word of "$ac_prog", so it can be a program name with args.
11778 set dummy $ac_prog; ac_word=$2
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11780 $as_echo_n "checking for $ac_word... " >&6; }
11781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11782   $as_echo_n "(cached) " >&6
11783 else
11784   if test -n "$ac_ct_CC"; then
11785   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11786 else
11787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11788 for as_dir in $PATH
11789 do
11790   IFS=$as_save_IFS
11791   test -z "$as_dir" && as_dir=.
11792     for ac_exec_ext in '' $ac_executable_extensions; do
11793   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11794     ac_cv_prog_ac_ct_CC="$ac_prog"
11795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796     break 2
11797   fi
11798 done
11799   done
11800 IFS=$as_save_IFS
11801
11802 fi
11803 fi
11804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11805 if test -n "$ac_ct_CC"; then
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11807 $as_echo "$ac_ct_CC" >&6; }
11808 else
11809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11810 $as_echo "no" >&6; }
11811 fi
11812
11813
11814   test -n "$ac_ct_CC" && break
11815 done
11816
11817   if test "x$ac_ct_CC" = x; then
11818     CC=""
11819   else
11820     case $cross_compiling:$ac_tool_warned in
11821 yes:)
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11824 ac_tool_warned=yes ;;
11825 esac
11826     CC=$ac_ct_CC
11827   fi
11828 fi
11829
11830 fi
11831
11832
11833 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11835 as_fn_error $? "no acceptable C compiler found in \$PATH
11836 See \`config.log' for more details" "$LINENO" 5; }
11837
11838 # Provide some information about the compiler.
11839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11840 set X $ac_compile
11841 ac_compiler=$2
11842 for ac_option in --version -v -V -qversion; do
11843   { { ac_try="$ac_compiler $ac_option >&5"
11844 case "(($ac_try" in
11845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11846   *) ac_try_echo=$ac_try;;
11847 esac
11848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11849 $as_echo "$ac_try_echo"; } >&5
11850   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11851   ac_status=$?
11852   if test -s conftest.err; then
11853     sed '10a\
11854 ... rest of stderr output deleted ...
11855          10q' conftest.err >conftest.er1
11856     cat conftest.er1 >&5
11857   fi
11858   rm -f conftest.er1 conftest.err
11859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11860   test $ac_status = 0; }
11861 done
11862
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11864 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11865 if ${ac_cv_c_compiler_gnu+:} false; then :
11866   $as_echo_n "(cached) " >&6
11867 else
11868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h.  */
11870
11871 int
11872 main ()
11873 {
11874 #ifndef __GNUC__
11875        choke me
11876 #endif
11877
11878   ;
11879   return 0;
11880 }
11881 _ACEOF
11882 if ac_fn_c_try_compile "$LINENO"; then :
11883   ac_compiler_gnu=yes
11884 else
11885   ac_compiler_gnu=no
11886 fi
11887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11888 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11889
11890 fi
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11892 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11893 if test $ac_compiler_gnu = yes; then
11894   GCC=yes
11895 else
11896   GCC=
11897 fi
11898 ac_test_CFLAGS=${CFLAGS+set}
11899 ac_save_CFLAGS=$CFLAGS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11901 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11902 if ${ac_cv_prog_cc_g+:} false; then :
11903   $as_echo_n "(cached) " >&6
11904 else
11905   ac_save_c_werror_flag=$ac_c_werror_flag
11906    ac_c_werror_flag=yes
11907    ac_cv_prog_cc_g=no
11908    CFLAGS="-g"
11909    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h.  */
11911
11912 int
11913 main ()
11914 {
11915
11916   ;
11917   return 0;
11918 }
11919 _ACEOF
11920 if ac_fn_c_try_compile "$LINENO"; then :
11921   ac_cv_prog_cc_g=yes
11922 else
11923   CFLAGS=""
11924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h.  */
11926
11927 int
11928 main ()
11929 {
11930
11931   ;
11932   return 0;
11933 }
11934 _ACEOF
11935 if ac_fn_c_try_compile "$LINENO"; then :
11936
11937 else
11938   ac_c_werror_flag=$ac_save_c_werror_flag
11939          CFLAGS="-g"
11940          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h.  */
11942
11943 int
11944 main ()
11945 {
11946
11947   ;
11948   return 0;
11949 }
11950 _ACEOF
11951 if ac_fn_c_try_compile "$LINENO"; then :
11952   ac_cv_prog_cc_g=yes
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 fi
11958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11959    ac_c_werror_flag=$ac_save_c_werror_flag
11960 fi
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11962 $as_echo "$ac_cv_prog_cc_g" >&6; }
11963 if test "$ac_test_CFLAGS" = set; then
11964   CFLAGS=$ac_save_CFLAGS
11965 elif test $ac_cv_prog_cc_g = yes; then
11966   if test "$GCC" = yes; then
11967     CFLAGS="-g -O2"
11968   else
11969     CFLAGS="-g"
11970   fi
11971 else
11972   if test "$GCC" = yes; then
11973     CFLAGS="-O2"
11974   else
11975     CFLAGS=
11976   fi
11977 fi
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11979 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11980 if ${ac_cv_prog_cc_c89+:} false; then :
11981   $as_echo_n "(cached) " >&6
11982 else
11983   ac_cv_prog_cc_c89=no
11984 ac_save_CC=$CC
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h.  */
11987 #include <stdarg.h>
11988 #include <stdio.h>
11989 struct stat;
11990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11991 struct buf { int x; };
11992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11993 static char *e (p, i)
11994      char **p;
11995      int i;
11996 {
11997   return p[i];
11998 }
11999 static char *f (char * (*g) (char **, int), char **p, ...)
12000 {
12001   char *s;
12002   va_list v;
12003   va_start (v,p);
12004   s = g (p, va_arg (v,int));
12005   va_end (v);
12006   return s;
12007 }
12008
12009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12010    function prototypes and stuff, but not '\xHH' hex character constants.
12011    These don't provoke an error unfortunately, instead are silently treated
12012    as 'x'.  The following induces an error, until -std is added to get
12013    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12014    array size at least.  It's necessary to write '\x00'==0 to get something
12015    that's true only with -std.  */
12016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12017
12018 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12019    inside strings and character constants.  */
12020 #define FOO(x) 'x'
12021 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12022
12023 int test (int i, double x);
12024 struct s1 {int (*f) (int a);};
12025 struct s2 {int (*f) (double a);};
12026 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12027 int argc;
12028 char **argv;
12029 int
12030 main ()
12031 {
12032 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12033   ;
12034   return 0;
12035 }
12036 _ACEOF
12037 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12038         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12039 do
12040   CC="$ac_save_CC $ac_arg"
12041   if ac_fn_c_try_compile "$LINENO"; then :
12042   ac_cv_prog_cc_c89=$ac_arg
12043 fi
12044 rm -f core conftest.err conftest.$ac_objext
12045   test "x$ac_cv_prog_cc_c89" != "xno" && break
12046 done
12047 rm -f conftest.$ac_ext
12048 CC=$ac_save_CC
12049
12050 fi
12051 # AC_CACHE_VAL
12052 case "x$ac_cv_prog_cc_c89" in
12053   x)
12054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12055 $as_echo "none needed" >&6; } ;;
12056   xno)
12057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12058 $as_echo "unsupported" >&6; } ;;
12059   *)
12060     CC="$CC $ac_cv_prog_cc_c89"
12061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12062 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12063 esac
12064 if test "x$ac_cv_prog_cc_c89" != xno; then :
12065
12066 fi
12067
12068 ac_ext=c
12069 ac_cpp='$CPP $CPPFLAGS'
12070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12073
12074 ac_ext=c
12075 ac_cpp='$CPP $CPPFLAGS'
12076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12080 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12081 if ${am_cv_prog_cc_c_o+:} false; then :
12082   $as_echo_n "(cached) " >&6
12083 else
12084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h.  */
12086
12087 int
12088 main ()
12089 {
12090
12091   ;
12092   return 0;
12093 }
12094 _ACEOF
12095   # Make sure it works both with $CC and with simple cc.
12096   # Following AC_PROG_CC_C_O, we do the test twice because some
12097   # compilers refuse to overwrite an existing .o file with -o,
12098   # though they will create one.
12099   am_cv_prog_cc_c_o=yes
12100   for am_i in 1 2; do
12101     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12102    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12103    ac_status=$?
12104    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105    (exit $ac_status); } \
12106          && test -f conftest2.$ac_objext; then
12107       : OK
12108     else
12109       am_cv_prog_cc_c_o=no
12110       break
12111     fi
12112   done
12113   rm -f core conftest*
12114   unset am_i
12115 fi
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12117 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12118 if test "$am_cv_prog_cc_c_o" != yes; then
12119    # Losing compiler, so override with the script.
12120    # FIXME: It is wrong to rewrite CC.
12121    # But if we don't then we get into trouble of one sort or another.
12122    # A longer-term fix would be to have automake use am__CC in this case,
12123    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12124    CC="$am_aux_dir/compile $CC"
12125 fi
12126 ac_ext=c
12127 ac_cpp='$CPP $CPPFLAGS'
12128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12131
12132
12133 depcc="$CC"   am_compiler_list=
12134
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12136 $as_echo_n "checking dependency style of $depcc... " >&6; }
12137 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12138   $as_echo_n "(cached) " >&6
12139 else
12140   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12141   # We make a subdir and do the tests there.  Otherwise we can end up
12142   # making bogus files that we don't know about and never remove.  For
12143   # instance it was reported that on HP-UX the gcc test will end up
12144   # making a dummy file named 'D' -- because '-MD' means "put the output
12145   # in D".
12146   rm -rf conftest.dir
12147   mkdir conftest.dir
12148   # Copy depcomp to subdir because otherwise we won't find it if we're
12149   # using a relative directory.
12150   cp "$am_depcomp" conftest.dir
12151   cd conftest.dir
12152   # We will build objects and dependencies in a subdirectory because
12153   # it helps to detect inapplicable dependency modes.  For instance
12154   # both Tru64's cc and ICC support -MD to output dependencies as a
12155   # side effect of compilation, but ICC will put the dependencies in
12156   # the current directory while Tru64 will put them in the object
12157   # directory.
12158   mkdir sub
12159
12160   am_cv_CC_dependencies_compiler_type=none
12161   if test "$am_compiler_list" = ""; then
12162      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12163   fi
12164   am__universal=false
12165   case " $depcc " in #(
12166      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12167      esac
12168
12169   for depmode in $am_compiler_list; do
12170     # Setup a source with many dependencies, because some compilers
12171     # like to wrap large dependency lists on column 80 (with \), and
12172     # we should not choose a depcomp mode which is confused by this.
12173     #
12174     # We need to recreate these files for each test, as the compiler may
12175     # overwrite some of them when testing with obscure command lines.
12176     # This happens at least with the AIX C compiler.
12177     : > sub/conftest.c
12178     for i in 1 2 3 4 5 6; do
12179       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12180       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12181       # Solaris 10 /bin/sh.
12182       echo '/* dummy */' > sub/conftst$i.h
12183     done
12184     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12185
12186     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12187     # mode.  It turns out that the SunPro C++ compiler does not properly
12188     # handle '-M -o', and we need to detect this.  Also, some Intel
12189     # versions had trouble with output in subdirs.
12190     am__obj=sub/conftest.${OBJEXT-o}
12191     am__minus_obj="-o $am__obj"
12192     case $depmode in
12193     gcc)
12194       # This depmode causes a compiler race in universal mode.
12195       test "$am__universal" = false || continue
12196       ;;
12197     nosideeffect)
12198       # After this tag, mechanisms are not by side-effect, so they'll
12199       # only be used when explicitly requested.
12200       if test "x$enable_dependency_tracking" = xyes; then
12201         continue
12202       else
12203         break
12204       fi
12205       ;;
12206     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12207       # This compiler won't grok '-c -o', but also, the minuso test has
12208       # not run yet.  These depmodes are late enough in the game, and
12209       # so weak that their functioning should not be impacted.
12210       am__obj=conftest.${OBJEXT-o}
12211       am__minus_obj=
12212       ;;
12213     none) break ;;
12214     esac
12215     if depmode=$depmode \
12216        source=sub/conftest.c object=$am__obj \
12217        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12218        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12219          >/dev/null 2>conftest.err &&
12220        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12221        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12222        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12223        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12224       # icc doesn't choke on unknown options, it will just issue warnings
12225       # or remarks (even with -Werror).  So we grep stderr for any message
12226       # that says an option was ignored or not supported.
12227       # When given -MP, icc 7.0 and 7.1 complain thusly:
12228       #   icc: Command line warning: ignoring option '-M'; no argument required
12229       # The diagnosis changed in icc 8.0:
12230       #   icc: Command line remark: option '-MP' not supported
12231       if (grep 'ignoring option' conftest.err ||
12232           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12233         am_cv_CC_dependencies_compiler_type=$depmode
12234         break
12235       fi
12236     fi
12237   done
12238
12239   cd ..
12240   rm -rf conftest.dir
12241 else
12242   am_cv_CC_dependencies_compiler_type=none
12243 fi
12244
12245 fi
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12247 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12248 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12249
12250  if
12251   test "x$enable_dependency_tracking" != xno \
12252   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12253   am__fastdepCC_TRUE=
12254   am__fastdepCC_FALSE='#'
12255 else
12256   am__fastdepCC_TRUE='#'
12257   am__fastdepCC_FALSE=
12258 fi
12259
12260
12261
12262
12263
12264 case $target_os in
12265      *linux*)   arch=linux;;
12266      *netbsd*)  arch=netbsd;;
12267      *bsd*)     arch=bsd;;
12268      *)         arch=unknown;;
12269 esac
12270
12271 if test "$ac_env_CFLAGS_set" != set; then
12272         CFLAGS="-Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing"
12273 fi
12274
12275 # Check whether --enable-lib was given.
12276 if test "${enable_lib+set}" = set; then :
12277   enableval=$enable_lib;
12278 fi
12279
12280 # Check whether --enable-util was given.
12281 if test "${enable_util+set}" = set; then :
12282   enableval=$enable_util;
12283 fi
12284
12285 # Check whether --enable-example was given.
12286 if test "${enable_example+set}" = set; then :
12287   enableval=$enable_example;
12288 fi
12289
12290 # Check whether --enable-mtab was given.
12291 if test "${enable_mtab+set}" = set; then :
12292   enableval=$enable_mtab;
12293 fi
12294
12295
12296
12297 # Check whether --with-pkgconfigdir was given.
12298 if test "${with_pkgconfigdir+set}" = set; then :
12299   withval=$with_pkgconfigdir; pkgconfigdir=$withval
12300 else
12301   pkgconfigdir='${libdir}/pkgconfig'
12302 fi
12303
12304
12305
12306 subdirs2="include"
12307
12308 if test "$enable_lib" != "no"; then
12309         subdirs2="$subdirs2 lib";
12310 fi
12311 if test "$arch" = linux -a "$enable_util" != "no"; then
12312         subdirs2="$subdirs2 util";
12313 fi
12314 if test "$enable_example" != "no"; then
12315         subdirs2="$subdirs2 example";
12316 fi
12317 if test "$enable_mtab" = "no"; then
12318
12319 $as_echo "#define IGNORE_MTAB 1" >>confdefs.h
12320
12321 fi
12322
12323 for ac_func in fork setxattr fdatasync splice vmsplice utimensat
12324 do :
12325   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12327 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12328   cat >>confdefs.h <<_ACEOF
12329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12330 _ACEOF
12331
12332 fi
12333 done
12334
12335 for ac_func in posix_fallocate
12336 do :
12337   ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
12338 if test "x$ac_cv_func_posix_fallocate" = xyes; then :
12339   cat >>confdefs.h <<_ACEOF
12340 #define HAVE_POSIX_FALLOCATE 1
12341 _ACEOF
12342
12343 fi
12344 done
12345
12346 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12347 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
12348
12349 cat >>confdefs.h <<_ACEOF
12350 #define HAVE_STRUCT_STAT_ST_ATIM 1
12351 _ACEOF
12352
12353
12354 fi
12355
12356 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
12357 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
12358
12359 cat >>confdefs.h <<_ACEOF
12360 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12361 _ACEOF
12362
12363
12364 fi
12365
12366
12367 LIBS=
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12369 $as_echo_n "checking for library containing dlopen... " >&6; }
12370 if ${ac_cv_search_dlopen+:} false; then :
12371   $as_echo_n "(cached) " >&6
12372 else
12373   ac_func_search_save_LIBS=$LIBS
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h.  */
12376
12377 /* Override any GCC internal prototype to avoid an error.
12378    Use char because int might match the return type of a GCC
12379    builtin and then its argument prototype would still apply.  */
12380 #ifdef __cplusplus
12381 extern "C"
12382 #endif
12383 char dlopen ();
12384 int
12385 main ()
12386 {
12387 return dlopen ();
12388   ;
12389   return 0;
12390 }
12391 _ACEOF
12392 for ac_lib in '' dl; do
12393   if test -z "$ac_lib"; then
12394     ac_res="none required"
12395   else
12396     ac_res=-l$ac_lib
12397     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12398   fi
12399   if ac_fn_c_try_link "$LINENO"; then :
12400   ac_cv_search_dlopen=$ac_res
12401 fi
12402 rm -f core conftest.err conftest.$ac_objext \
12403     conftest$ac_exeext
12404   if ${ac_cv_search_dlopen+:} false; then :
12405   break
12406 fi
12407 done
12408 if ${ac_cv_search_dlopen+:} false; then :
12409
12410 else
12411   ac_cv_search_dlopen=no
12412 fi
12413 rm conftest.$ac_ext
12414 LIBS=$ac_func_search_save_LIBS
12415 fi
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12417 $as_echo "$ac_cv_search_dlopen" >&6; }
12418 ac_res=$ac_cv_search_dlopen
12419 if test "$ac_res" != no; then :
12420   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12421
12422 fi
12423
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
12425 $as_echo_n "checking for library containing clock_gettime... " >&6; }
12426 if ${ac_cv_search_clock_gettime+:} false; then :
12427   $as_echo_n "(cached) " >&6
12428 else
12429   ac_func_search_save_LIBS=$LIBS
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h.  */
12432
12433 /* Override any GCC internal prototype to avoid an error.
12434    Use char because int might match the return type of a GCC
12435    builtin and then its argument prototype would still apply.  */
12436 #ifdef __cplusplus
12437 extern "C"
12438 #endif
12439 char clock_gettime ();
12440 int
12441 main ()
12442 {
12443 return clock_gettime ();
12444   ;
12445   return 0;
12446 }
12447 _ACEOF
12448 for ac_lib in '' rt; do
12449   if test -z "$ac_lib"; then
12450     ac_res="none required"
12451   else
12452     ac_res=-l$ac_lib
12453     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12454   fi
12455   if ac_fn_c_try_link "$LINENO"; then :
12456   ac_cv_search_clock_gettime=$ac_res
12457 fi
12458 rm -f core conftest.err conftest.$ac_objext \
12459     conftest$ac_exeext
12460   if ${ac_cv_search_clock_gettime+:} false; then :
12461   break
12462 fi
12463 done
12464 if ${ac_cv_search_clock_gettime+:} false; then :
12465
12466 else
12467   ac_cv_search_clock_gettime=no
12468 fi
12469 rm conftest.$ac_ext
12470 LIBS=$ac_func_search_save_LIBS
12471 fi
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
12473 $as_echo "$ac_cv_search_clock_gettime" >&6; }
12474 ac_res=$ac_cv_search_clock_gettime
12475 if test "$ac_res" != no; then :
12476   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12477
12478 fi
12479
12480 libfuse_libs=$LIBS
12481 LIBS=
12482
12483 # Check whether --with-libiconv-prefix was given.
12484 if test "${with_libiconv_prefix+set}" = set; then :
12485   withval=$with_libiconv_prefix;
12486     for dir in `echo "$withval" | tr : ' '`; do
12487       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
12488       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
12489     done
12490
12491 fi
12492
12493
12494       if test "X$prefix" = "XNONE"; then
12495     acl_final_prefix="$ac_default_prefix"
12496   else
12497     acl_final_prefix="$prefix"
12498   fi
12499   if test "X$exec_prefix" = "XNONE"; then
12500     acl_final_exec_prefix='${prefix}'
12501   else
12502     acl_final_exec_prefix="$exec_prefix"
12503   fi
12504   acl_save_prefix="$prefix"
12505   prefix="$acl_final_prefix"
12506   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12507   prefix="$acl_save_prefix"
12508
12509
12510
12511 # Check whether --with-gnu-ld was given.
12512 if test "${with_gnu_ld+set}" = set; then :
12513   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12514 else
12515   with_gnu_ld=no
12516 fi
12517
12518 # Prepare PATH_SEPARATOR.
12519 # The user is always right.
12520 if test "${PATH_SEPARATOR+set}" != set; then
12521   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
12522   # contains only /bin. Note that ksh looks also at the FPATH variable,
12523   # so we have to set that as well for the test.
12524   PATH_SEPARATOR=:
12525   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
12526     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
12527            || PATH_SEPARATOR=';'
12528        }
12529 fi
12530
12531 ac_prog=ld
12532 if test "$GCC" = yes; then
12533   # Check if gcc -print-prog-name=ld gives a path.
12534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12535 $as_echo_n "checking for ld used by $CC... " >&6; }
12536   case $host in
12537   *-*-mingw*)
12538     # gcc leaves a trailing carriage return which upsets mingw
12539     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12540   *)
12541     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12542   esac
12543   case $ac_prog in
12544     # Accept absolute paths.
12545     [\\/]* | ?:[\\/]*)
12546       re_direlt='/[^/][^/]*/\.\./'
12547       # Canonicalize the pathname of ld
12548       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
12549       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
12550         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12551       done
12552       test -z "$LD" && LD="$ac_prog"
12553       ;;
12554   "")
12555     # If it fails, then pretend we aren't using GCC.
12556     ac_prog=ld
12557     ;;
12558   *)
12559     # If it is relative, then search for the first ld in PATH.
12560     with_gnu_ld=unknown
12561     ;;
12562   esac
12563 elif test "$with_gnu_ld" = yes; then
12564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12565 $as_echo_n "checking for GNU ld... " >&6; }
12566 else
12567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12568 $as_echo_n "checking for non-GNU ld... " >&6; }
12569 fi
12570 if ${acl_cv_path_LD+:} false; then :
12571   $as_echo_n "(cached) " >&6
12572 else
12573   if test -z "$LD"; then
12574   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12575   for ac_dir in $PATH; do
12576     IFS="$acl_save_ifs"
12577     test -z "$ac_dir" && ac_dir=.
12578     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12579       acl_cv_path_LD="$ac_dir/$ac_prog"
12580       # Check to see if the program is GNU ld.  I'd rather use --version,
12581       # but apparently some variants of GNU ld only accept -v.
12582       # Break only if it was the GNU/non-GNU ld that we prefer.
12583       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
12584       *GNU* | *'with BFD'*)
12585         test "$with_gnu_ld" != no && break
12586         ;;
12587       *)
12588         test "$with_gnu_ld" != yes && break
12589         ;;
12590       esac
12591     fi
12592   done
12593   IFS="$acl_save_ifs"
12594 else
12595   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12596 fi
12597 fi
12598
12599 LD="$acl_cv_path_LD"
12600 if test -n "$LD"; then
12601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12602 $as_echo "$LD" >&6; }
12603 else
12604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12606 fi
12607 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12609 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12610 if ${acl_cv_prog_gnu_ld+:} false; then :
12611   $as_echo_n "(cached) " >&6
12612 else
12613   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12614 case `$LD -v 2>&1 </dev/null` in
12615 *GNU* | *'with BFD'*)
12616   acl_cv_prog_gnu_ld=yes
12617   ;;
12618 *)
12619   acl_cv_prog_gnu_ld=no
12620   ;;
12621 esac
12622 fi
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12624 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12625 with_gnu_ld=$acl_cv_prog_gnu_ld
12626
12627
12628
12629
12630                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12631 $as_echo_n "checking for shared library run path origin... " >&6; }
12632 if ${acl_cv_rpath+:} false; then :
12633   $as_echo_n "(cached) " >&6
12634 else
12635
12636     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12637     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12638     . ./conftest.sh
12639     rm -f ./conftest.sh
12640     acl_cv_rpath=done
12641
12642 fi
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12644 $as_echo "$acl_cv_rpath" >&6; }
12645   wl="$acl_cv_wl"
12646   acl_libext="$acl_cv_libext"
12647   acl_shlibext="$acl_cv_shlibext"
12648   acl_libname_spec="$acl_cv_libname_spec"
12649   acl_library_names_spec="$acl_cv_library_names_spec"
12650   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12651   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12652   acl_hardcode_direct="$acl_cv_hardcode_direct"
12653   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12654     # Check whether --enable-rpath was given.
12655 if test "${enable_rpath+set}" = set; then :
12656   enableval=$enable_rpath; :
12657 else
12658   enable_rpath=yes
12659 fi
12660
12661
12662
12663
12664   acl_libdirstem=lib
12665   acl_libdirstem2=
12666   case "$host_os" in
12667     solaris*)
12668                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
12669 $as_echo_n "checking for 64-bit host... " >&6; }
12670 if ${gl_cv_solaris_64bit+:} false; then :
12671   $as_echo_n "(cached) " >&6
12672 else
12673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h.  */
12675
12676 #ifdef _LP64
12677 sixtyfour bits
12678 #endif
12679
12680 _ACEOF
12681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12682   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
12683   gl_cv_solaris_64bit=yes
12684 else
12685   gl_cv_solaris_64bit=no
12686 fi
12687 rm -f conftest*
12688
12689
12690 fi
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
12692 $as_echo "$gl_cv_solaris_64bit" >&6; }
12693       if test $gl_cv_solaris_64bit = yes; then
12694         acl_libdirstem=lib/64
12695         case "$host_cpu" in
12696           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
12697           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
12698         esac
12699       fi
12700       ;;
12701     *)
12702       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12703       if test -n "$searchpath"; then
12704         acl_save_IFS="${IFS=    }"; IFS=":"
12705         for searchdir in $searchpath; do
12706           if test -d "$searchdir"; then
12707             case "$searchdir" in
12708               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12709               */../ | */.. )
12710                 # Better ignore directories of this form. They are misleading.
12711                 ;;
12712               *) searchdir=`cd "$searchdir" && pwd`
12713                  case "$searchdir" in
12714                    */lib64 ) acl_libdirstem=lib64 ;;
12715                  esac ;;
12716             esac
12717           fi
12718         done
12719         IFS="$acl_save_IFS"
12720       fi
12721       ;;
12722   esac
12723   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736     use_additional=yes
12737
12738   acl_save_prefix="$prefix"
12739   prefix="$acl_final_prefix"
12740   acl_save_exec_prefix="$exec_prefix"
12741   exec_prefix="$acl_final_exec_prefix"
12742
12743     eval additional_includedir=\"$includedir\"
12744     eval additional_libdir=\"$libdir\"
12745
12746   exec_prefix="$acl_save_exec_prefix"
12747   prefix="$acl_save_prefix"
12748
12749
12750 # Check whether --with-libiconv-prefix was given.
12751 if test "${with_libiconv_prefix+set}" = set; then :
12752   withval=$with_libiconv_prefix;
12753     if test "X$withval" = "Xno"; then
12754       use_additional=no
12755     else
12756       if test "X$withval" = "X"; then
12757
12758   acl_save_prefix="$prefix"
12759   prefix="$acl_final_prefix"
12760   acl_save_exec_prefix="$exec_prefix"
12761   exec_prefix="$acl_final_exec_prefix"
12762
12763           eval additional_includedir=\"$includedir\"
12764           eval additional_libdir=\"$libdir\"
12765
12766   exec_prefix="$acl_save_exec_prefix"
12767   prefix="$acl_save_prefix"
12768
12769       else
12770         additional_includedir="$withval/include"
12771         additional_libdir="$withval/$acl_libdirstem"
12772         if test "$acl_libdirstem2" != "$acl_libdirstem" \
12773            && ! test -d "$withval/$acl_libdirstem"; then
12774           additional_libdir="$withval/$acl_libdirstem2"
12775         fi
12776       fi
12777     fi
12778
12779 fi
12780
12781       LIBICONV=
12782   LTLIBICONV=
12783   INCICONV=
12784   LIBICONV_PREFIX=
12785       HAVE_LIBICONV=
12786   rpathdirs=
12787   ltrpathdirs=
12788   names_already_handled=
12789   names_next_round='iconv '
12790   while test -n "$names_next_round"; do
12791     names_this_round="$names_next_round"
12792     names_next_round=
12793     for name in $names_this_round; do
12794       already_handled=
12795       for n in $names_already_handled; do
12796         if test "$n" = "$name"; then
12797           already_handled=yes
12798           break
12799         fi
12800       done
12801       if test -z "$already_handled"; then
12802         names_already_handled="$names_already_handled $name"
12803                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
12804         eval value=\"\$HAVE_LIB$uppername\"
12805         if test -n "$value"; then
12806           if test "$value" = yes; then
12807             eval value=\"\$LIB$uppername\"
12808             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12809             eval value=\"\$LTLIB$uppername\"
12810             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12811           else
12812                                     :
12813           fi
12814         else
12815                               found_dir=
12816           found_la=
12817           found_so=
12818           found_a=
12819           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12820           if test -n "$acl_shlibext"; then
12821             shrext=".$acl_shlibext"             # typically: shrext=.so
12822           else
12823             shrext=
12824           fi
12825           if test $use_additional = yes; then
12826             dir="$additional_libdir"
12827                                     if test -n "$acl_shlibext"; then
12828               if test -f "$dir/$libname$shrext"; then
12829                 found_dir="$dir"
12830                 found_so="$dir/$libname$shrext"
12831               else
12832                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12833                   ver=`(cd "$dir" && \
12834                         for f in "$libname$shrext".*; do echo "$f"; done \
12835                         | sed -e "s,^$libname$shrext\\\\.,," \
12836                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12837                         | sed 1q ) 2>/dev/null`
12838                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12839                     found_dir="$dir"
12840                     found_so="$dir/$libname$shrext.$ver"
12841                   fi
12842                 else
12843                   eval library_names=\"$acl_library_names_spec\"
12844                   for f in $library_names; do
12845                     if test -f "$dir/$f"; then
12846                       found_dir="$dir"
12847                       found_so="$dir/$f"
12848                       break
12849                     fi
12850                   done
12851                 fi
12852               fi
12853             fi
12854                         if test "X$found_dir" = "X"; then
12855               if test -f "$dir/$libname.$acl_libext"; then
12856                 found_dir="$dir"
12857                 found_a="$dir/$libname.$acl_libext"
12858               fi
12859             fi
12860             if test "X$found_dir" != "X"; then
12861               if test -f "$dir/$libname.la"; then
12862                 found_la="$dir/$libname.la"
12863               fi
12864             fi
12865           fi
12866           if test "X$found_dir" = "X"; then
12867             for x in $LDFLAGS $LTLIBICONV; do
12868
12869   acl_save_prefix="$prefix"
12870   prefix="$acl_final_prefix"
12871   acl_save_exec_prefix="$exec_prefix"
12872   exec_prefix="$acl_final_exec_prefix"
12873   eval x=\"$x\"
12874   exec_prefix="$acl_save_exec_prefix"
12875   prefix="$acl_save_prefix"
12876
12877               case "$x" in
12878                 -L*)
12879                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12880                                     if test -n "$acl_shlibext"; then
12881                     if test -f "$dir/$libname$shrext"; then
12882                       found_dir="$dir"
12883                       found_so="$dir/$libname$shrext"
12884                     else
12885                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12886                         ver=`(cd "$dir" && \
12887                               for f in "$libname$shrext".*; do echo "$f"; done \
12888                               | sed -e "s,^$libname$shrext\\\\.,," \
12889                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12890                               | sed 1q ) 2>/dev/null`
12891                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12892                           found_dir="$dir"
12893                           found_so="$dir/$libname$shrext.$ver"
12894                         fi
12895                       else
12896                         eval library_names=\"$acl_library_names_spec\"
12897                         for f in $library_names; do
12898                           if test -f "$dir/$f"; then
12899                             found_dir="$dir"
12900                             found_so="$dir/$f"
12901                             break
12902                           fi
12903                         done
12904                       fi
12905                     fi
12906                   fi
12907                                     if test "X$found_dir" = "X"; then
12908                     if test -f "$dir/$libname.$acl_libext"; then
12909                       found_dir="$dir"
12910                       found_a="$dir/$libname.$acl_libext"
12911                     fi
12912                   fi
12913                   if test "X$found_dir" != "X"; then
12914                     if test -f "$dir/$libname.la"; then
12915                       found_la="$dir/$libname.la"
12916                     fi
12917                   fi
12918                   ;;
12919               esac
12920               if test "X$found_dir" != "X"; then
12921                 break
12922               fi
12923             done
12924           fi
12925           if test "X$found_dir" != "X"; then
12926                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12927             if test "X$found_so" != "X"; then
12928                                                         if test "$enable_rpath" = no \
12929                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
12930                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
12931                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12932               else
12933                                                                                 haveit=
12934                 for x in $ltrpathdirs; do
12935                   if test "X$x" = "X$found_dir"; then
12936                     haveit=yes
12937                     break
12938                   fi
12939                 done
12940                 if test -z "$haveit"; then
12941                   ltrpathdirs="$ltrpathdirs $found_dir"
12942                 fi
12943                                 if test "$acl_hardcode_direct" = yes; then
12944                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12945                 else
12946                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12947                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12948                                                             haveit=
12949                     for x in $rpathdirs; do
12950                       if test "X$x" = "X$found_dir"; then
12951                         haveit=yes
12952                         break
12953                       fi
12954                     done
12955                     if test -z "$haveit"; then
12956                       rpathdirs="$rpathdirs $found_dir"
12957                     fi
12958                   else
12959                                                                                 haveit=
12960                     for x in $LDFLAGS $LIBICONV; do
12961
12962   acl_save_prefix="$prefix"
12963   prefix="$acl_final_prefix"
12964   acl_save_exec_prefix="$exec_prefix"
12965   exec_prefix="$acl_final_exec_prefix"
12966   eval x=\"$x\"
12967   exec_prefix="$acl_save_exec_prefix"
12968   prefix="$acl_save_prefix"
12969
12970                       if test "X$x" = "X-L$found_dir"; then
12971                         haveit=yes
12972                         break
12973                       fi
12974                     done
12975                     if test -z "$haveit"; then
12976                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12977                     fi
12978                     if test "$acl_hardcode_minus_L" != no; then
12979                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12980                     else
12981                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12982                     fi
12983                   fi
12984                 fi
12985               fi
12986             else
12987               if test "X$found_a" != "X"; then
12988                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12989               else
12990                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12991               fi
12992             fi
12993                         additional_includedir=
12994             case "$found_dir" in
12995               */$acl_libdirstem | */$acl_libdirstem/)
12996                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12997                 if test "$name" = 'iconv'; then
12998                   LIBICONV_PREFIX="$basedir"
12999                 fi
13000                 additional_includedir="$basedir/include"
13001                 ;;
13002               */$acl_libdirstem2 | */$acl_libdirstem2/)
13003                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
13004                 if test "$name" = 'iconv'; then
13005                   LIBICONV_PREFIX="$basedir"
13006                 fi
13007                 additional_includedir="$basedir/include"
13008                 ;;
13009             esac
13010             if test "X$additional_includedir" != "X"; then
13011                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13012                 haveit=
13013                 if test "X$additional_includedir" = "X/usr/local/include"; then
13014                   if test -n "$GCC"; then
13015                     case $host_os in
13016                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13017                     esac
13018                   fi
13019                 fi
13020                 if test -z "$haveit"; then
13021                   for x in $CPPFLAGS $INCICONV; do
13022
13023   acl_save_prefix="$prefix"
13024   prefix="$acl_final_prefix"
13025   acl_save_exec_prefix="$exec_prefix"
13026   exec_prefix="$acl_final_exec_prefix"
13027   eval x=\"$x\"
13028   exec_prefix="$acl_save_exec_prefix"
13029   prefix="$acl_save_prefix"
13030
13031                     if test "X$x" = "X-I$additional_includedir"; then
13032                       haveit=yes
13033                       break
13034                     fi
13035                   done
13036                   if test -z "$haveit"; then
13037                     if test -d "$additional_includedir"; then
13038                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13039                     fi
13040                   fi
13041                 fi
13042               fi
13043             fi
13044                         if test -n "$found_la"; then
13045                                                         save_libdir="$libdir"
13046               case "$found_la" in
13047                 */* | *\\*) . "$found_la" ;;
13048                 *) . "./$found_la" ;;
13049               esac
13050               libdir="$save_libdir"
13051                             for dep in $dependency_libs; do
13052                 case "$dep" in
13053                   -L*)
13054                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13055                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
13056                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
13057                       haveit=
13058                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
13059                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
13060                         if test -n "$GCC"; then
13061                           case $host_os in
13062                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13063                           esac
13064                         fi
13065                       fi
13066                       if test -z "$haveit"; then
13067                         haveit=
13068                         for x in $LDFLAGS $LIBICONV; do
13069
13070   acl_save_prefix="$prefix"
13071   prefix="$acl_final_prefix"
13072   acl_save_exec_prefix="$exec_prefix"
13073   exec_prefix="$acl_final_exec_prefix"
13074   eval x=\"$x\"
13075   exec_prefix="$acl_save_exec_prefix"
13076   prefix="$acl_save_prefix"
13077
13078                           if test "X$x" = "X-L$additional_libdir"; then
13079                             haveit=yes
13080                             break
13081                           fi
13082                         done
13083                         if test -z "$haveit"; then
13084                           if test -d "$additional_libdir"; then
13085                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13086                           fi
13087                         fi
13088                         haveit=
13089                         for x in $LDFLAGS $LTLIBICONV; do
13090
13091   acl_save_prefix="$prefix"
13092   prefix="$acl_final_prefix"
13093   acl_save_exec_prefix="$exec_prefix"
13094   exec_prefix="$acl_final_exec_prefix"
13095   eval x=\"$x\"
13096   exec_prefix="$acl_save_exec_prefix"
13097   prefix="$acl_save_prefix"
13098
13099                           if test "X$x" = "X-L$additional_libdir"; then
13100                             haveit=yes
13101                             break
13102                           fi
13103                         done
13104                         if test -z "$haveit"; then
13105                           if test -d "$additional_libdir"; then
13106                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13107                           fi
13108                         fi
13109                       fi
13110                     fi
13111                     ;;
13112                   -R*)
13113                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13114                     if test "$enable_rpath" != no; then
13115                                                                   haveit=
13116                       for x in $rpathdirs; do
13117                         if test "X$x" = "X$dir"; then
13118                           haveit=yes
13119                           break
13120                         fi
13121                       done
13122                       if test -z "$haveit"; then
13123                         rpathdirs="$rpathdirs $dir"
13124                       fi
13125                                                                   haveit=
13126                       for x in $ltrpathdirs; do
13127                         if test "X$x" = "X$dir"; then
13128                           haveit=yes
13129                           break
13130                         fi
13131                       done
13132                       if test -z "$haveit"; then
13133                         ltrpathdirs="$ltrpathdirs $dir"
13134                       fi
13135                     fi
13136                     ;;
13137                   -l*)
13138                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13139                     ;;
13140                   *.la)
13141                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13142                     ;;
13143                   *)
13144                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13145                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13146                     ;;
13147                 esac
13148               done
13149             fi
13150           else
13151                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13152             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13153           fi
13154         fi
13155       fi
13156     done
13157   done
13158   if test "X$rpathdirs" != "X"; then
13159     if test -n "$acl_hardcode_libdir_separator"; then
13160                         alldirs=
13161       for found_dir in $rpathdirs; do
13162         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13163       done
13164             acl_save_libdir="$libdir"
13165       libdir="$alldirs"
13166       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13167       libdir="$acl_save_libdir"
13168       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13169     else
13170             for found_dir in $rpathdirs; do
13171         acl_save_libdir="$libdir"
13172         libdir="$found_dir"
13173         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13174         libdir="$acl_save_libdir"
13175         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13176       done
13177     fi
13178   fi
13179   if test "X$ltrpathdirs" != "X"; then
13180             for found_dir in $ltrpathdirs; do
13181       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13182     done
13183   fi
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196           am_save_CPPFLAGS="$CPPFLAGS"
13197
13198   for element in $INCICONV; do
13199     haveit=
13200     for x in $CPPFLAGS; do
13201
13202   acl_save_prefix="$prefix"
13203   prefix="$acl_final_prefix"
13204   acl_save_exec_prefix="$exec_prefix"
13205   exec_prefix="$acl_final_exec_prefix"
13206   eval x=\"$x\"
13207   exec_prefix="$acl_save_exec_prefix"
13208   prefix="$acl_save_prefix"
13209
13210       if test "X$x" = "X$element"; then
13211         haveit=yes
13212         break
13213       fi
13214     done
13215     if test -z "$haveit"; then
13216       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13217     fi
13218   done
13219
13220
13221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13222 $as_echo_n "checking for iconv... " >&6; }
13223 if ${am_cv_func_iconv+:} false; then :
13224   $as_echo_n "(cached) " >&6
13225 else
13226
13227     am_cv_func_iconv="no, consider installing GNU libiconv"
13228     am_cv_lib_iconv=no
13229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h.  */
13231
13232 #include <stdlib.h>
13233 #include <iconv.h>
13234
13235 int
13236 main ()
13237 {
13238 iconv_t cd = iconv_open("","");
13239            iconv(cd,NULL,NULL,NULL,NULL);
13240            iconv_close(cd);
13241   ;
13242   return 0;
13243 }
13244 _ACEOF
13245 if ac_fn_c_try_link "$LINENO"; then :
13246   am_cv_func_iconv=yes
13247 fi
13248 rm -f core conftest.err conftest.$ac_objext \
13249     conftest$ac_exeext conftest.$ac_ext
13250     if test "$am_cv_func_iconv" != yes; then
13251       am_save_LIBS="$LIBS"
13252       LIBS="$LIBS $LIBICONV"
13253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h.  */
13255
13256 #include <stdlib.h>
13257 #include <iconv.h>
13258
13259 int
13260 main ()
13261 {
13262 iconv_t cd = iconv_open("","");
13263              iconv(cd,NULL,NULL,NULL,NULL);
13264              iconv_close(cd);
13265   ;
13266   return 0;
13267 }
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270   am_cv_lib_iconv=yes
13271         am_cv_func_iconv=yes
13272 fi
13273 rm -f core conftest.err conftest.$ac_objext \
13274     conftest$ac_exeext conftest.$ac_ext
13275       LIBS="$am_save_LIBS"
13276     fi
13277
13278 fi
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13280 $as_echo "$am_cv_func_iconv" >&6; }
13281   if test "$am_cv_func_iconv" = yes; then
13282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13283 $as_echo_n "checking for working iconv... " >&6; }
13284 if ${am_cv_func_iconv_works+:} false; then :
13285   $as_echo_n "(cached) " >&6
13286 else
13287
13288                   am_save_LIBS="$LIBS"
13289       if test $am_cv_lib_iconv = yes; then
13290         LIBS="$LIBS $LIBICONV"
13291       fi
13292       if test "$cross_compiling" = yes; then :
13293
13294          case "$host_os" in
13295            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13296            *)            am_cv_func_iconv_works="guessing yes" ;;
13297          esac
13298
13299 else
13300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h.  */
13302
13303 #include <iconv.h>
13304 #include <string.h>
13305 int main ()
13306 {
13307   int result = 0;
13308   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13309      returns.  */
13310   {
13311     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13312     if (cd_utf8_to_88591 != (iconv_t)(-1))
13313       {
13314         static const char input[] = "\342\202\254"; /* EURO SIGN */
13315         char buf[10];
13316         const char *inptr = input;
13317         size_t inbytesleft = strlen (input);
13318         char *outptr = buf;
13319         size_t outbytesleft = sizeof (buf);
13320         size_t res = iconv (cd_utf8_to_88591,
13321                             (char **) &inptr, &inbytesleft,
13322                             &outptr, &outbytesleft);
13323         if (res == 0)
13324           result |= 1;
13325         iconv_close (cd_utf8_to_88591);
13326       }
13327   }
13328   /* Test against Solaris 10 bug: Failures are not distinguishable from
13329      successful returns.  */
13330   {
13331     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
13332     if (cd_ascii_to_88591 != (iconv_t)(-1))
13333       {
13334         static const char input[] = "\263";
13335         char buf[10];
13336         const char *inptr = input;
13337         size_t inbytesleft = strlen (input);
13338         char *outptr = buf;
13339         size_t outbytesleft = sizeof (buf);
13340         size_t res = iconv (cd_ascii_to_88591,
13341                             (char **) &inptr, &inbytesleft,
13342                             &outptr, &outbytesleft);
13343         if (res == 0)
13344           result |= 2;
13345         iconv_close (cd_ascii_to_88591);
13346       }
13347   }
13348   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
13349   {
13350     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
13351     if (cd_88591_to_utf8 != (iconv_t)(-1))
13352       {
13353         static const char input[] = "\304";
13354         static char buf[2] = { (char)0xDE, (char)0xAD };
13355         const char *inptr = input;
13356         size_t inbytesleft = 1;
13357         char *outptr = buf;
13358         size_t outbytesleft = 1;
13359         size_t res = iconv (cd_88591_to_utf8,
13360                             (char **) &inptr, &inbytesleft,
13361                             &outptr, &outbytesleft);
13362         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
13363           result |= 4;
13364         iconv_close (cd_88591_to_utf8);
13365       }
13366   }
13367 #if 0 /* This bug could be worked around by the caller.  */
13368   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13369   {
13370     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13371     if (cd_88591_to_utf8 != (iconv_t)(-1))
13372       {
13373         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13374         char buf[50];
13375         const char *inptr = input;
13376         size_t inbytesleft = strlen (input);
13377         char *outptr = buf;
13378         size_t outbytesleft = sizeof (buf);
13379         size_t res = iconv (cd_88591_to_utf8,
13380                             (char **) &inptr, &inbytesleft,
13381                             &outptr, &outbytesleft);
13382         if ((int)res > 0)
13383           result |= 8;
13384         iconv_close (cd_88591_to_utf8);
13385       }
13386   }
13387 #endif
13388   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13389      provided.  */
13390   if (/* Try standardized names.  */
13391       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13392       /* Try IRIX, OSF/1 names.  */
13393       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13394       /* Try AIX names.  */
13395       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13396       /* Try HP-UX names.  */
13397       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13398     result |= 16;
13399   return result;
13400 }
13401 _ACEOF
13402 if ac_fn_c_try_run "$LINENO"; then :
13403   am_cv_func_iconv_works=yes
13404 else
13405   am_cv_func_iconv_works=no
13406 fi
13407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13408   conftest.$ac_objext conftest.beam conftest.$ac_ext
13409 fi
13410
13411       LIBS="$am_save_LIBS"
13412
13413 fi
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13415 $as_echo "$am_cv_func_iconv_works" >&6; }
13416     case "$am_cv_func_iconv_works" in
13417       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13418       *)   am_func_iconv=yes ;;
13419     esac
13420   else
13421     am_func_iconv=no am_cv_lib_iconv=no
13422   fi
13423   if test "$am_func_iconv" = yes; then
13424
13425 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13426
13427   fi
13428   if test "$am_cv_lib_iconv" = yes; then
13429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13430 $as_echo_n "checking how to link with libiconv... " >&6; }
13431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13432 $as_echo "$LIBICONV" >&6; }
13433   else
13434             CPPFLAGS="$am_save_CPPFLAGS"
13435     LIBICONV=
13436     LTLIBICONV=
13437   fi
13438
13439
13440
13441   if test "$am_cv_func_iconv" = yes; then
13442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13443 $as_echo_n "checking for iconv declaration... " >&6; }
13444     if ${am_cv_proto_iconv+:} false; then :
13445   $as_echo_n "(cached) " >&6
13446 else
13447
13448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h.  */
13450
13451 #include <stdlib.h>
13452 #include <iconv.h>
13453 extern
13454 #ifdef __cplusplus
13455 "C"
13456 #endif
13457 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
13458 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13459 #else
13460 size_t iconv();
13461 #endif
13462
13463 int
13464 main ()
13465 {
13466
13467   ;
13468   return 0;
13469 }
13470 _ACEOF
13471 if ac_fn_c_try_compile "$LINENO"; then :
13472   am_cv_proto_iconv_arg1=""
13473 else
13474   am_cv_proto_iconv_arg1="const"
13475 fi
13476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13477       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);"
13478 fi
13479
13480     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13481     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
13482          $am_cv_proto_iconv" >&5
13483 $as_echo "
13484          $am_cv_proto_iconv" >&6; }
13485
13486 cat >>confdefs.h <<_ACEOF
13487 #define ICONV_CONST $am_cv_proto_iconv_arg1
13488 _ACEOF
13489
13490
13491   fi
13492
13493 libfuse_libs="$libfuse_libs $LTLIBICONV"
13494  if test "$am_cv_func_iconv" = yes; then
13495   ICONV_TRUE=
13496   ICONV_FALSE='#'
13497 else
13498   ICONV_TRUE='#'
13499   ICONV_FALSE=
13500 fi
13501
13502
13503
13504 if test -z "$MOUNT_FUSE_PATH"; then
13505         MOUNT_FUSE_PATH=/sbin
13506         { $as_echo "$as_me:${as_lineno-$LINENO}: MOUNT_FUSE_PATH env var not set, using default $MOUNT_FUSE_PATH" >&5
13507 $as_echo "$as_me: MOUNT_FUSE_PATH env var not set, using default $MOUNT_FUSE_PATH" >&6;}
13508 fi
13509
13510 if test -z "$UDEV_RULES_PATH"; then
13511         UDEV_RULES_PATH=/etc/udev/rules.d
13512         { $as_echo "$as_me:${as_lineno-$LINENO}: UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH" >&5
13513 $as_echo "$as_me: UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH" >&6;}
13514 fi
13515
13516 if test -z "$INIT_D_PATH"; then
13517         INIT_D_PATH=/etc/init.d
13518         { $as_echo "$as_me:${as_lineno-$LINENO}: INIT_D_PATH env var not set, using default $INIT_D_PATH" >&5
13519 $as_echo "$as_me: INIT_D_PATH env var not set, using default $INIT_D_PATH" >&6;}
13520 fi
13521
13522
13523
13524
13525  if test "$arch" = linux; then
13526   LINUX_TRUE=
13527   LINUX_FALSE='#'
13528 else
13529   LINUX_TRUE='#'
13530   LINUX_FALSE=
13531 fi
13532
13533  if test "$arch" = netbsd; then
13534   NETBSD_TRUE=
13535   NETBSD_FALSE='#'
13536 else
13537   NETBSD_TRUE='#'
13538   NETBSD_FALSE=
13539 fi
13540
13541  if test "$arch" = bsd; then
13542   BSD_TRUE=
13543   BSD_FALSE='#'
13544 else
13545   BSD_TRUE='#'
13546   BSD_FALSE=
13547 fi
13548
13549
13550 util_linux_ok=yes
13551 if test "$arch" = linux -a "$cross_compiling" != "yes"; then
13552         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if umount supports --fake --no-canonicalize" >&5
13553 $as_echo_n "checking if umount supports --fake --no-canonicalize... " >&6; }
13554         # exit code of umount is 1 if option is unrecognised, 2 otherwise
13555         umount --fake --no-canonicalize > /dev/null 2>&1
13556         if test $? != 1; then
13557                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13558 $as_echo "yes" >&6; }
13559         else
13560                 firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
13561                 if test "$firstline" = 'umount: only root can use "--fake" option'; then
13562                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13563 $as_echo "yes" >&6; }
13564                 else
13565                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $firstline" >&5
13566 $as_echo "$firstline" >&6; }
13567                         util_linux_ok=no
13568                 fi
13569         fi
13570 fi
13571
13572 ac_config_files="$ac_config_files fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile"
13573
13574 cat >confcache <<\_ACEOF
13575 # This file is a shell script that caches the results of configure
13576 # tests run on this system so they can be shared between configure
13577 # scripts and configure runs, see configure's option --config-cache.
13578 # It is not useful on other systems.  If it contains results you don't
13579 # want to keep, you may remove or edit it.
13580 #
13581 # config.status only pays attention to the cache file if you give it
13582 # the --recheck option to rerun configure.
13583 #
13584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13586 # following values.
13587
13588 _ACEOF
13589
13590 # The following way of writing the cache mishandles newlines in values,
13591 # but we know of no workaround that is simple, portable, and efficient.
13592 # So, we kill variables containing newlines.
13593 # Ultrix sh set writes to stderr and can't be redirected directly,
13594 # and sets the high bit in the cache file unless we assign to the vars.
13595 (
13596   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13597     eval ac_val=\$$ac_var
13598     case $ac_val in #(
13599     *${as_nl}*)
13600       case $ac_var in #(
13601       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13603       esac
13604       case $ac_var in #(
13605       _ | IFS | as_nl) ;; #(
13606       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13607       *) { eval $ac_var=; unset $ac_var;} ;;
13608       esac ;;
13609     esac
13610   done
13611
13612   (set) 2>&1 |
13613     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13614     *${as_nl}ac_space=\ *)
13615       # `set' does not quote correctly, so add quotes: double-quote
13616       # substitution turns \\\\ into \\, and sed turns \\ into \.
13617       sed -n \
13618         "s/'/'\\\\''/g;
13619           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13620       ;; #(
13621     *)
13622       # `set' quotes correctly as required by POSIX, so do not add quotes.
13623       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13624       ;;
13625     esac |
13626     sort
13627 ) |
13628   sed '
13629      /^ac_cv_env_/b end
13630      t clear
13631      :clear
13632      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13633      t end
13634      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13635      :end' >>confcache
13636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13637   if test -w "$cache_file"; then
13638     if test "x$cache_file" != "x/dev/null"; then
13639       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13640 $as_echo "$as_me: updating cache $cache_file" >&6;}
13641       if test ! -f "$cache_file" || test -h "$cache_file"; then
13642         cat confcache >"$cache_file"
13643       else
13644         case $cache_file in #(
13645         */* | ?:*)
13646           mv -f confcache "$cache_file"$$ &&
13647           mv -f "$cache_file"$$ "$cache_file" ;; #(
13648         *)
13649           mv -f confcache "$cache_file" ;;
13650         esac
13651       fi
13652     fi
13653   else
13654     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13656   fi
13657 fi
13658 rm -f confcache
13659
13660 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13661 # Let make expand exec_prefix.
13662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13663
13664 DEFS=-DHAVE_CONFIG_H
13665
13666 ac_libobjs=
13667 ac_ltlibobjs=
13668 U=
13669 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13670   # 1. Remove the extension, and $U if already installed.
13671   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13672   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13673   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13674   #    will be set to the directory where LIBOBJS objects are built.
13675   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13676   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13677 done
13678 LIBOBJS=$ac_libobjs
13679
13680 LTLIBOBJS=$ac_ltlibobjs
13681
13682
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13684 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13685    if test -n "$am_sleep_pid"; then
13686      # Hide warnings about reused PIDs.
13687      wait $am_sleep_pid 2>/dev/null
13688    fi
13689    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13690 $as_echo "done" >&6; }
13691  if test -n "$EXEEXT"; then
13692   am__EXEEXT_TRUE=
13693   am__EXEEXT_FALSE='#'
13694 else
13695   am__EXEEXT_TRUE='#'
13696   am__EXEEXT_FALSE=
13697 fi
13698
13699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13700   as_fn_error $? "conditional \"AMDEP\" was never defined.
13701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13702 fi
13703 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13704   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13706 fi
13707 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13708   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13710 fi
13711 if test -z "${ICONV_TRUE}" && test -z "${ICONV_FALSE}"; then
13712   as_fn_error $? "conditional \"ICONV\" was never defined.
13713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13714 fi
13715 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
13716   as_fn_error $? "conditional \"LINUX\" was never defined.
13717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13718 fi
13719 if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
13720   as_fn_error $? "conditional \"NETBSD\" was never defined.
13721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13722 fi
13723 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
13724   as_fn_error $? "conditional \"BSD\" was never defined.
13725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13726 fi
13727
13728 : "${CONFIG_STATUS=./config.status}"
13729 ac_write_fail=0
13730 ac_clean_files_save=$ac_clean_files
13731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13734 as_write_fail=0
13735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13736 #! $SHELL
13737 # Generated by $as_me.
13738 # Run this file to recreate the current configuration.
13739 # Compiler output produced by configure, useful for debugging
13740 # configure, is in config.log if it exists.
13741
13742 debug=false
13743 ac_cs_recheck=false
13744 ac_cs_silent=false
13745
13746 SHELL=\${CONFIG_SHELL-$SHELL}
13747 export SHELL
13748 _ASEOF
13749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13750 ## -------------------- ##
13751 ## M4sh Initialization. ##
13752 ## -------------------- ##
13753
13754 # Be more Bourne compatible
13755 DUALCASE=1; export DUALCASE # for MKS sh
13756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13757   emulate sh
13758   NULLCMD=:
13759   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13760   # is contrary to our usage.  Disable this feature.
13761   alias -g '${1+"$@"}'='"$@"'
13762   setopt NO_GLOB_SUBST
13763 else
13764   case `(set -o) 2>/dev/null` in #(
13765   *posix*) :
13766     set -o posix ;; #(
13767   *) :
13768      ;;
13769 esac
13770 fi
13771
13772
13773 as_nl='
13774 '
13775 export as_nl
13776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13777 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13780 # Prefer a ksh shell builtin over an external printf program on Solaris,
13781 # but without wasting forks for bash or zsh.
13782 if test -z "$BASH_VERSION$ZSH_VERSION" \
13783     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13784   as_echo='print -r --'
13785   as_echo_n='print -rn --'
13786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13787   as_echo='printf %s\n'
13788   as_echo_n='printf %s'
13789 else
13790   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13791     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13792     as_echo_n='/usr/ucb/echo -n'
13793   else
13794     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13795     as_echo_n_body='eval
13796       arg=$1;
13797       case $arg in #(
13798       *"$as_nl"*)
13799         expr "X$arg" : "X\\(.*\\)$as_nl";
13800         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13801       esac;
13802       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13803     '
13804     export as_echo_n_body
13805     as_echo_n='sh -c $as_echo_n_body as_echo'
13806   fi
13807   export as_echo_body
13808   as_echo='sh -c $as_echo_body as_echo'
13809 fi
13810
13811 # The user is always right.
13812 if test "${PATH_SEPARATOR+set}" != set; then
13813   PATH_SEPARATOR=:
13814   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13815     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13816       PATH_SEPARATOR=';'
13817   }
13818 fi
13819
13820
13821 # IFS
13822 # We need space, tab and new line, in precisely that order.  Quoting is
13823 # there to prevent editors from complaining about space-tab.
13824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13825 # splitting by setting IFS to empty value.)
13826 IFS=" ""        $as_nl"
13827
13828 # Find who we are.  Look in the path if we contain no directory separator.
13829 as_myself=
13830 case $0 in #((
13831   *[\\/]* ) as_myself=$0 ;;
13832   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13833 for as_dir in $PATH
13834 do
13835   IFS=$as_save_IFS
13836   test -z "$as_dir" && as_dir=.
13837     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13838   done
13839 IFS=$as_save_IFS
13840
13841      ;;
13842 esac
13843 # We did not find ourselves, most probably we were run as `sh COMMAND'
13844 # in which case we are not to be found in the path.
13845 if test "x$as_myself" = x; then
13846   as_myself=$0
13847 fi
13848 if test ! -f "$as_myself"; then
13849   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13850   exit 1
13851 fi
13852
13853 # Unset variables that we do not need and which cause bugs (e.g. in
13854 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13855 # suppresses any "Segmentation fault" message there.  '((' could
13856 # trigger a bug in pdksh 5.2.14.
13857 for as_var in BASH_ENV ENV MAIL MAILPATH
13858 do eval test x\${$as_var+set} = xset \
13859   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13860 done
13861 PS1='$ '
13862 PS2='> '
13863 PS4='+ '
13864
13865 # NLS nuisances.
13866 LC_ALL=C
13867 export LC_ALL
13868 LANGUAGE=C
13869 export LANGUAGE
13870
13871 # CDPATH.
13872 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13873
13874
13875 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13876 # ----------------------------------------
13877 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13878 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13879 # script with STATUS, using 1 if that was 0.
13880 as_fn_error ()
13881 {
13882   as_status=$1; test $as_status -eq 0 && as_status=1
13883   if test "$4"; then
13884     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13885     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13886   fi
13887   $as_echo "$as_me: error: $2" >&2
13888   as_fn_exit $as_status
13889 } # as_fn_error
13890
13891
13892 # as_fn_set_status STATUS
13893 # -----------------------
13894 # Set $? to STATUS, without forking.
13895 as_fn_set_status ()
13896 {
13897   return $1
13898 } # as_fn_set_status
13899
13900 # as_fn_exit STATUS
13901 # -----------------
13902 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13903 as_fn_exit ()
13904 {
13905   set +e
13906   as_fn_set_status $1
13907   exit $1
13908 } # as_fn_exit
13909
13910 # as_fn_unset VAR
13911 # ---------------
13912 # Portably unset VAR.
13913 as_fn_unset ()
13914 {
13915   { eval $1=; unset $1;}
13916 }
13917 as_unset=as_fn_unset
13918 # as_fn_append VAR VALUE
13919 # ----------------------
13920 # Append the text in VALUE to the end of the definition contained in VAR. Take
13921 # advantage of any shell optimizations that allow amortized linear growth over
13922 # repeated appends, instead of the typical quadratic growth present in naive
13923 # implementations.
13924 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13925   eval 'as_fn_append ()
13926   {
13927     eval $1+=\$2
13928   }'
13929 else
13930   as_fn_append ()
13931   {
13932     eval $1=\$$1\$2
13933   }
13934 fi # as_fn_append
13935
13936 # as_fn_arith ARG...
13937 # ------------------
13938 # Perform arithmetic evaluation on the ARGs, and store the result in the
13939 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13940 # must be portable across $(()) and expr.
13941 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13942   eval 'as_fn_arith ()
13943   {
13944     as_val=$(( $* ))
13945   }'
13946 else
13947   as_fn_arith ()
13948   {
13949     as_val=`expr "$@" || test $? -eq 1`
13950   }
13951 fi # as_fn_arith
13952
13953
13954 if expr a : '\(a\)' >/dev/null 2>&1 &&
13955    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13956   as_expr=expr
13957 else
13958   as_expr=false
13959 fi
13960
13961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13962   as_basename=basename
13963 else
13964   as_basename=false
13965 fi
13966
13967 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13968   as_dirname=dirname
13969 else
13970   as_dirname=false
13971 fi
13972
13973 as_me=`$as_basename -- "$0" ||
13974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13975          X"$0" : 'X\(//\)$' \| \
13976          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13977 $as_echo X/"$0" |
13978     sed '/^.*\/\([^/][^/]*\)\/*$/{
13979             s//\1/
13980             q
13981           }
13982           /^X\/\(\/\/\)$/{
13983             s//\1/
13984             q
13985           }
13986           /^X\/\(\/\).*/{
13987             s//\1/
13988             q
13989           }
13990           s/.*/./; q'`
13991
13992 # Avoid depending upon Character Ranges.
13993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13996 as_cr_digits='0123456789'
13997 as_cr_alnum=$as_cr_Letters$as_cr_digits
13998
13999 ECHO_C= ECHO_N= ECHO_T=
14000 case `echo -n x` in #(((((
14001 -n*)
14002   case `echo 'xy\c'` in
14003   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14004   xy)  ECHO_C='\c';;
14005   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14006        ECHO_T=' ';;
14007   esac;;
14008 *)
14009   ECHO_N='-n';;
14010 esac
14011
14012 rm -f conf$$ conf$$.exe conf$$.file
14013 if test -d conf$$.dir; then
14014   rm -f conf$$.dir/conf$$.file
14015 else
14016   rm -f conf$$.dir
14017   mkdir conf$$.dir 2>/dev/null
14018 fi
14019 if (echo >conf$$.file) 2>/dev/null; then
14020   if ln -s conf$$.file conf$$ 2>/dev/null; then
14021     as_ln_s='ln -s'
14022     # ... but there are two gotchas:
14023     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14024     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14025     # In both cases, we have to default to `cp -pR'.
14026     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14027       as_ln_s='cp -pR'
14028   elif ln conf$$.file conf$$ 2>/dev/null; then
14029     as_ln_s=ln
14030   else
14031     as_ln_s='cp -pR'
14032   fi
14033 else
14034   as_ln_s='cp -pR'
14035 fi
14036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14037 rmdir conf$$.dir 2>/dev/null
14038
14039
14040 # as_fn_mkdir_p
14041 # -------------
14042 # Create "$as_dir" as a directory, including parents if necessary.
14043 as_fn_mkdir_p ()
14044 {
14045
14046   case $as_dir in #(
14047   -*) as_dir=./$as_dir;;
14048   esac
14049   test -d "$as_dir" || eval $as_mkdir_p || {
14050     as_dirs=
14051     while :; do
14052       case $as_dir in #(
14053       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14054       *) as_qdir=$as_dir;;
14055       esac
14056       as_dirs="'$as_qdir' $as_dirs"
14057       as_dir=`$as_dirname -- "$as_dir" ||
14058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14059          X"$as_dir" : 'X\(//\)[^/]' \| \
14060          X"$as_dir" : 'X\(//\)$' \| \
14061          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14062 $as_echo X"$as_dir" |
14063     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14064             s//\1/
14065             q
14066           }
14067           /^X\(\/\/\)[^/].*/{
14068             s//\1/
14069             q
14070           }
14071           /^X\(\/\/\)$/{
14072             s//\1/
14073             q
14074           }
14075           /^X\(\/\).*/{
14076             s//\1/
14077             q
14078           }
14079           s/.*/./; q'`
14080       test -d "$as_dir" && break
14081     done
14082     test -z "$as_dirs" || eval "mkdir $as_dirs"
14083   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14084
14085
14086 } # as_fn_mkdir_p
14087 if mkdir -p . 2>/dev/null; then
14088   as_mkdir_p='mkdir -p "$as_dir"'
14089 else
14090   test -d ./-p && rmdir ./-p
14091   as_mkdir_p=false
14092 fi
14093
14094
14095 # as_fn_executable_p FILE
14096 # -----------------------
14097 # Test if FILE is an executable regular file.
14098 as_fn_executable_p ()
14099 {
14100   test -f "$1" && test -x "$1"
14101 } # as_fn_executable_p
14102 as_test_x='test -x'
14103 as_executable_p=as_fn_executable_p
14104
14105 # Sed expression to map a string onto a valid CPP name.
14106 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14107
14108 # Sed expression to map a string onto a valid variable name.
14109 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14110
14111
14112 exec 6>&1
14113 ## ----------------------------------- ##
14114 ## Main body of $CONFIG_STATUS script. ##
14115 ## ----------------------------------- ##
14116 _ASEOF
14117 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14118
14119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14120 # Save the log message, to keep $0 and so on meaningful, and to
14121 # report actual input values of CONFIG_FILES etc. instead of their
14122 # values after options handling.
14123 ac_log="
14124 This file was extended by fuse $as_me 2.9.6, which was
14125 generated by GNU Autoconf 2.69.  Invocation command line was
14126
14127   CONFIG_FILES    = $CONFIG_FILES
14128   CONFIG_HEADERS  = $CONFIG_HEADERS
14129   CONFIG_LINKS    = $CONFIG_LINKS
14130   CONFIG_COMMANDS = $CONFIG_COMMANDS
14131   $ $0 $@
14132
14133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14134 "
14135
14136 _ACEOF
14137
14138 case $ac_config_files in *"
14139 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14140 esac
14141
14142 case $ac_config_headers in *"
14143 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14144 esac
14145
14146
14147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14148 # Files that config.status was made for.
14149 config_files="$ac_config_files"
14150 config_headers="$ac_config_headers"
14151 config_commands="$ac_config_commands"
14152
14153 _ACEOF
14154
14155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14156 ac_cs_usage="\
14157 \`$as_me' instantiates files and other configuration actions
14158 from templates according to the current configuration.  Unless the files
14159 and actions are specified as TAGs, all are instantiated by default.
14160
14161 Usage: $0 [OPTION]... [TAG]...
14162
14163   -h, --help       print this help, then exit
14164   -V, --version    print version number and configuration settings, then exit
14165       --config     print configuration, then exit
14166   -q, --quiet, --silent
14167                    do not print progress messages
14168   -d, --debug      don't remove temporary files
14169       --recheck    update $as_me by reconfiguring in the same conditions
14170       --file=FILE[:TEMPLATE]
14171                    instantiate the configuration file FILE
14172       --header=FILE[:TEMPLATE]
14173                    instantiate the configuration header FILE
14174
14175 Configuration files:
14176 $config_files
14177
14178 Configuration headers:
14179 $config_headers
14180
14181 Configuration commands:
14182 $config_commands
14183
14184 Report bugs to the package provider."
14185
14186 _ACEOF
14187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14188 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14189 ac_cs_version="\\
14190 fuse config.status 2.9.6
14191 configured by $0, generated by GNU Autoconf 2.69,
14192   with options \\"\$ac_cs_config\\"
14193
14194 Copyright (C) 2012 Free Software Foundation, Inc.
14195 This config.status script is free software; the Free Software Foundation
14196 gives unlimited permission to copy, distribute and modify it."
14197
14198 ac_pwd='$ac_pwd'
14199 srcdir='$srcdir'
14200 INSTALL='$INSTALL'
14201 MKDIR_P='$MKDIR_P'
14202 AWK='$AWK'
14203 test -n "\$AWK" || AWK=awk
14204 _ACEOF
14205
14206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14207 # The default lists apply if the user does not specify any file.
14208 ac_need_defaults=:
14209 while test $# != 0
14210 do
14211   case $1 in
14212   --*=?*)
14213     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14214     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14215     ac_shift=:
14216     ;;
14217   --*=)
14218     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14219     ac_optarg=
14220     ac_shift=:
14221     ;;
14222   *)
14223     ac_option=$1
14224     ac_optarg=$2
14225     ac_shift=shift
14226     ;;
14227   esac
14228
14229   case $ac_option in
14230   # Handling of the options.
14231   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14232     ac_cs_recheck=: ;;
14233   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14234     $as_echo "$ac_cs_version"; exit ;;
14235   --config | --confi | --conf | --con | --co | --c )
14236     $as_echo "$ac_cs_config"; exit ;;
14237   --debug | --debu | --deb | --de | --d | -d )
14238     debug=: ;;
14239   --file | --fil | --fi | --f )
14240     $ac_shift
14241     case $ac_optarg in
14242     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14243     '') as_fn_error $? "missing file argument" ;;
14244     esac
14245     as_fn_append CONFIG_FILES " '$ac_optarg'"
14246     ac_need_defaults=false;;
14247   --header | --heade | --head | --hea )
14248     $ac_shift
14249     case $ac_optarg in
14250     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14251     esac
14252     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14253     ac_need_defaults=false;;
14254   --he | --h)
14255     # Conflict between --help and --header
14256     as_fn_error $? "ambiguous option: \`$1'
14257 Try \`$0 --help' for more information.";;
14258   --help | --hel | -h )
14259     $as_echo "$ac_cs_usage"; exit ;;
14260   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14261   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14262     ac_cs_silent=: ;;
14263
14264   # This is an error.
14265   -*) as_fn_error $? "unrecognized option: \`$1'
14266 Try \`$0 --help' for more information." ;;
14267
14268   *) as_fn_append ac_config_targets " $1"
14269      ac_need_defaults=false ;;
14270
14271   esac
14272   shift
14273 done
14274
14275 ac_configure_extra_args=
14276
14277 if $ac_cs_silent; then
14278   exec 6>/dev/null
14279   ac_configure_extra_args="$ac_configure_extra_args --silent"
14280 fi
14281
14282 _ACEOF
14283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14284 if \$ac_cs_recheck; then
14285   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14286   shift
14287   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14288   CONFIG_SHELL='$SHELL'
14289   export CONFIG_SHELL
14290   exec "\$@"
14291 fi
14292
14293 _ACEOF
14294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14295 exec 5>>config.log
14296 {
14297   echo
14298   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14299 ## Running $as_me. ##
14300 _ASBOX
14301   $as_echo "$ac_log"
14302 } >&5
14303
14304 _ACEOF
14305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14306 #
14307 # INIT-COMMANDS
14308 #
14309 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14310
14311
14312 # The HP-UX ksh and POSIX shell print the target directory to stdout
14313 # if CDPATH is set.
14314 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14315
14316 sed_quote_subst='$sed_quote_subst'
14317 double_quote_subst='$double_quote_subst'
14318 delay_variable_subst='$delay_variable_subst'
14319 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14320 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14321 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14322 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14323 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14324 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14325 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14326 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14327 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14328 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14329 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14330 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14331 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14332 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14333 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14334 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14335 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14336 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14337 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14338 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14339 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14340 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14341 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14342 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14343 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14344 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14345 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14346 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14347 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14348 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14349 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14350 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14351 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14352 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14353 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14354 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14355 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14356 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14357 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14358 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14359 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14360 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14361 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14362 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14363 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14364 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14365 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14366 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14367 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14368 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14369 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14370 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14371 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14372 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14373 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14374 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14375 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"`'
14376 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14377 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14378 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14379 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14380 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14381 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14382 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14383 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14384 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14385 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14386 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14387 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14388 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14389 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14390 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14391 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14392 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14393 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14394 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14395 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14396 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14397 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14398 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14399 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14400 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14401 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14402 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14403 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14404 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14405 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14406 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14407 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14408 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14409 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14410 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14411 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14412 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14413 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14414 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14415 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14416 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14417 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14418 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14419 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14420 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14421 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14422 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14423 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14424 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14425 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14426 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14427 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14428 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14429 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14430 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14431 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14432 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14433 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14434 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14435 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14436 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14437 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14438 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14439 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14440 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14441 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14442 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14443 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14444 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14445 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14446 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14447 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14448 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14449
14450 LTCC='$LTCC'
14451 LTCFLAGS='$LTCFLAGS'
14452 compiler='$compiler_DEFAULT'
14453
14454 # A function that is used when there is no print builtin or printf.
14455 func_fallback_echo ()
14456 {
14457   eval 'cat <<_LTECHO_EOF
14458 \$1
14459 _LTECHO_EOF'
14460 }
14461
14462 # Quote evaled strings.
14463 for var in SHELL \
14464 ECHO \
14465 PATH_SEPARATOR \
14466 SED \
14467 GREP \
14468 EGREP \
14469 FGREP \
14470 LD \
14471 NM \
14472 LN_S \
14473 lt_SP2NL \
14474 lt_NL2SP \
14475 reload_flag \
14476 OBJDUMP \
14477 deplibs_check_method \
14478 file_magic_cmd \
14479 file_magic_glob \
14480 want_nocaseglob \
14481 DLLTOOL \
14482 sharedlib_from_linklib_cmd \
14483 AR \
14484 AR_FLAGS \
14485 archiver_list_spec \
14486 STRIP \
14487 RANLIB \
14488 CC \
14489 CFLAGS \
14490 compiler \
14491 lt_cv_sys_global_symbol_pipe \
14492 lt_cv_sys_global_symbol_to_cdecl \
14493 lt_cv_sys_global_symbol_to_c_name_address \
14494 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14495 nm_file_list_spec \
14496 lt_prog_compiler_no_builtin_flag \
14497 lt_prog_compiler_pic \
14498 lt_prog_compiler_wl \
14499 lt_prog_compiler_static \
14500 lt_cv_prog_compiler_c_o \
14501 need_locks \
14502 MANIFEST_TOOL \
14503 DSYMUTIL \
14504 NMEDIT \
14505 LIPO \
14506 OTOOL \
14507 OTOOL64 \
14508 shrext_cmds \
14509 export_dynamic_flag_spec \
14510 whole_archive_flag_spec \
14511 compiler_needs_object \
14512 with_gnu_ld \
14513 allow_undefined_flag \
14514 no_undefined_flag \
14515 hardcode_libdir_flag_spec \
14516 hardcode_libdir_separator \
14517 exclude_expsyms \
14518 include_expsyms \
14519 file_list_spec \
14520 variables_saved_for_relink \
14521 libname_spec \
14522 library_names_spec \
14523 soname_spec \
14524 install_override_mode \
14525 finish_eval \
14526 old_striplib \
14527 striplib; do
14528     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14529     *[\\\\\\\`\\"\\\$]*)
14530       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14531       ;;
14532     *)
14533       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14534       ;;
14535     esac
14536 done
14537
14538 # Double-quote double-evaled strings.
14539 for var in reload_cmds \
14540 old_postinstall_cmds \
14541 old_postuninstall_cmds \
14542 old_archive_cmds \
14543 extract_expsyms_cmds \
14544 old_archive_from_new_cmds \
14545 old_archive_from_expsyms_cmds \
14546 archive_cmds \
14547 archive_expsym_cmds \
14548 module_cmds \
14549 module_expsym_cmds \
14550 export_symbols_cmds \
14551 prelink_cmds \
14552 postlink_cmds \
14553 postinstall_cmds \
14554 postuninstall_cmds \
14555 finish_cmds \
14556 sys_lib_search_path_spec \
14557 sys_lib_dlsearch_path_spec; do
14558     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14559     *[\\\\\\\`\\"\\\$]*)
14560       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14561       ;;
14562     *)
14563       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14564       ;;
14565     esac
14566 done
14567
14568 ac_aux_dir='$ac_aux_dir'
14569 xsi_shell='$xsi_shell'
14570 lt_shell_append='$lt_shell_append'
14571
14572 # See if we are running on zsh, and set the options which allow our
14573 # commands through without removal of \ escapes INIT.
14574 if test -n "\${ZSH_VERSION+set}" ; then
14575    setopt NO_GLOB_SUBST
14576 fi
14577
14578
14579     PACKAGE='$PACKAGE'
14580     VERSION='$VERSION'
14581     TIMESTAMP='$TIMESTAMP'
14582     RM='$RM'
14583     ofile='$ofile'
14584
14585
14586
14587
14588 _ACEOF
14589
14590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14591
14592 # Handling of arguments.
14593 for ac_config_target in $ac_config_targets
14594 do
14595   case $ac_config_target in
14596     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14597     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14598     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14599     "fuse.pc") CONFIG_FILES="$CONFIG_FILES fuse.pc" ;;
14600     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14601     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14602     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
14603     "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
14604     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14605     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14606
14607   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14608   esac
14609 done
14610
14611
14612 # If the user did not use the arguments to specify the items to instantiate,
14613 # then the envvar interface is used.  Set only those that are not.
14614 # We use the long form for the default assignment because of an extremely
14615 # bizarre bug on SunOS 4.1.3.
14616 if $ac_need_defaults; then
14617   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14618   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14619   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14620 fi
14621
14622 # Have a temporary directory for convenience.  Make it in the build tree
14623 # simply because there is no reason against having it here, and in addition,
14624 # creating and moving files from /tmp can sometimes cause problems.
14625 # Hook for its removal unless debugging.
14626 # Note that there is a small window in which the directory will not be cleaned:
14627 # after its creation but before its name has been assigned to `$tmp'.
14628 $debug ||
14629 {
14630   tmp= ac_tmp=
14631   trap 'exit_status=$?
14632   : "${ac_tmp:=$tmp}"
14633   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14634 ' 0
14635   trap 'as_fn_exit 1' 1 2 13 15
14636 }
14637 # Create a (secure) tmp directory for tmp files.
14638
14639 {
14640   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14641   test -d "$tmp"
14642 }  ||
14643 {
14644   tmp=./conf$$-$RANDOM
14645   (umask 077 && mkdir "$tmp")
14646 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14647 ac_tmp=$tmp
14648
14649 # Set up the scripts for CONFIG_FILES section.
14650 # No need to generate them if there are no CONFIG_FILES.
14651 # This happens for instance with `./config.status config.h'.
14652 if test -n "$CONFIG_FILES"; then
14653
14654
14655 ac_cr=`echo X | tr X '\015'`
14656 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14657 # But we know of no other shell where ac_cr would be empty at this
14658 # point, so we can use a bashism as a fallback.
14659 if test "x$ac_cr" = x; then
14660   eval ac_cr=\$\'\\r\'
14661 fi
14662 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14663 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14664   ac_cs_awk_cr='\\r'
14665 else
14666   ac_cs_awk_cr=$ac_cr
14667 fi
14668
14669 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14670 _ACEOF
14671
14672
14673 {
14674   echo "cat >conf$$subs.awk <<_ACEOF" &&
14675   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14676   echo "_ACEOF"
14677 } >conf$$subs.sh ||
14678   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14679 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14680 ac_delim='%!_!# '
14681 for ac_last_try in false false false false false :; do
14682   . ./conf$$subs.sh ||
14683     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14684
14685   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14686   if test $ac_delim_n = $ac_delim_num; then
14687     break
14688   elif $ac_last_try; then
14689     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14690   else
14691     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14692   fi
14693 done
14694 rm -f conf$$subs.sh
14695
14696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14697 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14698 _ACEOF
14699 sed -n '
14700 h
14701 s/^/S["/; s/!.*/"]=/
14702 p
14703 g
14704 s/^[^!]*!//
14705 :repl
14706 t repl
14707 s/'"$ac_delim"'$//
14708 t delim
14709 :nl
14710 h
14711 s/\(.\{148\}\)..*/\1/
14712 t more1
14713 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14714 p
14715 n
14716 b repl
14717 :more1
14718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14719 p
14720 g
14721 s/.\{148\}//
14722 t nl
14723 :delim
14724 h
14725 s/\(.\{148\}\)..*/\1/
14726 t more2
14727 s/["\\]/\\&/g; s/^/"/; s/$/"/
14728 p
14729 b
14730 :more2
14731 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14732 p
14733 g
14734 s/.\{148\}//
14735 t delim
14736 ' <conf$$subs.awk | sed '
14737 /^[^""]/{
14738   N
14739   s/\n//
14740 }
14741 ' >>$CONFIG_STATUS || ac_write_fail=1
14742 rm -f conf$$subs.awk
14743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14744 _ACAWK
14745 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14746   for (key in S) S_is_set[key] = 1
14747   FS = "\a"
14748
14749 }
14750 {
14751   line = $ 0
14752   nfields = split(line, field, "@")
14753   substed = 0
14754   len = length(field[1])
14755   for (i = 2; i < nfields; i++) {
14756     key = field[i]
14757     keylen = length(key)
14758     if (S_is_set[key]) {
14759       value = S[key]
14760       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14761       len += length(value) + length(field[++i])
14762       substed = 1
14763     } else
14764       len += 1 + keylen
14765   }
14766
14767   print line
14768 }
14769
14770 _ACAWK
14771 _ACEOF
14772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14773 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14774   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14775 else
14776   cat
14777 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14778   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14779 _ACEOF
14780
14781 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14782 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14783 # trailing colons and then remove the whole line if VPATH becomes empty
14784 # (actually we leave an empty line to preserve line numbers).
14785 if test "x$srcdir" = x.; then
14786   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14787 h
14788 s///
14789 s/^/:/
14790 s/[      ]*$/:/
14791 s/:\$(srcdir):/:/g
14792 s/:\${srcdir}:/:/g
14793 s/:@srcdir@:/:/g
14794 s/^:*//
14795 s/:*$//
14796 x
14797 s/\(=[   ]*\).*/\1/
14798 G
14799 s/\n//
14800 s/^[^=]*=[       ]*$//
14801 }'
14802 fi
14803
14804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14805 fi # test -n "$CONFIG_FILES"
14806
14807 # Set up the scripts for CONFIG_HEADERS section.
14808 # No need to generate them if there are no CONFIG_HEADERS.
14809 # This happens for instance with `./config.status Makefile'.
14810 if test -n "$CONFIG_HEADERS"; then
14811 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14812 BEGIN {
14813 _ACEOF
14814
14815 # Transform confdefs.h into an awk script `defines.awk', embedded as
14816 # here-document in config.status, that substitutes the proper values into
14817 # config.h.in to produce config.h.
14818
14819 # Create a delimiter string that does not exist in confdefs.h, to ease
14820 # handling of long lines.
14821 ac_delim='%!_!# '
14822 for ac_last_try in false false :; do
14823   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14824   if test -z "$ac_tt"; then
14825     break
14826   elif $ac_last_try; then
14827     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14828   else
14829     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14830   fi
14831 done
14832
14833 # For the awk script, D is an array of macro values keyed by name,
14834 # likewise P contains macro parameters if any.  Preserve backslash
14835 # newline sequences.
14836
14837 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14838 sed -n '
14839 s/.\{148\}/&'"$ac_delim"'/g
14840 t rset
14841 :rset
14842 s/^[     ]*#[    ]*define[       ][      ]*/ /
14843 t def
14844 d
14845 :def
14846 s/\\$//
14847 t bsnl
14848 s/["\\]/\\&/g
14849 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14850 D["\1"]=" \3"/p
14851 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14852 d
14853 :bsnl
14854 s/["\\]/\\&/g
14855 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14856 D["\1"]=" \3\\\\\\n"\\/p
14857 t cont
14858 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14859 t cont
14860 d
14861 :cont
14862 n
14863 s/.\{148\}/&'"$ac_delim"'/g
14864 t clear
14865 :clear
14866 s/\\$//
14867 t bsnlc
14868 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14869 d
14870 :bsnlc
14871 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14872 b cont
14873 ' <confdefs.h | sed '
14874 s/'"$ac_delim"'/"\\\
14875 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14876
14877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14878   for (key in D) D_is_set[key] = 1
14879   FS = "\a"
14880 }
14881 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14882   line = \$ 0
14883   split(line, arg, " ")
14884   if (arg[1] == "#") {
14885     defundef = arg[2]
14886     mac1 = arg[3]
14887   } else {
14888     defundef = substr(arg[1], 2)
14889     mac1 = arg[2]
14890   }
14891   split(mac1, mac2, "(") #)
14892   macro = mac2[1]
14893   prefix = substr(line, 1, index(line, defundef) - 1)
14894   if (D_is_set[macro]) {
14895     # Preserve the white space surrounding the "#".
14896     print prefix "define", macro P[macro] D[macro]
14897     next
14898   } else {
14899     # Replace #undef with comments.  This is necessary, for example,
14900     # in the case of _POSIX_SOURCE, which is predefined and required
14901     # on some systems where configure will not decide to define it.
14902     if (defundef == "undef") {
14903       print "/*", prefix defundef, macro, "*/"
14904       next
14905     }
14906   }
14907 }
14908 { print }
14909 _ACAWK
14910 _ACEOF
14911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14912   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14913 fi # test -n "$CONFIG_HEADERS"
14914
14915
14916 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14917 shift
14918 for ac_tag
14919 do
14920   case $ac_tag in
14921   :[FHLC]) ac_mode=$ac_tag; continue;;
14922   esac
14923   case $ac_mode$ac_tag in
14924   :[FHL]*:*);;
14925   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14926   :[FH]-) ac_tag=-:-;;
14927   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14928   esac
14929   ac_save_IFS=$IFS
14930   IFS=:
14931   set x $ac_tag
14932   IFS=$ac_save_IFS
14933   shift
14934   ac_file=$1
14935   shift
14936
14937   case $ac_mode in
14938   :L) ac_source=$1;;
14939   :[FH])
14940     ac_file_inputs=
14941     for ac_f
14942     do
14943       case $ac_f in
14944       -) ac_f="$ac_tmp/stdin";;
14945       *) # Look for the file first in the build tree, then in the source tree
14946          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14947          # because $ac_f cannot contain `:'.
14948          test -f "$ac_f" ||
14949            case $ac_f in
14950            [\\/$]*) false;;
14951            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14952            esac ||
14953            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14954       esac
14955       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14956       as_fn_append ac_file_inputs " '$ac_f'"
14957     done
14958
14959     # Let's still pretend it is `configure' which instantiates (i.e., don't
14960     # use $as_me), people would be surprised to read:
14961     #    /* config.h.  Generated by config.status.  */
14962     configure_input='Generated from '`
14963           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14964         `' by configure.'
14965     if test x"$ac_file" != x-; then
14966       configure_input="$ac_file.  $configure_input"
14967       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14968 $as_echo "$as_me: creating $ac_file" >&6;}
14969     fi
14970     # Neutralize special characters interpreted by sed in replacement strings.
14971     case $configure_input in #(
14972     *\&* | *\|* | *\\* )
14973        ac_sed_conf_input=`$as_echo "$configure_input" |
14974        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14975     *) ac_sed_conf_input=$configure_input;;
14976     esac
14977
14978     case $ac_tag in
14979     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14980       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14981     esac
14982     ;;
14983   esac
14984
14985   ac_dir=`$as_dirname -- "$ac_file" ||
14986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14987          X"$ac_file" : 'X\(//\)[^/]' \| \
14988          X"$ac_file" : 'X\(//\)$' \| \
14989          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14990 $as_echo X"$ac_file" |
14991     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14992             s//\1/
14993             q
14994           }
14995           /^X\(\/\/\)[^/].*/{
14996             s//\1/
14997             q
14998           }
14999           /^X\(\/\/\)$/{
15000             s//\1/
15001             q
15002           }
15003           /^X\(\/\).*/{
15004             s//\1/
15005             q
15006           }
15007           s/.*/./; q'`
15008   as_dir="$ac_dir"; as_fn_mkdir_p
15009   ac_builddir=.
15010
15011 case "$ac_dir" in
15012 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15013 *)
15014   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15015   # A ".." for each directory in $ac_dir_suffix.
15016   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15017   case $ac_top_builddir_sub in
15018   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15019   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15020   esac ;;
15021 esac
15022 ac_abs_top_builddir=$ac_pwd
15023 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15024 # for backward compatibility:
15025 ac_top_builddir=$ac_top_build_prefix
15026
15027 case $srcdir in
15028   .)  # We are building in place.
15029     ac_srcdir=.
15030     ac_top_srcdir=$ac_top_builddir_sub
15031     ac_abs_top_srcdir=$ac_pwd ;;
15032   [\\/]* | ?:[\\/]* )  # Absolute name.
15033     ac_srcdir=$srcdir$ac_dir_suffix;
15034     ac_top_srcdir=$srcdir
15035     ac_abs_top_srcdir=$srcdir ;;
15036   *) # Relative name.
15037     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15038     ac_top_srcdir=$ac_top_build_prefix$srcdir
15039     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15040 esac
15041 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15042
15043
15044   case $ac_mode in
15045   :F)
15046   #
15047   # CONFIG_FILE
15048   #
15049
15050   case $INSTALL in
15051   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15052   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15053   esac
15054   ac_MKDIR_P=$MKDIR_P
15055   case $MKDIR_P in
15056   [\\/$]* | ?:[\\/]* ) ;;
15057   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15058   esac
15059 _ACEOF
15060
15061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15062 # If the template does not know about datarootdir, expand it.
15063 # FIXME: This hack should be removed a few years after 2.60.
15064 ac_datarootdir_hack=; ac_datarootdir_seen=
15065 ac_sed_dataroot='
15066 /datarootdir/ {
15067   p
15068   q
15069 }
15070 /@datadir@/p
15071 /@docdir@/p
15072 /@infodir@/p
15073 /@localedir@/p
15074 /@mandir@/p'
15075 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15076 *datarootdir*) ac_datarootdir_seen=yes;;
15077 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15078   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15079 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15080 _ACEOF
15081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15082   ac_datarootdir_hack='
15083   s&@datadir@&$datadir&g
15084   s&@docdir@&$docdir&g
15085   s&@infodir@&$infodir&g
15086   s&@localedir@&$localedir&g
15087   s&@mandir@&$mandir&g
15088   s&\\\${datarootdir}&$datarootdir&g' ;;
15089 esac
15090 _ACEOF
15091
15092 # Neutralize VPATH when `$srcdir' = `.'.
15093 # Shell code in configure.ac might set extrasub.
15094 # FIXME: do we really want to maintain this feature?
15095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15096 ac_sed_extra="$ac_vpsub
15097 $extrasub
15098 _ACEOF
15099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15100 :t
15101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15102 s|@configure_input@|$ac_sed_conf_input|;t t
15103 s&@top_builddir@&$ac_top_builddir_sub&;t t
15104 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15105 s&@srcdir@&$ac_srcdir&;t t
15106 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15107 s&@top_srcdir@&$ac_top_srcdir&;t t
15108 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15109 s&@builddir@&$ac_builddir&;t t
15110 s&@abs_builddir@&$ac_abs_builddir&;t t
15111 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15112 s&@INSTALL@&$ac_INSTALL&;t t
15113 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15114 $ac_datarootdir_hack
15115 "
15116 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15117   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15118
15119 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15120   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15121   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15122       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15123   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15124 which seems to be undefined.  Please make sure it is defined" >&5
15125 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15126 which seems to be undefined.  Please make sure it is defined" >&2;}
15127
15128   rm -f "$ac_tmp/stdin"
15129   case $ac_file in
15130   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15131   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15132   esac \
15133   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15134  ;;
15135   :H)
15136   #
15137   # CONFIG_HEADER
15138   #
15139   if test x"$ac_file" != x-; then
15140     {
15141       $as_echo "/* $configure_input  */" \
15142       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15143     } >"$ac_tmp/config.h" \
15144       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15145     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15146       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15147 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15148     else
15149       rm -f "$ac_file"
15150       mv "$ac_tmp/config.h" "$ac_file" \
15151         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15152     fi
15153   else
15154     $as_echo "/* $configure_input  */" \
15155       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15156       || as_fn_error $? "could not create -" "$LINENO" 5
15157   fi
15158 # Compute "$ac_file"'s index in $config_headers.
15159 _am_arg="$ac_file"
15160 _am_stamp_count=1
15161 for _am_header in $config_headers :; do
15162   case $_am_header in
15163     $_am_arg | $_am_arg:* )
15164       break ;;
15165     * )
15166       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15167   esac
15168 done
15169 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15170 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15171          X"$_am_arg" : 'X\(//\)[^/]' \| \
15172          X"$_am_arg" : 'X\(//\)$' \| \
15173          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15174 $as_echo X"$_am_arg" |
15175     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15176             s//\1/
15177             q
15178           }
15179           /^X\(\/\/\)[^/].*/{
15180             s//\1/
15181             q
15182           }
15183           /^X\(\/\/\)$/{
15184             s//\1/
15185             q
15186           }
15187           /^X\(\/\).*/{
15188             s//\1/
15189             q
15190           }
15191           s/.*/./; q'`/stamp-h$_am_stamp_count
15192  ;;
15193
15194   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15195 $as_echo "$as_me: executing $ac_file commands" >&6;}
15196  ;;
15197   esac
15198
15199
15200   case $ac_file$ac_mode in
15201     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15202   # Older Autoconf quotes --file arguments for eval, but not when files
15203   # are listed without --file.  Let's play safe and only enable the eval
15204   # if we detect the quoting.
15205   case $CONFIG_FILES in
15206   *\'*) eval set x "$CONFIG_FILES" ;;
15207   *)   set x $CONFIG_FILES ;;
15208   esac
15209   shift
15210   for mf
15211   do
15212     # Strip MF so we end up with the name of the file.
15213     mf=`echo "$mf" | sed -e 's/:.*$//'`
15214     # Check whether this is an Automake generated Makefile or not.
15215     # We used to match only the files named 'Makefile.in', but
15216     # some people rename them; so instead we look at the file content.
15217     # Grep'ing the first line is not enough: some people post-process
15218     # each Makefile.in and add a new line on top of each file to say so.
15219     # Grep'ing the whole file is not good either: AIX grep has a line
15220     # limit of 2048, but all sed's we know have understand at least 4000.
15221     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15222       dirpart=`$as_dirname -- "$mf" ||
15223 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15224          X"$mf" : 'X\(//\)[^/]' \| \
15225          X"$mf" : 'X\(//\)$' \| \
15226          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15227 $as_echo X"$mf" |
15228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15229             s//\1/
15230             q
15231           }
15232           /^X\(\/\/\)[^/].*/{
15233             s//\1/
15234             q
15235           }
15236           /^X\(\/\/\)$/{
15237             s//\1/
15238             q
15239           }
15240           /^X\(\/\).*/{
15241             s//\1/
15242             q
15243           }
15244           s/.*/./; q'`
15245     else
15246       continue
15247     fi
15248     # Extract the definition of DEPDIR, am__include, and am__quote
15249     # from the Makefile without running 'make'.
15250     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15251     test -z "$DEPDIR" && continue
15252     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15253     test -z "$am__include" && continue
15254     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15255     # Find all dependency output files, they are included files with
15256     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15257     # simplest approach to changing $(DEPDIR) to its actual value in the
15258     # expansion.
15259     for file in `sed -n "
15260       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15261          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15262       # Make sure the directory exists.
15263       test -f "$dirpart/$file" && continue
15264       fdir=`$as_dirname -- "$file" ||
15265 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15266          X"$file" : 'X\(//\)[^/]' \| \
15267          X"$file" : 'X\(//\)$' \| \
15268          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15269 $as_echo X"$file" |
15270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15271             s//\1/
15272             q
15273           }
15274           /^X\(\/\/\)[^/].*/{
15275             s//\1/
15276             q
15277           }
15278           /^X\(\/\/\)$/{
15279             s//\1/
15280             q
15281           }
15282           /^X\(\/\).*/{
15283             s//\1/
15284             q
15285           }
15286           s/.*/./; q'`
15287       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15288       # echo "creating $dirpart/$file"
15289       echo '# dummy' > "$dirpart/$file"
15290     done
15291   done
15292 }
15293  ;;
15294     "libtool":C)
15295
15296     # See if we are running on zsh, and set the options which allow our
15297     # commands through without removal of \ escapes.
15298     if test -n "${ZSH_VERSION+set}" ; then
15299       setopt NO_GLOB_SUBST
15300     fi
15301
15302     cfgfile="${ofile}T"
15303     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15304     $RM "$cfgfile"
15305
15306     cat <<_LT_EOF >> "$cfgfile"
15307 #! $SHELL
15308
15309 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15310 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15311 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15312 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15313 #
15314 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15315 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15316 #                 Foundation, Inc.
15317 #   Written by Gordon Matzigkeit, 1996
15318 #
15319 #   This file is part of GNU Libtool.
15320 #
15321 # GNU Libtool is free software; you can redistribute it and/or
15322 # modify it under the terms of the GNU General Public License as
15323 # published by the Free Software Foundation; either version 2 of
15324 # the License, or (at your option) any later version.
15325 #
15326 # As a special exception to the GNU General Public License,
15327 # if you distribute this file as part of a program or library that
15328 # is built using GNU Libtool, you may include this file under the
15329 # same distribution terms that you use for the rest of that program.
15330 #
15331 # GNU Libtool is distributed in the hope that it will be useful,
15332 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15333 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15334 # GNU General Public License for more details.
15335 #
15336 # You should have received a copy of the GNU General Public License
15337 # along with GNU Libtool; see the file COPYING.  If not, a copy
15338 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15339 # obtained by writing to the Free Software Foundation, Inc.,
15340 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15341
15342
15343 # The names of the tagged configurations supported by this script.
15344 available_tags=""
15345
15346 # ### BEGIN LIBTOOL CONFIG
15347
15348 # Which release of libtool.m4 was used?
15349 macro_version=$macro_version
15350 macro_revision=$macro_revision
15351
15352 # Whether or not to build shared libraries.
15353 build_libtool_libs=$enable_shared
15354
15355 # Whether or not to build static libraries.
15356 build_old_libs=$enable_static
15357
15358 # What type of objects to build.
15359 pic_mode=$pic_mode
15360
15361 # Whether or not to optimize for fast installation.
15362 fast_install=$enable_fast_install
15363
15364 # Shell to use when invoking shell scripts.
15365 SHELL=$lt_SHELL
15366
15367 # An echo program that protects backslashes.
15368 ECHO=$lt_ECHO
15369
15370 # The PATH separator for the build system.
15371 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15372
15373 # The host system.
15374 host_alias=$host_alias
15375 host=$host
15376 host_os=$host_os
15377
15378 # The build system.
15379 build_alias=$build_alias
15380 build=$build
15381 build_os=$build_os
15382
15383 # A sed program that does not truncate output.
15384 SED=$lt_SED
15385
15386 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15387 Xsed="\$SED -e 1s/^X//"
15388
15389 # A grep program that handles long lines.
15390 GREP=$lt_GREP
15391
15392 # An ERE matcher.
15393 EGREP=$lt_EGREP
15394
15395 # A literal string matcher.
15396 FGREP=$lt_FGREP
15397
15398 # A BSD- or MS-compatible name lister.
15399 NM=$lt_NM
15400
15401 # Whether we need soft or hard links.
15402 LN_S=$lt_LN_S
15403
15404 # What is the maximum length of a command?
15405 max_cmd_len=$max_cmd_len
15406
15407 # Object file suffix (normally "o").
15408 objext=$ac_objext
15409
15410 # Executable file suffix (normally "").
15411 exeext=$exeext
15412
15413 # whether the shell understands "unset".
15414 lt_unset=$lt_unset
15415
15416 # turn spaces into newlines.
15417 SP2NL=$lt_lt_SP2NL
15418
15419 # turn newlines into spaces.
15420 NL2SP=$lt_lt_NL2SP
15421
15422 # convert \$build file names to \$host format.
15423 to_host_file_cmd=$lt_cv_to_host_file_cmd
15424
15425 # convert \$build files to toolchain format.
15426 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15427
15428 # An object symbol dumper.
15429 OBJDUMP=$lt_OBJDUMP
15430
15431 # Method to check whether dependent libraries are shared objects.
15432 deplibs_check_method=$lt_deplibs_check_method
15433
15434 # Command to use when deplibs_check_method = "file_magic".
15435 file_magic_cmd=$lt_file_magic_cmd
15436
15437 # How to find potential files when deplibs_check_method = "file_magic".
15438 file_magic_glob=$lt_file_magic_glob
15439
15440 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15441 want_nocaseglob=$lt_want_nocaseglob
15442
15443 # DLL creation program.
15444 DLLTOOL=$lt_DLLTOOL
15445
15446 # Command to associate shared and link libraries.
15447 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15448
15449 # The archiver.
15450 AR=$lt_AR
15451
15452 # Flags to create an archive.
15453 AR_FLAGS=$lt_AR_FLAGS
15454
15455 # How to feed a file listing to the archiver.
15456 archiver_list_spec=$lt_archiver_list_spec
15457
15458 # A symbol stripping program.
15459 STRIP=$lt_STRIP
15460
15461 # Commands used to install an old-style archive.
15462 RANLIB=$lt_RANLIB
15463 old_postinstall_cmds=$lt_old_postinstall_cmds
15464 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15465
15466 # Whether to use a lock for old archive extraction.
15467 lock_old_archive_extraction=$lock_old_archive_extraction
15468
15469 # A C compiler.
15470 LTCC=$lt_CC
15471
15472 # LTCC compiler flags.
15473 LTCFLAGS=$lt_CFLAGS
15474
15475 # Take the output of nm and produce a listing of raw symbols and C names.
15476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15477
15478 # Transform the output of nm in a proper C declaration.
15479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15480
15481 # Transform the output of nm in a C name address pair.
15482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15483
15484 # Transform the output of nm in a C name address pair when lib prefix is needed.
15485 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15486
15487 # Specify filename containing input files for \$NM.
15488 nm_file_list_spec=$lt_nm_file_list_spec
15489
15490 # The root where to search for dependent libraries,and in which our libraries should be installed.
15491 lt_sysroot=$lt_sysroot
15492
15493 # The name of the directory that contains temporary libtool files.
15494 objdir=$objdir
15495
15496 # Used to examine libraries when file_magic_cmd begins with "file".
15497 MAGIC_CMD=$MAGIC_CMD
15498
15499 # Must we lock files when doing compilation?
15500 need_locks=$lt_need_locks
15501
15502 # Manifest tool.
15503 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15504
15505 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15506 DSYMUTIL=$lt_DSYMUTIL
15507
15508 # Tool to change global to local symbols on Mac OS X.
15509 NMEDIT=$lt_NMEDIT
15510
15511 # Tool to manipulate fat objects and archives on Mac OS X.
15512 LIPO=$lt_LIPO
15513
15514 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15515 OTOOL=$lt_OTOOL
15516
15517 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15518 OTOOL64=$lt_OTOOL64
15519
15520 # Old archive suffix (normally "a").
15521 libext=$libext
15522
15523 # Shared library suffix (normally ".so").
15524 shrext_cmds=$lt_shrext_cmds
15525
15526 # The commands to extract the exported symbol list from a shared archive.
15527 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15528
15529 # Variables whose values should be saved in libtool wrapper scripts and
15530 # restored at link time.
15531 variables_saved_for_relink=$lt_variables_saved_for_relink
15532
15533 # Do we need the "lib" prefix for modules?
15534 need_lib_prefix=$need_lib_prefix
15535
15536 # Do we need a version for libraries?
15537 need_version=$need_version
15538
15539 # Library versioning type.
15540 version_type=$version_type
15541
15542 # Shared library runtime path variable.
15543 runpath_var=$runpath_var
15544
15545 # Shared library path variable.
15546 shlibpath_var=$shlibpath_var
15547
15548 # Is shlibpath searched before the hard-coded library search path?
15549 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15550
15551 # Format of library name prefix.
15552 libname_spec=$lt_libname_spec
15553
15554 # List of archive names.  First name is the real one, the rest are links.
15555 # The last name is the one that the linker finds with -lNAME
15556 library_names_spec=$lt_library_names_spec
15557
15558 # The coded name of the library, if different from the real name.
15559 soname_spec=$lt_soname_spec
15560
15561 # Permission mode override for installation of shared libraries.
15562 install_override_mode=$lt_install_override_mode
15563
15564 # Command to use after installation of a shared archive.
15565 postinstall_cmds=$lt_postinstall_cmds
15566
15567 # Command to use after uninstallation of a shared archive.
15568 postuninstall_cmds=$lt_postuninstall_cmds
15569
15570 # Commands used to finish a libtool library installation in a directory.
15571 finish_cmds=$lt_finish_cmds
15572
15573 # As "finish_cmds", except a single script fragment to be evaled but
15574 # not shown.
15575 finish_eval=$lt_finish_eval
15576
15577 # Whether we should hardcode library paths into libraries.
15578 hardcode_into_libs=$hardcode_into_libs
15579
15580 # Compile-time system search path for libraries.
15581 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15582
15583 # Run-time system search path for libraries.
15584 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15585
15586 # Whether dlopen is supported.
15587 dlopen_support=$enable_dlopen
15588
15589 # Whether dlopen of programs is supported.
15590 dlopen_self=$enable_dlopen_self
15591
15592 # Whether dlopen of statically linked programs is supported.
15593 dlopen_self_static=$enable_dlopen_self_static
15594
15595 # Commands to strip libraries.
15596 old_striplib=$lt_old_striplib
15597 striplib=$lt_striplib
15598
15599
15600 # The linker used to build libraries.
15601 LD=$lt_LD
15602
15603 # How to create reloadable object files.
15604 reload_flag=$lt_reload_flag
15605 reload_cmds=$lt_reload_cmds
15606
15607 # Commands used to build an old-style archive.
15608 old_archive_cmds=$lt_old_archive_cmds
15609
15610 # A language specific compiler.
15611 CC=$lt_compiler
15612
15613 # Is the compiler the GNU compiler?
15614 with_gcc=$GCC
15615
15616 # Compiler flag to turn off builtin functions.
15617 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15618
15619 # Additional compiler flags for building library objects.
15620 pic_flag=$lt_lt_prog_compiler_pic
15621
15622 # How to pass a linker flag through the compiler.
15623 wl=$lt_lt_prog_compiler_wl
15624
15625 # Compiler flag to prevent dynamic linking.
15626 link_static_flag=$lt_lt_prog_compiler_static
15627
15628 # Does compiler simultaneously support -c and -o options?
15629 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15630
15631 # Whether or not to add -lc for building shared libraries.
15632 build_libtool_need_lc=$archive_cmds_need_lc
15633
15634 # Whether or not to disallow shared libs when runtime libs are static.
15635 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15636
15637 # Compiler flag to allow reflexive dlopens.
15638 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15639
15640 # Compiler flag to generate shared objects directly from archives.
15641 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15642
15643 # Whether the compiler copes with passing no objects directly.
15644 compiler_needs_object=$lt_compiler_needs_object
15645
15646 # Create an old-style archive from a shared archive.
15647 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15648
15649 # Create a temporary old-style archive to link instead of a shared archive.
15650 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15651
15652 # Commands used to build a shared archive.
15653 archive_cmds=$lt_archive_cmds
15654 archive_expsym_cmds=$lt_archive_expsym_cmds
15655
15656 # Commands used to build a loadable module if different from building
15657 # a shared archive.
15658 module_cmds=$lt_module_cmds
15659 module_expsym_cmds=$lt_module_expsym_cmds
15660
15661 # Whether we are building with GNU ld or not.
15662 with_gnu_ld=$lt_with_gnu_ld
15663
15664 # Flag that allows shared libraries with undefined symbols to be built.
15665 allow_undefined_flag=$lt_allow_undefined_flag
15666
15667 # Flag that enforces no undefined symbols.
15668 no_undefined_flag=$lt_no_undefined_flag
15669
15670 # Flag to hardcode \$libdir into a binary during linking.
15671 # This must work even if \$libdir does not exist
15672 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15673
15674 # Whether we need a single "-rpath" flag with a separated argument.
15675 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15676
15677 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15678 # DIR into the resulting binary.
15679 hardcode_direct=$hardcode_direct
15680
15681 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15682 # DIR into the resulting binary and the resulting library dependency is
15683 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15684 # library is relocated.
15685 hardcode_direct_absolute=$hardcode_direct_absolute
15686
15687 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15688 # into the resulting binary.
15689 hardcode_minus_L=$hardcode_minus_L
15690
15691 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15692 # into the resulting binary.
15693 hardcode_shlibpath_var=$hardcode_shlibpath_var
15694
15695 # Set to "yes" if building a shared library automatically hardcodes DIR
15696 # into the library and all subsequent libraries and executables linked
15697 # against it.
15698 hardcode_automatic=$hardcode_automatic
15699
15700 # Set to yes if linker adds runtime paths of dependent libraries
15701 # to runtime path list.
15702 inherit_rpath=$inherit_rpath
15703
15704 # Whether libtool must link a program against all its dependency libraries.
15705 link_all_deplibs=$link_all_deplibs
15706
15707 # Set to "yes" if exported symbols are required.
15708 always_export_symbols=$always_export_symbols
15709
15710 # The commands to list exported symbols.
15711 export_symbols_cmds=$lt_export_symbols_cmds
15712
15713 # Symbols that should not be listed in the preloaded symbols.
15714 exclude_expsyms=$lt_exclude_expsyms
15715
15716 # Symbols that must always be exported.
15717 include_expsyms=$lt_include_expsyms
15718
15719 # Commands necessary for linking programs (against libraries) with templates.
15720 prelink_cmds=$lt_prelink_cmds
15721
15722 # Commands necessary for finishing linking programs.
15723 postlink_cmds=$lt_postlink_cmds
15724
15725 # Specify filename containing input files.
15726 file_list_spec=$lt_file_list_spec
15727
15728 # How to hardcode a shared library path into an executable.
15729 hardcode_action=$hardcode_action
15730
15731 # ### END LIBTOOL CONFIG
15732
15733 _LT_EOF
15734
15735   case $host_os in
15736   aix3*)
15737     cat <<\_LT_EOF >> "$cfgfile"
15738 # AIX sometimes has problems with the GCC collect2 program.  For some
15739 # reason, if we set the COLLECT_NAMES environment variable, the problems
15740 # vanish in a puff of smoke.
15741 if test "X${COLLECT_NAMES+set}" != Xset; then
15742   COLLECT_NAMES=
15743   export COLLECT_NAMES
15744 fi
15745 _LT_EOF
15746     ;;
15747   esac
15748
15749
15750 ltmain="$ac_aux_dir/ltmain.sh"
15751
15752
15753   # We use sed instead of cat because bash on DJGPP gets confused if
15754   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15755   # text mode, it properly converts lines to CR/LF.  This bash problem
15756   # is reportedly fixed, but why not run on old versions too?
15757   sed '$q' "$ltmain" >> "$cfgfile" \
15758      || (rm -f "$cfgfile"; exit 1)
15759
15760   if test x"$xsi_shell" = xyes; then
15761   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15762 func_dirname ()\
15763 {\
15764 \    case ${1} in\
15765 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15766 \      *  ) func_dirname_result="${3}" ;;\
15767 \    esac\
15768 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15769   && mv -f "$cfgfile.tmp" "$cfgfile" \
15770     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15771 test 0 -eq $? || _lt_function_replace_fail=:
15772
15773
15774   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15775 func_basename ()\
15776 {\
15777 \    func_basename_result="${1##*/}"\
15778 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15779   && mv -f "$cfgfile.tmp" "$cfgfile" \
15780     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15781 test 0 -eq $? || _lt_function_replace_fail=:
15782
15783
15784   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15785 func_dirname_and_basename ()\
15786 {\
15787 \    case ${1} in\
15788 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15789 \      *  ) func_dirname_result="${3}" ;;\
15790 \    esac\
15791 \    func_basename_result="${1##*/}"\
15792 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15793   && mv -f "$cfgfile.tmp" "$cfgfile" \
15794     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15795 test 0 -eq $? || _lt_function_replace_fail=:
15796
15797
15798   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15799 func_stripname ()\
15800 {\
15801 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15802 \    # positional parameters, so assign one to ordinary parameter first.\
15803 \    func_stripname_result=${3}\
15804 \    func_stripname_result=${func_stripname_result#"${1}"}\
15805 \    func_stripname_result=${func_stripname_result%"${2}"}\
15806 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15807   && mv -f "$cfgfile.tmp" "$cfgfile" \
15808     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15809 test 0 -eq $? || _lt_function_replace_fail=:
15810
15811
15812   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15813 func_split_long_opt ()\
15814 {\
15815 \    func_split_long_opt_name=${1%%=*}\
15816 \    func_split_long_opt_arg=${1#*=}\
15817 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15818   && mv -f "$cfgfile.tmp" "$cfgfile" \
15819     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15820 test 0 -eq $? || _lt_function_replace_fail=:
15821
15822
15823   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15824 func_split_short_opt ()\
15825 {\
15826 \    func_split_short_opt_arg=${1#??}\
15827 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15828 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15829   && mv -f "$cfgfile.tmp" "$cfgfile" \
15830     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15831 test 0 -eq $? || _lt_function_replace_fail=:
15832
15833
15834   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15835 func_lo2o ()\
15836 {\
15837 \    case ${1} in\
15838 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15839 \      *)    func_lo2o_result=${1} ;;\
15840 \    esac\
15841 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15842   && mv -f "$cfgfile.tmp" "$cfgfile" \
15843     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15844 test 0 -eq $? || _lt_function_replace_fail=:
15845
15846
15847   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15848 func_xform ()\
15849 {\
15850     func_xform_result=${1%.*}.lo\
15851 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15852   && mv -f "$cfgfile.tmp" "$cfgfile" \
15853     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15854 test 0 -eq $? || _lt_function_replace_fail=:
15855
15856
15857   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15858 func_arith ()\
15859 {\
15860     func_arith_result=$(( $* ))\
15861 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15862   && mv -f "$cfgfile.tmp" "$cfgfile" \
15863     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15864 test 0 -eq $? || _lt_function_replace_fail=:
15865
15866
15867   sed -e '/^func_len ()$/,/^} # func_len /c\
15868 func_len ()\
15869 {\
15870     func_len_result=${#1}\
15871 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15872   && mv -f "$cfgfile.tmp" "$cfgfile" \
15873     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15874 test 0 -eq $? || _lt_function_replace_fail=:
15875
15876 fi
15877
15878 if test x"$lt_shell_append" = xyes; then
15879   sed -e '/^func_append ()$/,/^} # func_append /c\
15880 func_append ()\
15881 {\
15882     eval "${1}+=\\${2}"\
15883 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15884   && mv -f "$cfgfile.tmp" "$cfgfile" \
15885     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15886 test 0 -eq $? || _lt_function_replace_fail=:
15887
15888
15889   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15890 func_append_quoted ()\
15891 {\
15892 \    func_quote_for_eval "${2}"\
15893 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15894 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15895   && mv -f "$cfgfile.tmp" "$cfgfile" \
15896     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15897 test 0 -eq $? || _lt_function_replace_fail=:
15898
15899
15900   # Save a `func_append' function call where possible by direct use of '+='
15901   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15902     && mv -f "$cfgfile.tmp" "$cfgfile" \
15903       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15904   test 0 -eq $? || _lt_function_replace_fail=:
15905 else
15906   # Save a `func_append' function call even when '+=' is not available
15907   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15908     && mv -f "$cfgfile.tmp" "$cfgfile" \
15909       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15910   test 0 -eq $? || _lt_function_replace_fail=:
15911 fi
15912
15913 if test x"$_lt_function_replace_fail" = x":"; then
15914   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15915 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15916 fi
15917
15918
15919    mv -f "$cfgfile" "$ofile" ||
15920     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15921   chmod +x "$ofile"
15922
15923  ;;
15924
15925   esac
15926 done # for ac_tag
15927
15928
15929 as_fn_exit 0
15930 _ACEOF
15931 ac_clean_files=$ac_clean_files_save
15932
15933 test $ac_write_fail = 0 ||
15934   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15935
15936
15937 # configure is writing to config.log, and then calls config.status.
15938 # config.status does its own redirection, appending to config.log.
15939 # Unfortunately, on DOS this fails, as config.log is still kept open
15940 # by configure, so config.status won't be able to write to it; its
15941 # output is simply discarded.  So we exec the FD to /dev/null,
15942 # effectively closing config.log, so it can be properly (re)opened and
15943 # appended to by config.status.  When coming back to configure, we
15944 # need to make the FD available again.
15945 if test "$no_create" != yes; then
15946   ac_cs_success=:
15947   ac_config_status_args=
15948   test "$silent" = yes &&
15949     ac_config_status_args="$ac_config_status_args --quiet"
15950   exec 5>/dev/null
15951   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15952   exec 5>>config.log
15953   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15954   # would make configure fail if this is the last instruction.
15955   $ac_cs_success || as_fn_exit 1
15956 fi
15957 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15958   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15959 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15960 fi
15961
15962
15963 if test "$util_linux_ok" = no; then
15964         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15965 ******************************************************************
15966 * Please install util-linux version 2.18 or later which supports *
15967 * --fake and --no-canonicalize options in mount and umount       *
15968 ******************************************************************" >&5
15969 $as_echo "$as_me: WARNING:
15970 ******************************************************************
15971 * Please install util-linux version 2.18 or later which supports *
15972 * --fake and --no-canonicalize options in mount and umount       *
15973 ******************************************************************" >&2;}
15974 fi