source: FTPfs/sshfs-fuse-1.9/configure @ 10

Last change on this file since 10 was 10, checked in by zsjheng, 17 years ago
File size: 146.1 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for sshfs-fuse 1.9.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21  setopt NO_GLOB_SUBST
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42  echo "#! /bin/sh" >conf$$.sh
43  echo  "exit 0"   >>conf$$.sh
44  chmod +x conf$$.sh
45  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46    PATH_SEPARATOR=';'
47  else
48    PATH_SEPARATOR=:
49  fi
50  rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55  as_unset=unset
56else
57  as_unset=false
58fi
59
60
61# IFS
62# We need space, tab and new line, in precisely that order.  Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" ""  $as_nl"
69
70# Find who we are.  Look in the path if we contain no directory separator.
71case $0 in
72  *[\\/]* ) as_myself=$0 ;;
73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76  IFS=$as_save_IFS
77  test -z "$as_dir" && as_dir=.
78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82     ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87  as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91  { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106  LC_TELEPHONE LC_TIME
107do
108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109    eval $as_var=C; export $as_var
110  else
111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112  fi
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118  as_expr=expr
119else
120  as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124  as_basename=basename
125else
126  as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133   X"$0" : 'X\(//\)$' \| \
134   X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136    sed '/^.*\/\([^/][^/]*\)\/*$/{
137      s//\1/
138      q
139    }
140    /^X\/\(\/\/\)$/{
141      s//\1/
142      q
143    }
144    /^X\/\(\/\).*/{
145      s//\1/
146      q
147    }
148    s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155  if (eval ":") 2>/dev/null; then
156  as_have_required=yes
157else
158  as_have_required=no
159fi
160
161  if test $as_have_required = yes &&   (eval ":
162(as_func_return () {
163  (exit \$1)
164}
165as_func_success () {
166  as_func_return 0
167}
168as_func_failure () {
169  as_func_return 1
170}
171as_func_ret_success () {
172  return 0
173}
174as_func_ret_failure () {
175  return 1
176}
177
178exitcode=0
179if as_func_success; then
180  :
181else
182  exitcode=1
183  echo as_func_success failed.
184fi
185
186if as_func_failure; then
187  exitcode=1
188  echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192  :
193else
194  exitcode=1
195  echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199  exitcode=1
200  echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204  :
205else
206  exitcode=1
207  echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213  as_lineno_1=\$LINENO
214  as_lineno_2=\$LINENO
215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218  :
219else
220  as_candidate_shells=
221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  case $as_dir in
227   /*)
228     for as_base in sh bash ksh sh5; do
229       as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230     done;;
231       esac
232done
233IFS=$as_save_IFS
234
235
236      for as_shell in $as_candidate_shells $SHELL; do
237   # Try only shells that exist, to save several forks.
238   if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239    { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241  emulate sh
242  NULLCMD=:
243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244  # is contrary to our usage.  Disable this feature.
245  alias -g '${1+"$@"}'='"$@"'
246  setopt NO_GLOB_SUBST
247else
248  case `(set -o) 2>/dev/null` in
249  *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258  CONFIG_SHELL=$as_shell
259         as_have_required=yes
260         if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278  (exit $1)
279}
280as_func_success () {
281  as_func_return 0
282}
283as_func_failure () {
284  as_func_return 1
285}
286as_func_ret_success () {
287  return 0
288}
289as_func_ret_failure () {
290  return 1
291}
292
293exitcode=0
294if as_func_success; then
295  :
296else
297  exitcode=1
298  echo as_func_success failed.
299fi
300
301if as_func_failure; then
302  exitcode=1
303  echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307  :
308else
309  exitcode=1
310  echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314  exitcode=1
315  echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319  :
320else
321  exitcode=1
322  echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328  as_lineno_1=$LINENO
329  as_lineno_2=$LINENO
330  test "x$as_lineno_1" != "x$as_lineno_2" &&
331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335  break
336fi
337
338fi
339
340      done
341
342      if test "x$CONFIG_SHELL" != x; then
343  for as_var in BASH_ENV ENV
344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345        done
346        export CONFIG_SHELL
347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351    if test $as_have_required = no; then
352  echo This script requires a shell more modern than all the
353      echo shells that I found on your system.  Please install a
354      echo modern shell, or manually run the script under such a
355      echo shell if you do have one.
356      { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367  (exit \$1)
368}
369as_func_success () {
370  as_func_return 0
371}
372as_func_failure () {
373  as_func_return 1
374}
375as_func_ret_success () {
376  return 0
377}
378as_func_ret_failure () {
379  return 1
380}
381
382exitcode=0
383if as_func_success; then
384  :
385else
386  exitcode=1
387  echo as_func_success failed.
388fi
389
390if as_func_failure; then
391  exitcode=1
392  echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396  :
397else
398  exitcode=1
399  echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403  exitcode=1
404  echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408  :
409else
410  exitcode=1
411  echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415  echo No shell found that supports shell functions.
416  echo Please tell autoconf@gnu.org about your system,
417  echo including any error possibly output before this
418  echo message
419}
420
421
422
423  as_lineno_1=$LINENO
424  as_lineno_2=$LINENO
425  test "x$as_lineno_1" != "x$as_lineno_2" &&
426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429  # uniformly replaced by the line number.  The first 'sed' inserts a
430  # line-number line after each line using $LINENO; the second 'sed'
431  # does the real work.  The second script uses 'N' to pair each
432  # line-number line with the line containing $LINENO, and appends
433  # trailing '-' during substitution so that $LINENO is not a special
434  # case at line end.
435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437  # E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455   { (exit 1); exit 1; }; }
456
457  # Don't try to exec as it changes $[0], causing all sort of problems
458  # (the dirname of $[0] is not the place where we might find the
459  # original and so on.  Autoconf is especially sensitive to this).
460  . "./$as_me.lineno"
461  # Exit status is that of the last command.
462  exit
463}
464
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467  as_dirname=dirname
468else
469  as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475  case `echo 'x\c'` in
476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477  *)   ECHO_C='\c';;
478  esac;;
479*)
480  ECHO_N='-n';;
481esac
482
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485  as_expr=expr
486else
487  as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492  rm -f conf$$.dir/conf$$.file
493else
494  rm -f conf$$.dir
495  mkdir conf$$.dir
496fi
497echo >conf$$.file
498if ln -s conf$$.file conf$$ 2>/dev/null; then
499  as_ln_s='ln -s'
500  # ... but there are two gotchas:
501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503  # In both cases, we have to default to `cp -p'.
504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505    as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then
507  as_ln_s=ln
508else
509  as_ln_s='cp -p'
510fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
513
514if mkdir -p . 2>/dev/null; then
515  as_mkdir_p=:
516else
517  test -d ./-p && rmdir ./-p
518  as_mkdir_p=false
519fi
520
521if test -x / >/dev/null 2>&1; then
522  as_test_x='test -x'
523else
524  if ls -dL / >/dev/null 2>&1; then
525    as_ls_L_option=L
526  else
527    as_ls_L_option=
528  fi
529  as_test_x='
530    eval sh -c '\''
531      if test -d "$1"; then
532        test -d "$1/.";
533      else
534  case $1 in
535        -*)set "./$1";;
536  esac;
537  case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538  ???[sx]*):;;*)false;;esac;fi
539    '\'' sh
540  '
541fi
542as_executable_p=$as_test_x
543
544# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552exec 7<&0 </dev/null 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571
572# Identity of this package.
573PACKAGE_NAME='sshfs-fuse'
574PACKAGE_TARNAME='sshfs-fuse'
575PACKAGE_VERSION='1.9'
576PACKAGE_STRING='sshfs-fuse 1.9'
577PACKAGE_BUGREPORT=''
578
579ac_subst_vars='SHELL
580PATH_SEPARATOR
581PACKAGE_NAME
582PACKAGE_TARNAME
583PACKAGE_VERSION
584PACKAGE_STRING
585PACKAGE_BUGREPORT
586exec_prefix
587prefix
588program_transform_name
589bindir
590sbindir
591libexecdir
592datarootdir
593datadir
594sysconfdir
595sharedstatedir
596localstatedir
597includedir
598oldincludedir
599docdir
600infodir
601htmldir
602dvidir
603pdfdir
604psdir
605libdir
606localedir
607mandir
608DEFS
609ECHO_C
610ECHO_N
611ECHO_T
612LIBS
613build_alias
614host_alias
615target_alias
616INSTALL_PROGRAM
617INSTALL_SCRIPT
618INSTALL_DATA
619CYGPATH_W
620PACKAGE
621VERSION
622ACLOCAL
623AUTOCONF
624AUTOMAKE
625AUTOHEADER
626MAKEINFO
627install_sh
628STRIP
629INSTALL_STRIP_PROGRAM
630mkdir_p
631AWK
632SET_MAKE
633am__leading_dot
634AMTAR
635am__tar
636am__untar
637CC
638CFLAGS
639LDFLAGS
640CPPFLAGS
641ac_ct_CC
642EXEEXT
643OBJEXT
644DEPDIR
645am__include
646am__quote
647AMDEP_TRUE
648AMDEP_FALSE
649AMDEPBACKSLASH
650CCDEPMODE
651am__fastdepCC_TRUE
652am__fastdepCC_FALSE
653sshnodelay_libs
654SSH_NODELAY_SO_TRUE
655SSH_NODELAY_SO_FALSE
656PKG_CONFIG
657SSHFS_CFLAGS
658SSHFS_LIBS
659FUSE_OPT_COMPAT_TRUE
660FUSE_OPT_COMPAT_FALSE
661LIBOBJS
662LTLIBOBJS'
663ac_subst_files=''
664      ac_precious_vars='build_alias
665host_alias
666target_alias
667CC
668CFLAGS
669LDFLAGS
670LIBS
671CPPFLAGS
672PKG_CONFIG
673SSHFS_CFLAGS
674SSHFS_LIBS'
675
676
677# Initialize some variables set by options.
678ac_init_help=
679ac_init_version=false
680# The variables have the same names as the options, with
681# dashes changed to underlines.
682cache_file=/dev/null
683exec_prefix=NONE
684no_create=
685no_recursion=
686prefix=NONE
687program_prefix=NONE
688program_suffix=NONE
689program_transform_name=s,x,x,
690silent=
691site=
692srcdir=
693verbose=
694x_includes=NONE
695x_libraries=NONE
696
697# Installation directory options.
698# These are left unexpanded so users can "make install exec_prefix=/foo"
699# and all the variables that are supposed to be based on exec_prefix
700# by default will actually change.
701# Use braces instead of parens because sh, perl, etc. also accept them.
702# (The list follows the same order as the GNU Coding Standards.)
703bindir='${exec_prefix}/bin'
704sbindir='${exec_prefix}/sbin'
705libexecdir='${exec_prefix}/libexec'
706datarootdir='${prefix}/share'
707datadir='${datarootdir}'
708sysconfdir='${prefix}/etc'
709sharedstatedir='${prefix}/com'
710localstatedir='${prefix}/var'
711includedir='${prefix}/include'
712oldincludedir='/usr/include'
713docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714infodir='${datarootdir}/info'
715htmldir='${docdir}'
716dvidir='${docdir}'
717pdfdir='${docdir}'
718psdir='${docdir}'
719libdir='${exec_prefix}/lib'
720localedir='${datarootdir}/locale'
721mandir='${datarootdir}/man'
722
723ac_prev=
724ac_dashdash=
725for ac_option
726do
727  # If the previous option needs an argument, assign it.
728  if test -n "$ac_prev"; then
729    eval $ac_prev=\$ac_option
730    ac_prev=
731    continue
732  fi
733
734  case $ac_option in
735  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736  *)  ac_optarg=yes ;;
737  esac
738
739  # Accept the important Cygnus configure options, so we can diagnose typos.
740
741  case $ac_dashdash$ac_option in
742  --)
743    ac_dashdash=yes ;;
744
745  -bindir | --bindir | --bindi | --bind | --bin | --bi)
746    ac_prev=bindir ;;
747  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
748    bindir=$ac_optarg ;;
749
750  -build | --build | --buil | --bui | --bu)
751    ac_prev=build_alias ;;
752  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
753    build_alias=$ac_optarg ;;
754
755  -cache-file | --cache-file | --cache-fil | --cache-fi \
756  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
757    ac_prev=cache_file ;;
758  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
759  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
760    cache_file=$ac_optarg ;;
761
762  --config-cache | -C)
763    cache_file=config.cache ;;
764
765  -datadir | --datadir | --datadi | --datad)
766    ac_prev=datadir ;;
767  -datadir=* | --datadir=* | --datadi=* | --datad=*)
768    datadir=$ac_optarg ;;
769
770  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
771  | --dataroo | --dataro | --datar)
772    ac_prev=datarootdir ;;
773  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
774  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
775    datarootdir=$ac_optarg ;;
776
777  -disable-* | --disable-*)
778    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779    # Reject names that are not valid shell variable names.
780    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
781      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
782   { (exit 1); exit 1; }; }
783    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
784    eval enable_$ac_feature=no ;;
785
786  -docdir | --docdir | --docdi | --doc | --do)
787    ac_prev=docdir ;;
788  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789    docdir=$ac_optarg ;;
790
791  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
792    ac_prev=dvidir ;;
793  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
794    dvidir=$ac_optarg ;;
795
796  -enable-* | --enable-*)
797    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
798    # Reject names that are not valid shell variable names.
799    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
801   { (exit 1); exit 1; }; }
802    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
803    eval enable_$ac_feature=\$ac_optarg ;;
804
805  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
806  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
807  | --exec | --exe | --ex)
808    ac_prev=exec_prefix ;;
809  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
810  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
811  | --exec=* | --exe=* | --ex=*)
812    exec_prefix=$ac_optarg ;;
813
814  -gas | --gas | --ga | --g)
815    # Obsolete; use --with-gas.
816    with_gas=yes ;;
817
818  -help | --help | --hel | --he | -h)
819    ac_init_help=long ;;
820  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
821    ac_init_help=recursive ;;
822  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
823    ac_init_help=short ;;
824
825  -host | --host | --hos | --ho)
826    ac_prev=host_alias ;;
827  -host=* | --host=* | --hos=* | --ho=*)
828    host_alias=$ac_optarg ;;
829
830  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
831    ac_prev=htmldir ;;
832  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
833  | --ht=*)
834    htmldir=$ac_optarg ;;
835
836  -includedir | --includedir | --includedi | --included | --include \
837  | --includ | --inclu | --incl | --inc)
838    ac_prev=includedir ;;
839  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
840  | --includ=* | --inclu=* | --incl=* | --inc=*)
841    includedir=$ac_optarg ;;
842
843  -infodir | --infodir | --infodi | --infod | --info | --inf)
844    ac_prev=infodir ;;
845  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
846    infodir=$ac_optarg ;;
847
848  -libdir | --libdir | --libdi | --libd)
849    ac_prev=libdir ;;
850  -libdir=* | --libdir=* | --libdi=* | --libd=*)
851    libdir=$ac_optarg ;;
852
853  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
854  | --libexe | --libex | --libe)
855    ac_prev=libexecdir ;;
856  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
857  | --libexe=* | --libex=* | --libe=*)
858    libexecdir=$ac_optarg ;;
859
860  -localedir | --localedir | --localedi | --localed | --locale)
861    ac_prev=localedir ;;
862  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
863    localedir=$ac_optarg ;;
864
865  -localstatedir | --localstatedir | --localstatedi | --localstated \
866  | --localstate | --localstat | --localsta | --localst | --locals)
867    ac_prev=localstatedir ;;
868  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
869  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
870    localstatedir=$ac_optarg ;;
871
872  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
873    ac_prev=mandir ;;
874  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
875    mandir=$ac_optarg ;;
876
877  -nfp | --nfp | --nf)
878    # Obsolete; use --without-fp.
879    with_fp=no ;;
880
881  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
882  | --no-cr | --no-c | -n)
883    no_create=yes ;;
884
885  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
886  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
887    no_recursion=yes ;;
888
889  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
890  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
891  | --oldin | --oldi | --old | --ol | --o)
892    ac_prev=oldincludedir ;;
893  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
894  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
895  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
896    oldincludedir=$ac_optarg ;;
897
898  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
899    ac_prev=prefix ;;
900  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
901    prefix=$ac_optarg ;;
902
903  -program-prefix | --program-prefix | --program-prefi | --program-pref \
904  | --program-pre | --program-pr | --program-p)
905    ac_prev=program_prefix ;;
906  -program-prefix=* | --program-prefix=* | --program-prefi=* \
907  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
908    program_prefix=$ac_optarg ;;
909
910  -program-suffix | --program-suffix | --program-suffi | --program-suff \
911  | --program-suf | --program-su | --program-s)
912    ac_prev=program_suffix ;;
913  -program-suffix=* | --program-suffix=* | --program-suffi=* \
914  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
915    program_suffix=$ac_optarg ;;
916
917  -program-transform-name | --program-transform-name \
918  | --program-transform-nam | --program-transform-na \
919  | --program-transform-n | --program-transform- \
920  | --program-transform | --program-transfor \
921  | --program-transfo | --program-transf \
922  | --program-trans | --program-tran \
923  | --progr-tra | --program-tr | --program-t)
924    ac_prev=program_transform_name ;;
925  -program-transform-name=* | --program-transform-name=* \
926  | --program-transform-nam=* | --program-transform-na=* \
927  | --program-transform-n=* | --program-transform-=* \
928  | --program-transform=* | --program-transfor=* \
929  | --program-transfo=* | --program-transf=* \
930  | --program-trans=* | --program-tran=* \
931  | --progr-tra=* | --program-tr=* | --program-t=*)
932    program_transform_name=$ac_optarg ;;
933
934  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
935    ac_prev=pdfdir ;;
936  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
937    pdfdir=$ac_optarg ;;
938
939  -psdir | --psdir | --psdi | --psd | --ps)
940    ac_prev=psdir ;;
941  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
942    psdir=$ac_optarg ;;
943
944  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
945  | -silent | --silent | --silen | --sile | --sil)
946    silent=yes ;;
947
948  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
949    ac_prev=sbindir ;;
950  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
951  | --sbi=* | --sb=*)
952    sbindir=$ac_optarg ;;
953
954  -sharedstatedir | --sharedstatedir | --sharedstatedi \
955  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
956  | --sharedst | --shareds | --shared | --share | --shar \
957  | --sha | --sh)
958    ac_prev=sharedstatedir ;;
959  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
960  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
961  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
962  | --sha=* | --sh=*)
963    sharedstatedir=$ac_optarg ;;
964
965  -site | --site | --sit)
966    ac_prev=site ;;
967  -site=* | --site=* | --sit=*)
968    site=$ac_optarg ;;
969
970  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
971    ac_prev=srcdir ;;
972  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
973    srcdir=$ac_optarg ;;
974
975  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
976  | --syscon | --sysco | --sysc | --sys | --sy)
977    ac_prev=sysconfdir ;;
978  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
979  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
980    sysconfdir=$ac_optarg ;;
981
982  -target | --target | --targe | --targ | --tar | --ta | --t)
983    ac_prev=target_alias ;;
984  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
985    target_alias=$ac_optarg ;;
986
987  -v | -verbose | --verbose | --verbos | --verbo | --verb)
988    verbose=yes ;;
989
990  -version | --version | --versio | --versi | --vers | -V)
991    ac_init_version=: ;;
992
993  -with-* | --with-*)
994    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
995    # Reject names that are not valid shell variable names.
996    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
997      { echo "$as_me: error: invalid package name: $ac_package" >&2
998   { (exit 1); exit 1; }; }
999    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1000    eval with_$ac_package=\$ac_optarg ;;
1001
1002  -without-* | --without-*)
1003    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1004    # Reject names that are not valid shell variable names.
1005    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1006      { echo "$as_me: error: invalid package name: $ac_package" >&2
1007   { (exit 1); exit 1; }; }
1008    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1009    eval with_$ac_package=no ;;
1010
1011  --x)
1012    # Obsolete; use --with-x.
1013    with_x=yes ;;
1014
1015  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1016  | --x-incl | --x-inc | --x-in | --x-i)
1017    ac_prev=x_includes ;;
1018  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1019  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1020    x_includes=$ac_optarg ;;
1021
1022  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1023  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1024    ac_prev=x_libraries ;;
1025  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1026  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1027    x_libraries=$ac_optarg ;;
1028
1029  -*) { echo "$as_me: error: unrecognized option: $ac_option
1030Try \`$0 --help' for more information." >&2
1031   { (exit 1); exit 1; }; }
1032    ;;
1033
1034  *=*)
1035    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1036    # Reject names that are not valid shell variable names.
1037    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1038      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1039   { (exit 1); exit 1; }; }
1040    eval $ac_envvar=\$ac_optarg
1041    export $ac_envvar ;;
1042
1043  *)
1044    # FIXME: should be removed in autoconf 3.0.
1045    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1046    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1048    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1049    ;;
1050
1051  esac
1052done
1053
1054if test -n "$ac_prev"; then
1055  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1056  { echo "$as_me: error: missing argument to $ac_option" >&2
1057   { (exit 1); exit 1; }; }
1058fi
1059
1060# Be sure to have absolute directory names.
1061for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1062    datadir sysconfdir sharedstatedir localstatedir includedir \
1063    oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1064    libdir localedir mandir
1065do
1066  eval ac_val=\$$ac_var
1067  case $ac_val in
1068    [\\/$]* | ?:[\\/]* )  continue;;
1069    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1070  esac
1071  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1072   { (exit 1); exit 1; }; }
1073done
1074
1075# There might be people who depend on the old broken behavior: `$host'
1076# used to hold the argument of --host etc.
1077# FIXME: To remove some day.
1078build=$build_alias
1079host=$host_alias
1080target=$target_alias
1081
1082# FIXME: To remove some day.
1083if test "x$host_alias" != x; then
1084  if test "x$build_alias" = x; then
1085    cross_compiling=maybe
1086    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1087    If a cross compiler is detected then cross compile mode will be used." >&2
1088  elif test "x$build_alias" != "x$host_alias"; then
1089    cross_compiling=yes
1090  fi
1091fi
1092
1093ac_tool_prefix=
1094test -n "$host_alias" && ac_tool_prefix=$host_alias-
1095
1096test "$silent" = yes && exec 6>/dev/null
1097
1098
1099ac_pwd=`pwd` && test -n "$ac_pwd" &&
1100ac_ls_di=`ls -di .` &&
1101ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1102  { echo "$as_me: error: Working directory cannot be determined" >&2
1103   { (exit 1); exit 1; }; }
1104test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1105  { echo "$as_me: error: pwd does not report name of working directory" >&2
1106   { (exit 1); exit 1; }; }
1107
1108
1109# Find the source files, if location was not specified.
1110if test -z "$srcdir"; then
1111  ac_srcdir_defaulted=yes
1112  # Try the directory containing this script, then the parent directory.
1113  ac_confdir=`$as_dirname -- "$0" ||
1114$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1115   X"$0" : 'X\(//\)[^/]' \| \
1116   X"$0" : 'X\(//\)$' \| \
1117   X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1118echo X"$0" |
1119    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1120      s//\1/
1121      q
1122    }
1123    /^X\(\/\/\)[^/].*/{
1124      s//\1/
1125      q
1126    }
1127    /^X\(\/\/\)$/{
1128      s//\1/
1129      q
1130    }
1131    /^X\(\/\).*/{
1132      s//\1/
1133      q
1134    }
1135    s/.*/./; q'`
1136  srcdir=$ac_confdir
1137  if test ! -r "$srcdir/$ac_unique_file"; then
1138    srcdir=..
1139  fi
1140else
1141  ac_srcdir_defaulted=no
1142fi
1143if test ! -r "$srcdir/$ac_unique_file"; then
1144  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1145  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1146   { (exit 1); exit 1; }; }
1147fi
1148ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1149ac_abs_confdir=`(
1150  cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1151   { (exit 1); exit 1; }; }
1152  pwd)`
1153# When building in place, set srcdir=.
1154if test "$ac_abs_confdir" = "$ac_pwd"; then
1155  srcdir=.
1156fi
1157# Remove unnecessary trailing slashes from srcdir.
1158# Double slashes in file names in object file debugging info
1159# mess up M-x gdb in Emacs.
1160case $srcdir in
1161*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1162esac
1163for ac_var in $ac_precious_vars; do
1164  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1165  eval ac_env_${ac_var}_value=\$${ac_var}
1166  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1167  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1168done
1169
1170#
1171# Report the --help message.
1172#
1173if test "$ac_init_help" = "long"; then
1174  # Omit some internal or obsolete options to make the list less imposing.
1175  # This message is too long to be a string in the A/UX 3.1 sh.
1176  cat <<_ACEOF
1177\`configure' configures sshfs-fuse 1.9 to adapt to many kinds of systems.
1178
1179Usage: $0 [OPTION]... [VAR=VALUE]...
1180
1181To assign environment variables (e.g., CC, CFLAGS...), specify them as
1182VAR=VALUE.  See below for descriptions of some of the useful variables.
1183
1184Defaults for the options are specified in brackets.
1185
1186Configuration:
1187  -h, --help              display this help and exit
1188      --help=short        display options specific to this package
1189      --help=recursive    display the short help of all the included packages
1190  -V, --version           display version information and exit
1191  -q, --quiet, --silent   do not print \`checking...' messages
1192      --cache-file=FILE   cache test results in FILE [disabled]
1193  -C, --config-cache      alias for \`--cache-file=config.cache'
1194  -n, --no-create         do not create output files
1195      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1196
1197Installation directories:
1198  --prefix=PREFIX         install architecture-independent files in PREFIX
1199        [$ac_default_prefix]
1200  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1201        [PREFIX]
1202
1203By default, \`make install' will install all the files in
1204\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1205an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1206for instance \`--prefix=\$HOME'.
1207
1208For better control, use the options below.
1209
1210Fine tuning of the installation directories:
1211  --bindir=DIR           user executables [EPREFIX/bin]
1212  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1213  --libexecdir=DIR       program executables [EPREFIX/libexec]
1214  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1215  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1216  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1217  --libdir=DIR           object code libraries [EPREFIX/lib]
1218  --includedir=DIR       C header files [PREFIX/include]
1219  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1220  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1221  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1222  --infodir=DIR          info documentation [DATAROOTDIR/info]
1223  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1224  --mandir=DIR           man documentation [DATAROOTDIR/man]
1225  --docdir=DIR           documentation root [DATAROOTDIR/doc/sshfs-fuse]
1226  --htmldir=DIR          html documentation [DOCDIR]
1227  --dvidir=DIR           dvi documentation [DOCDIR]
1228  --pdfdir=DIR           pdf documentation [DOCDIR]
1229  --psdir=DIR            ps documentation [DOCDIR]
1230_ACEOF
1231
1232  cat <<\_ACEOF
1233
1234Program names:
1235  --program-prefix=PREFIX            prepend PREFIX to installed program names
1236  --program-suffix=SUFFIX            append SUFFIX to installed program names
1237  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1238_ACEOF
1239fi
1240
1241if test -n "$ac_init_help"; then
1242  case $ac_init_help in
1243     short | recursive ) echo "Configuration of sshfs-fuse 1.9:";;
1244   esac
1245  cat <<\_ACEOF
1246
1247Optional Features:
1248  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1249  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1250  --disable-dependency-tracking  speeds up one-time build
1251  --enable-dependency-tracking   do not reject slow dependency extractors
1252  --disable-sshnodelay    Don't compile NODELAY workaround for ssh
1253
1254Some influential environment variables:
1255  CC          C compiler command
1256  CFLAGS      C compiler flags
1257  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1258              nonstandard directory <lib dir>
1259  LIBS        libraries to pass to the linker, e.g. -l<library>
1260  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1261              you have headers in a nonstandard directory <include dir>
1262  PKG_CONFIG  path to pkg-config utility
1263  SSHFS_CFLAGS
1264              C compiler flags for SSHFS, overriding pkg-config
1265  SSHFS_LIBS  linker flags for SSHFS, overriding pkg-config
1266
1267Use these variables to override the choices made by `configure' or to help
1268it to find libraries and programs with nonstandard names/locations.
1269
1270_ACEOF
1271ac_status=$?
1272fi
1273
1274if test "$ac_init_help" = "recursive"; then
1275  # If there are subdirs, report their specific --help.
1276  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1277    test -d "$ac_dir" || continue
1278    ac_builddir=.
1279
1280case "$ac_dir" in
1281.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282*)
1283  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1284  # A ".." for each directory in $ac_dir_suffix.
1285  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1286  case $ac_top_builddir_sub in
1287  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1288  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1289  esac ;;
1290esac
1291ac_abs_top_builddir=$ac_pwd
1292ac_abs_builddir=$ac_pwd$ac_dir_suffix
1293# for backward compatibility:
1294ac_top_builddir=$ac_top_build_prefix
1295
1296case $srcdir in
1297  .)  # We are building in place.
1298    ac_srcdir=.
1299    ac_top_srcdir=$ac_top_builddir_sub
1300    ac_abs_top_srcdir=$ac_pwd ;;
1301  [\\/]* | ?:[\\/]* )  # Absolute name.
1302    ac_srcdir=$srcdir$ac_dir_suffix;
1303    ac_top_srcdir=$srcdir
1304    ac_abs_top_srcdir=$srcdir ;;
1305  *) # Relative name.
1306    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1307    ac_top_srcdir=$ac_top_build_prefix$srcdir
1308    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1309esac
1310ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1311
1312    cd "$ac_dir" || { ac_status=$?; continue; }
1313    # Check for guested configure.
1314    if test -f "$ac_srcdir/configure.gnu"; then
1315      echo &&
1316      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1317    elif test -f "$ac_srcdir/configure"; then
1318      echo &&
1319      $SHELL "$ac_srcdir/configure" --help=recursive
1320    else
1321      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1322    fi || ac_status=$?
1323    cd "$ac_pwd" || { ac_status=$?; break; }
1324  done
1325fi
1326
1327test -n "$ac_init_help" && exit $ac_status
1328if $ac_init_version; then
1329  cat <<\_ACEOF
1330sshfs-fuse configure 1.9
1331generated by GNU Autoconf 2.61
1332
1333Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13342002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1335This configure script is free software; the Free Software Foundation
1336gives unlimited permission to copy, distribute and modify it.
1337_ACEOF
1338  exit
1339fi
1340cat >config.log <<_ACEOF
1341This file contains any messages produced by compilers while
1342running configure, to aid debugging if configure makes a mistake.
1343
1344It was created by sshfs-fuse $as_me 1.9, which was
1345generated by GNU Autoconf 2.61.  Invocation command line was
1346
1347  $ $0 $@
1348
1349_ACEOF
1350exec 5>>config.log
1351{
1352cat <<_ASUNAME
1353## --------- ##
1354## Platform. ##
1355## --------- ##
1356
1357hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1358uname -m = `(uname -m) 2>/dev/null || echo unknown`
1359uname -r = `(uname -r) 2>/dev/null || echo unknown`
1360uname -s = `(uname -s) 2>/dev/null || echo unknown`
1361uname -v = `(uname -v) 2>/dev/null || echo unknown`
1362
1363/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1364/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1365
1366/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1367/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1368/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1369/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1370/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1371/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1372/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1373
1374_ASUNAME
1375
1376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1377for as_dir in $PATH
1378do
1379  IFS=$as_save_IFS
1380  test -z "$as_dir" && as_dir=.
1381  echo "PATH: $as_dir"
1382done
1383IFS=$as_save_IFS
1384
1385} >&5
1386
1387cat >&5 <<_ACEOF
1388
1389
1390## ----------- ##
1391## Core tests. ##
1392## ----------- ##
1393
1394_ACEOF
1395
1396
1397# Keep a trace of the command line.
1398# Strip out --no-create and --no-recursion so they do not pile up.
1399# Strip out --silent because we don't want to record it for future runs.
1400# Also quote any args containing shell meta-characters.
1401# Make two passes to allow for proper duplicate-argument suppression.
1402ac_configure_args=
1403ac_configure_args0=
1404ac_configure_args1=
1405ac_must_keep_next=false
1406for ac_pass in 1 2
1407do
1408  for ac_arg
1409  do
1410    case $ac_arg in
1411    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1412    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1413    | -silent | --silent | --silen | --sile | --sil)
1414      continue ;;
1415    *\'*)
1416      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1417    esac
1418    case $ac_pass in
1419    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1420    2)
1421      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1422      if test $ac_must_keep_next = true; then
1423  ac_must_keep_next=false # Got value, back to normal.
1424      else
1425  case $ac_arg in
1426    *=* | --config-cache | -C | -disable-* | --disable-* \
1427    | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1428    | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1429    | -with-* | --with-* | -without-* | --without-* | --x)
1430      case "$ac_configure_args0 " in
1431        "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1432      esac
1433      ;;
1434    -* ) ac_must_keep_next=true ;;
1435  esac
1436      fi
1437      ac_configure_args="$ac_configure_args '$ac_arg'"
1438      ;;
1439    esac
1440  done
1441done
1442$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1443$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1444
1445# When interrupted or exit'd, cleanup temporary files, and complete
1446# config.log.  We remove comments because anyway the quotes in there
1447# would cause problems or look ugly.
1448# WARNING: Use '\'' to represent an apostrophe within the trap.
1449# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1450trap 'exit_status=$?
1451  # Save into config.log some information that might help in debugging.
1452  {
1453    echo
1454
1455    cat <<\_ASBOX
1456## ---------------- ##
1457## Cache variables. ##
1458## ---------------- ##
1459_ASBOX
1460    echo
1461    # The following way of writing the cache mishandles newlines in values,
1462(
1463  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1464    eval ac_val=\$$ac_var
1465    case $ac_val in #(
1466    *${as_nl}*)
1467      case $ac_var in #(
1468      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1469echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1470      esac
1471      case $ac_var in #(
1472      _ | IFS | as_nl) ;; #(
1473      *) $as_unset $ac_var ;;
1474      esac ;;
1475    esac
1476  done
1477  (set) 2>&1 |
1478    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1479    *${as_nl}ac_space=\ *)
1480      sed -n \
1481  "s/'\''/'\''\\\\'\'''\''/g;
1482    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1483      ;; #(
1484    *)
1485      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1486      ;;
1487    esac |
1488    sort
1489)
1490    echo
1491
1492    cat <<\_ASBOX
1493## ----------------- ##
1494## Output variables. ##
1495## ----------------- ##
1496_ASBOX
1497    echo
1498    for ac_var in $ac_subst_vars
1499    do
1500      eval ac_val=\$$ac_var
1501      case $ac_val in
1502      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503      esac
1504      echo "$ac_var='\''$ac_val'\''"
1505    done | sort
1506    echo
1507
1508    if test -n "$ac_subst_files"; then
1509      cat <<\_ASBOX
1510## ------------------- ##
1511## File substitutions. ##
1512## ------------------- ##
1513_ASBOX
1514      echo
1515      for ac_var in $ac_subst_files
1516      do
1517  eval ac_val=\$$ac_var
1518  case $ac_val in
1519  *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1520  esac
1521  echo "$ac_var='\''$ac_val'\''"
1522      done | sort
1523      echo
1524    fi
1525
1526    if test -s confdefs.h; then
1527      cat <<\_ASBOX
1528## ----------- ##
1529## confdefs.h. ##
1530## ----------- ##
1531_ASBOX
1532      echo
1533      cat confdefs.h
1534      echo
1535    fi
1536    test "$ac_signal" != 0 &&
1537      echo "$as_me: caught signal $ac_signal"
1538    echo "$as_me: exit $exit_status"
1539  } >&5
1540  rm -f core *.core core.conftest.* &&
1541    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1542    exit $exit_status
1543' 0
1544for ac_signal in 1 2 13 15; do
1545  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1546done
1547ac_signal=0
1548
1549# confdefs.h avoids OS command line length limits that DEFS can exceed.
1550rm -f -r conftest* confdefs.h
1551
1552# Predefined preprocessor variables.
1553
1554cat >>confdefs.h <<_ACEOF
1555#define PACKAGE_NAME "$PACKAGE_NAME"
1556_ACEOF
1557
1558
1559cat >>confdefs.h <<_ACEOF
1560#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1561_ACEOF
1562
1563
1564cat >>confdefs.h <<_ACEOF
1565#define PACKAGE_VERSION "$PACKAGE_VERSION"
1566_ACEOF
1567
1568
1569cat >>confdefs.h <<_ACEOF
1570#define PACKAGE_STRING "$PACKAGE_STRING"
1571_ACEOF
1572
1573
1574cat >>confdefs.h <<_ACEOF
1575#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1576_ACEOF
1577
1578
1579# Let the site file select an alternate cache file if it wants to.
1580# Prefer explicitly selected file to automatically selected ones.
1581if test -n "$CONFIG_SITE"; then
1582  set x "$CONFIG_SITE"
1583elif test "x$prefix" != xNONE; then
1584  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1585else
1586  set x "$ac_default_prefix/share/config.site" \
1587  "$ac_default_prefix/etc/config.site"
1588fi
1589shift
1590for ac_site_file
1591do
1592  if test -r "$ac_site_file"; then
1593    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1594echo "$as_me: loading site script $ac_site_file" >&6;}
1595    sed 's/^/| /' "$ac_site_file" >&5
1596    . "$ac_site_file"
1597  fi
1598done
1599
1600if test -r "$cache_file"; then
1601  # Some versions of bash will fail to source /dev/null (special
1602  # files actually), so we avoid doing that.
1603  if test -f "$cache_file"; then
1604    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1605echo "$as_me: loading cache $cache_file" >&6;}
1606    case $cache_file in
1607      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1608      *)                      . "./$cache_file";;
1609    esac
1610  fi
1611else
1612  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1613echo "$as_me: creating cache $cache_file" >&6;}
1614  >$cache_file
1615fi
1616
1617# Check that the precious variables saved in the cache have kept the same
1618# value.
1619ac_cache_corrupted=false
1620for ac_var in $ac_precious_vars; do
1621  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1622  eval ac_new_set=\$ac_env_${ac_var}_set
1623  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1624  eval ac_new_val=\$ac_env_${ac_var}_value
1625  case $ac_old_set,$ac_new_set in
1626    set,)
1627      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1628echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1629      ac_cache_corrupted=: ;;
1630    ,set)
1631      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1632echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1633      ac_cache_corrupted=: ;;
1634    ,);;
1635    *)
1636      if test "x$ac_old_val" != "x$ac_new_val"; then
1637  { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1638echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1639  { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1640echo "$as_me:   former value:  $ac_old_val" >&2;}
1641  { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1642echo "$as_me:   current value: $ac_new_val" >&2;}
1643  ac_cache_corrupted=:
1644      fi;;
1645  esac
1646  # Pass precious variables to config.status.
1647  if test "$ac_new_set" = set; then
1648    case $ac_new_val in
1649    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1650    *) ac_arg=$ac_var=$ac_new_val ;;
1651    esac
1652    case " $ac_configure_args " in
1653      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1654      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1655    esac
1656  fi
1657done
1658if $ac_cache_corrupted; then
1659  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1660echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1661  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1662echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1663   { (exit 1); exit 1; }; }
1664fi
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690ac_ext=c
1691ac_cpp='$CPP $CPPFLAGS'
1692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1694ac_compiler_gnu=$ac_cv_c_compiler_gnu
1695
1696
1697am__api_version="1.9"
1698ac_aux_dir=
1699for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1700  if test -f "$ac_dir/install-sh"; then
1701    ac_aux_dir=$ac_dir
1702    ac_install_sh="$ac_aux_dir/install-sh -c"
1703    break
1704  elif test -f "$ac_dir/install.sh"; then
1705    ac_aux_dir=$ac_dir
1706    ac_install_sh="$ac_aux_dir/install.sh -c"
1707    break
1708  elif test -f "$ac_dir/shtool"; then
1709    ac_aux_dir=$ac_dir
1710    ac_install_sh="$ac_aux_dir/shtool install -c"
1711    break
1712  fi
1713done
1714if test -z "$ac_aux_dir"; then
1715  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1716echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1717   { (exit 1); exit 1; }; }
1718fi
1719
1720# These three variables are undocumented and unsupported,
1721# and are intended to be withdrawn in a future Autoconf release.
1722# They can cause serious problems if a builder's source tree is in a directory
1723# whose full name contains unusual characters.
1724ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1725ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1726ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1727
1728
1729# Find a good install program.  We prefer a C program (faster),
1730# so one script is as good as another.  But avoid the broken or
1731# incompatible versions:
1732# SysV /etc/install, /usr/sbin/install
1733# SunOS /usr/etc/install
1734# IRIX /sbin/install
1735# AIX /bin/install
1736# AmigaOS /C/install, which installs bootblocks on floppy discs
1737# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1738# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1739# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1740# OS/2's system install, which has a completely different semantic
1741# ./install, which can be erroneously created by make from ./install.sh.
1742{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1743echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1744if test -z "$INSTALL"; then
1745if test "${ac_cv_path_install+set}" = set; then
1746  echo $ECHO_N "(cached) $ECHO_C" >&6
1747else
1748  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749for as_dir in $PATH
1750do
1751  IFS=$as_save_IFS
1752  test -z "$as_dir" && as_dir=.
1753  # Account for people who put trailing slashes in PATH elements.
1754case $as_dir/ in
1755  ./ | .// | /cC/* | \
1756  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1757  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1758  /usr/ucb/* ) ;;
1759  *)
1760    # OSF1 and SCO ODT 3.0 have their own names for install.
1761    # Don't use installbsd from OSF since it installs stuff as root
1762    # by default.
1763    for ac_prog in ginstall scoinst install; do
1764      for ac_exec_ext in '' $ac_executable_extensions; do
1765  if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1766    if test $ac_prog = install &&
1767      grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1768      # AIX install.  It has an incompatible calling convention.
1769      :
1770    elif test $ac_prog = install &&
1771      grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1772      # program-specific install script used by HP pwplus--don't use.
1773      :
1774    else
1775      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1776      break 3
1777    fi
1778  fi
1779      done
1780    done
1781    ;;
1782esac
1783done
1784IFS=$as_save_IFS
1785
1786
1787fi
1788  if test "${ac_cv_path_install+set}" = set; then
1789    INSTALL=$ac_cv_path_install
1790  else
1791    # As a last resort, use the slow shell script.  Don't cache a
1792    # value for INSTALL within a source directory, because that will
1793    # break other packages using the cache if that directory is
1794    # removed, or if the value is a relative name.
1795    INSTALL=$ac_install_sh
1796  fi
1797fi
1798{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1799echo "${ECHO_T}$INSTALL" >&6; }
1800
1801# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1802# It thinks the first close brace ends the variable substitution.
1803test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1804
1805test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1806
1807test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1808
1809{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1810echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1811# Just in case
1812sleep 1
1813echo timestamp > conftest.file
1814# Do `set' in a subshell so we don't clobber the current shell's
1815# arguments.  Must try -L first in case configure is actually a
1816# symlink; some systems play weird games with the mod time of symlinks
1817# (eg FreeBSD returns the mod time of the symlink's containing
1818# directory).
1819if (
1820   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1821   if test "$*" = "X"; then
1822      # -L didn't work.
1823      set X `ls -t $srcdir/configure conftest.file`
1824   fi
1825   rm -f conftest.file
1826   if test "$*" != "X $srcdir/configure conftest.file" \
1827      && test "$*" != "X conftest.file $srcdir/configure"; then
1828
1829      # If neither matched, then we have a broken ls.  This can happen
1830      # if, for instance, CONFIG_SHELL is bash and it inherits a
1831      # broken ls alias from the environment.  This has actually
1832      # happened.  Such a system could not be considered "sane".
1833      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1834alias in your environment" >&5
1835echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1836alias in your environment" >&2;}
1837   { (exit 1); exit 1; }; }
1838   fi
1839
1840   test "$2" = conftest.file
1841   )
1842then
1843   # Ok.
1844   :
1845else
1846   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1847Check your system clock" >&5
1848echo "$as_me: error: newly created file is older than distributed files!
1849Check your system clock" >&2;}
1850   { (exit 1); exit 1; }; }
1851fi
1852{ echo "$as_me:$LINENO: result: yes" >&5
1853echo "${ECHO_T}yes" >&6; }
1854test "$program_prefix" != NONE &&
1855  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1856# Use a double $ so make ignores it.
1857test "$program_suffix" != NONE &&
1858  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1859# Double any \ or $.  echo might interpret backslashes.
1860# By default was `s,x,x', remove it if useless.
1861cat <<\_ACEOF >conftest.sed
1862s/[\\$]/&&/g;s/;s,x,x,$//
1863_ACEOF
1864program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1865rm -f conftest.sed
1866
1867# expand $ac_aux_dir to an absolute path
1868am_aux_dir=`cd $ac_aux_dir && pwd`
1869
1870test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1871# Use eval to expand $SHELL
1872if eval "$MISSING --run true"; then
1873  am_missing_run="$MISSING --run "
1874else
1875  am_missing_run=
1876  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1877echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1878fi
1879
1880if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1881  # We used to keeping the `.' as first argument, in order to
1882  # allow $(mkdir_p) to be used without argument.  As in
1883  #   $(mkdir_p) $(somedir)
1884  # where $(somedir) is conditionally defined.  However this is wrong
1885  # for two reasons:
1886  #  1. if the package is installed by a user who cannot write `.'
1887  #     make install will fail,
1888  #  2. the above comment should most certainly read
1889  #     $(mkdir_p) $(DESTDIR)$(somedir)
1890  #     so it does not work when $(somedir) is undefined and
1891  #     $(DESTDIR) is not.
1892  #  To support the latter case, we have to write
1893  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1894  #  so the `.' trick is pointless.
1895  mkdir_p='mkdir -p --'
1896else
1897  # On NextStep and OpenStep, the `mkdir' command does not
1898  # recognize any option.  It will interpret all options as
1899  # directories to create, and then abort because `.' already
1900  # exists.
1901  for d in ./-p ./--version;
1902  do
1903    test -d $d && rmdir $d
1904  done
1905  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1906  if test -f "$ac_aux_dir/mkinstalldirs"; then
1907    mkdir_p='$(mkinstalldirs)'
1908  else
1909    mkdir_p='$(install_sh) -d'
1910  fi
1911fi
1912
1913for ac_prog in gawk mawk nawk awk
1914do
1915  # Extract the first word of "$ac_prog", so it can be a program name with args.
1916set dummy $ac_prog; ac_word=$2
1917{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1918echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1919if test "${ac_cv_prog_AWK+set}" = set; then
1920  echo $ECHO_N "(cached) $ECHO_C" >&6
1921else
1922  if test -n "$AWK"; then
1923  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1924else
1925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926for as_dir in $PATH
1927do
1928  IFS=$as_save_IFS
1929  test -z "$as_dir" && as_dir=.
1930  for ac_exec_ext in '' $ac_executable_extensions; do
1931  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1932    ac_cv_prog_AWK="$ac_prog"
1933    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934    break 2
1935  fi
1936done
1937done
1938IFS=$as_save_IFS
1939
1940fi
1941fi
1942AWK=$ac_cv_prog_AWK
1943if test -n "$AWK"; then
1944  { echo "$as_me:$LINENO: result: $AWK" >&5
1945echo "${ECHO_T}$AWK" >&6; }
1946else
1947  { echo "$as_me:$LINENO: result: no" >&5
1948echo "${ECHO_T}no" >&6; }
1949fi
1950
1951
1952  test -n "$AWK" && break
1953done
1954
1955{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1956echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1957set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1958if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1959  echo $ECHO_N "(cached) $ECHO_C" >&6
1960else
1961  cat >conftest.make <<\_ACEOF
1962SHELL = /bin/sh
1963all:
1964  @echo '@@@%%%=$(MAKE)=@@@%%%'
1965_ACEOF
1966# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1967case `${MAKE-make} -f conftest.make 2>/dev/null` in
1968  *@@@%%%=?*=@@@%%%*)
1969    eval ac_cv_prog_make_${ac_make}_set=yes;;
1970  *)
1971    eval ac_cv_prog_make_${ac_make}_set=no;;
1972esac
1973rm -f conftest.make
1974fi
1975if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1976  { echo "$as_me:$LINENO: result: yes" >&5
1977echo "${ECHO_T}yes" >&6; }
1978  SET_MAKE=
1979else
1980  { echo "$as_me:$LINENO: result: no" >&5
1981echo "${ECHO_T}no" >&6; }
1982  SET_MAKE="MAKE=${MAKE-make}"
1983fi
1984
1985rm -rf .tst 2>/dev/null
1986mkdir .tst 2>/dev/null
1987if test -d .tst; then
1988  am__leading_dot=.
1989else
1990  am__leading_dot=_
1991fi
1992rmdir .tst 2>/dev/null
1993
1994# test to see if srcdir already configured
1995if test "`cd $srcdir && pwd`" != "`pwd`" &&
1996   test -f $srcdir/config.status; then
1997  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1998echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1999   { (exit 1); exit 1; }; }
2000fi
2001
2002# test whether we have cygpath
2003if test -z "$CYGPATH_W"; then
2004  if (cygpath --version) >/dev/null 2>/dev/null; then
2005    CYGPATH_W='cygpath -w'
2006  else
2007    CYGPATH_W=echo
2008  fi
2009fi
2010
2011
2012# Define the identity of the package.
2013 PACKAGE='sshfs-fuse'
2014 VERSION='1.9'
2015
2016
2017cat >>confdefs.h <<_ACEOF
2018#define PACKAGE "$PACKAGE"
2019_ACEOF
2020
2021
2022cat >>confdefs.h <<_ACEOF
2023#define VERSION "$VERSION"
2024_ACEOF
2025
2026# Some tools Automake needs.
2027
2028ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2029
2030
2031AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2032
2033
2034AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2035
2036
2037AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2038
2039
2040MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2041
2042install_sh=${install_sh-"$am_aux_dir/install-sh"}
2043
2044# Installed binaries are usually stripped using `strip' when the user
2045# run `make install-strip'.  However `strip' might not be the right
2046# tool to use in cross-compilation environments, therefore Automake
2047# will honor the `STRIP' environment variable to overrule this program.
2048if test "$cross_compiling" != no; then
2049  if test -n "$ac_tool_prefix"; then
2050  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2051set dummy ${ac_tool_prefix}strip; ac_word=$2
2052{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2053echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054if test "${ac_cv_prog_STRIP+set}" = set; then
2055  echo $ECHO_N "(cached) $ECHO_C" >&6
2056else
2057  if test -n "$STRIP"; then
2058  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2059else
2060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061for as_dir in $PATH
2062do
2063  IFS=$as_save_IFS
2064  test -z "$as_dir" && as_dir=.
2065  for ac_exec_ext in '' $ac_executable_extensions; do
2066  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2068    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069    break 2
2070  fi
2071done
2072done
2073IFS=$as_save_IFS
2074
2075fi
2076fi
2077STRIP=$ac_cv_prog_STRIP
2078if test -n "$STRIP"; then
2079  { echo "$as_me:$LINENO: result: $STRIP" >&5
2080echo "${ECHO_T}$STRIP" >&6; }
2081else
2082  { echo "$as_me:$LINENO: result: no" >&5
2083echo "${ECHO_T}no" >&6; }
2084fi
2085
2086
2087fi
2088if test -z "$ac_cv_prog_STRIP"; then
2089  ac_ct_STRIP=$STRIP
2090  # Extract the first word of "strip", so it can be a program name with args.
2091set dummy strip; ac_word=$2
2092{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2093echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2094if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2095  echo $ECHO_N "(cached) $ECHO_C" >&6
2096else
2097  if test -n "$ac_ct_STRIP"; then
2098  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2099else
2100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101for as_dir in $PATH
2102do
2103  IFS=$as_save_IFS
2104  test -z "$as_dir" && as_dir=.
2105  for ac_exec_ext in '' $ac_executable_extensions; do
2106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2107    ac_cv_prog_ac_ct_STRIP="strip"
2108    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109    break 2
2110  fi
2111done
2112done
2113IFS=$as_save_IFS
2114
2115fi
2116fi
2117ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2118if test -n "$ac_ct_STRIP"; then
2119  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2120echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2121else
2122  { echo "$as_me:$LINENO: result: no" >&5
2123echo "${ECHO_T}no" >&6; }
2124fi
2125
2126  if test "x$ac_ct_STRIP" = x; then
2127    STRIP=":"
2128  else
2129    case $cross_compiling:$ac_tool_warned in
2130yes:)
2131{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2132whose name does not start with the host triplet.  If you think this
2133configuration is useful to you, please write to autoconf@gnu.org." >&5
2134echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2135whose name does not start with the host triplet.  If you think this
2136configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2137ac_tool_warned=yes ;;
2138esac
2139    STRIP=$ac_ct_STRIP
2140  fi
2141else
2142  STRIP="$ac_cv_prog_STRIP"
2143fi
2144
2145fi
2146INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2147
2148# We need awk for the "check" target.  The system "awk" is bad on
2149# some platforms.
2150# Always define AMTAR for backward compatibility.
2151
2152AMTAR=${AMTAR-"${am_missing_run}tar"}
2153
2154am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2155
2156
2157
2158
2159
2160ac_config_headers="$ac_config_headers config.h"
2161
2162
2163ac_ext=c
2164ac_cpp='$CPP $CPPFLAGS'
2165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167ac_compiler_gnu=$ac_cv_c_compiler_gnu
2168if test -n "$ac_tool_prefix"; then
2169  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2170set dummy ${ac_tool_prefix}gcc; ac_word=$2
2171{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2172echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2173if test "${ac_cv_prog_CC+set}" = set; then
2174  echo $ECHO_N "(cached) $ECHO_C" >&6
2175else
2176  if test -n "$CC"; then
2177  ac_cv_prog_CC="$CC" # Let the user override the test.
2178else
2179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180for as_dir in $PATH
2181do
2182  IFS=$as_save_IFS
2183  test -z "$as_dir" && as_dir=.
2184  for ac_exec_ext in '' $ac_executable_extensions; do
2185  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2187    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188    break 2
2189  fi
2190done
2191done
2192IFS=$as_save_IFS
2193
2194fi
2195fi
2196CC=$ac_cv_prog_CC
2197if test -n "$CC"; then
2198  { echo "$as_me:$LINENO: result: $CC" >&5
2199echo "${ECHO_T}$CC" >&6; }
2200else
2201  { echo "$as_me:$LINENO: result: no" >&5
2202echo "${ECHO_T}no" >&6; }
2203fi
2204
2205
2206fi
2207if test -z "$ac_cv_prog_CC"; then
2208  ac_ct_CC=$CC
2209  # Extract the first word of "gcc", so it can be a program name with args.
2210set dummy gcc; ac_word=$2
2211{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2212echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2213if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2214  echo $ECHO_N "(cached) $ECHO_C" >&6
2215else
2216  if test -n "$ac_ct_CC"; then
2217  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2218else
2219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220for as_dir in $PATH
2221do
2222  IFS=$as_save_IFS
2223  test -z "$as_dir" && as_dir=.
2224  for ac_exec_ext in '' $ac_executable_extensions; do
2225  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2226    ac_cv_prog_ac_ct_CC="gcc"
2227    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228    break 2
2229  fi
2230done
2231done
2232IFS=$as_save_IFS
2233
2234fi
2235fi
2236ac_ct_CC=$ac_cv_prog_ac_ct_CC
2237if test -n "$ac_ct_CC"; then
2238  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2239echo "${ECHO_T}$ac_ct_CC" >&6; }
2240else
2241  { echo "$as_me:$LINENO: result: no" >&5
2242echo "${ECHO_T}no" >&6; }
2243fi
2244
2245  if test "x$ac_ct_CC" = x; then
2246    CC=""
2247  else
2248    case $cross_compiling:$ac_tool_warned in
2249yes:)
2250{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2251whose name does not start with the host triplet.  If you think this
2252configuration is useful to you, please write to autoconf@gnu.org." >&5
2253echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2254whose name does not start with the host triplet.  If you think this
2255configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2256ac_tool_warned=yes ;;
2257esac
2258    CC=$ac_ct_CC
2259  fi
2260else
2261  CC="$ac_cv_prog_CC"
2262fi
2263
2264if test -z "$CC"; then
2265          if test -n "$ac_tool_prefix"; then
2266    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2267set dummy ${ac_tool_prefix}cc; ac_word=$2
2268{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2269echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270if test "${ac_cv_prog_CC+set}" = set; then
2271  echo $ECHO_N "(cached) $ECHO_C" >&6
2272else
2273  if test -n "$CC"; then
2274  ac_cv_prog_CC="$CC" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279  IFS=$as_save_IFS
2280  test -z "$as_dir" && as_dir=.
2281  for ac_exec_ext in '' $ac_executable_extensions; do
2282  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283    ac_cv_prog_CC="${ac_tool_prefix}cc"
2284    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285    break 2
2286  fi
2287done
2288done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293CC=$ac_cv_prog_CC
2294if test -n "$CC"; then
2295  { echo "$as_me:$LINENO: result: $CC" >&5
2296echo "${ECHO_T}$CC" >&6; }
2297else
2298  { echo "$as_me:$LINENO: result: no" >&5
2299echo "${ECHO_T}no" >&6; }
2300fi
2301
2302
2303  fi
2304fi
2305if test -z "$CC"; then
2306  # Extract the first word of "cc", so it can be a program name with args.
2307set dummy cc; ac_word=$2
2308{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2309echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310if test "${ac_cv_prog_CC+set}" = set; then
2311  echo $ECHO_N "(cached) $ECHO_C" >&6
2312else
2313  if test -n "$CC"; then
2314  ac_cv_prog_CC="$CC" # Let the user override the test.
2315else
2316  ac_prog_rejected=no
2317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318for as_dir in $PATH
2319do
2320  IFS=$as_save_IFS
2321  test -z "$as_dir" && as_dir=.
2322  for ac_exec_ext in '' $ac_executable_extensions; do
2323  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2325       ac_prog_rejected=yes
2326       continue
2327     fi
2328    ac_cv_prog_CC="cc"
2329    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330    break 2
2331  fi
2332done
2333done
2334IFS=$as_save_IFS
2335
2336if test $ac_prog_rejected = yes; then
2337  # We found a bogon in the path, so make sure we never use it.
2338  set dummy $ac_cv_prog_CC
2339  shift
2340  if test $# != 0; then
2341    # We chose a different compiler from the bogus one.
2342    # However, it has the same basename, so the bogon will be chosen
2343    # first if we set CC to just the basename; use the full file name.
2344    shift
2345    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2346  fi
2347fi
2348fi
2349fi
2350CC=$ac_cv_prog_CC
2351if test -n "$CC"; then
2352  { echo "$as_me:$LINENO: result: $CC" >&5
2353echo "${ECHO_T}$CC" >&6; }
2354else
2355  { echo "$as_me:$LINENO: result: no" >&5
2356echo "${ECHO_T}no" >&6; }
2357fi
2358
2359
2360fi
2361if test -z "$CC"; then
2362  if test -n "$ac_tool_prefix"; then
2363  for ac_prog in cl.exe
2364  do
2365    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2366set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2367{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2368echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2369if test "${ac_cv_prog_CC+set}" = set; then
2370  echo $ECHO_N "(cached) $ECHO_C" >&6
2371else
2372  if test -n "$CC"; then
2373  ac_cv_prog_CC="$CC" # Let the user override the test.
2374else
2375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376for as_dir in $PATH
2377do
2378  IFS=$as_save_IFS
2379  test -z "$as_dir" && as_dir=.
2380  for ac_exec_ext in '' $ac_executable_extensions; do
2381  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2382    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2383    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384    break 2
2385  fi
2386done
2387done
2388IFS=$as_save_IFS
2389
2390fi
2391fi
2392CC=$ac_cv_prog_CC
2393if test -n "$CC"; then
2394  { echo "$as_me:$LINENO: result: $CC" >&5
2395echo "${ECHO_T}$CC" >&6; }
2396else
2397  { echo "$as_me:$LINENO: result: no" >&5
2398echo "${ECHO_T}no" >&6; }
2399fi
2400
2401
2402    test -n "$CC" && break
2403  done
2404fi
2405if test -z "$CC"; then
2406  ac_ct_CC=$CC
2407  for ac_prog in cl.exe
2408do
2409  # Extract the first word of "$ac_prog", so it can be a program name with args.
2410set dummy $ac_prog; ac_word=$2
2411{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2412echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2413if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2414  echo $ECHO_N "(cached) $ECHO_C" >&6
2415else
2416  if test -n "$ac_ct_CC"; then
2417  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2418else
2419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420for as_dir in $PATH
2421do
2422  IFS=$as_save_IFS
2423  test -z "$as_dir" && as_dir=.
2424  for ac_exec_ext in '' $ac_executable_extensions; do
2425  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426    ac_cv_prog_ac_ct_CC="$ac_prog"
2427    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428    break 2
2429  fi
2430done
2431done
2432IFS=$as_save_IFS
2433
2434fi
2435fi
2436ac_ct_CC=$ac_cv_prog_ac_ct_CC
2437if test -n "$ac_ct_CC"; then
2438  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2439echo "${ECHO_T}$ac_ct_CC" >&6; }
2440else
2441  { echo "$as_me:$LINENO: result: no" >&5
2442echo "${ECHO_T}no" >&6; }
2443fi
2444
2445
2446  test -n "$ac_ct_CC" && break
2447done
2448
2449  if test "x$ac_ct_CC" = x; then
2450    CC=""
2451  else
2452    case $cross_compiling:$ac_tool_warned in
2453yes:)
2454{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2455whose name does not start with the host triplet.  If you think this
2456configuration is useful to you, please write to autoconf@gnu.org." >&5
2457echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2458whose name does not start with the host triplet.  If you think this
2459configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2460ac_tool_warned=yes ;;
2461esac
2462    CC=$ac_ct_CC
2463  fi
2464fi
2465
2466fi
2467
2468
2469test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2470See \`config.log' for more details." >&5
2471echo "$as_me: error: no acceptable C compiler found in \$PATH
2472See \`config.log' for more details." >&2;}
2473   { (exit 1); exit 1; }; }
2474
2475# Provide some information about the compiler.
2476echo "$as_me:$LINENO: checking for C compiler version" >&5
2477ac_compiler=`set X $ac_compile; echo $2`
2478{ (ac_try="$ac_compiler --version >&5"
2479case "(($ac_try" in
2480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481  *) ac_try_echo=$ac_try;;
2482esac
2483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484  (eval "$ac_compiler --version >&5") 2>&5
2485  ac_status=$?
2486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487  (exit $ac_status); }
2488{ (ac_try="$ac_compiler -v >&5"
2489case "(($ac_try" in
2490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2491  *) ac_try_echo=$ac_try;;
2492esac
2493eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2494  (eval "$ac_compiler -v >&5") 2>&5
2495  ac_status=$?
2496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497  (exit $ac_status); }
2498{ (ac_try="$ac_compiler -V >&5"
2499case "(($ac_try" in
2500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501  *) ac_try_echo=$ac_try;;
2502esac
2503eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504  (eval "$ac_compiler -V >&5") 2>&5
2505  ac_status=$?
2506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507  (exit $ac_status); }
2508
2509cat >conftest.$ac_ext <<_ACEOF
2510/* confdefs.h.  */
2511_ACEOF
2512cat confdefs.h >>conftest.$ac_ext
2513cat >>conftest.$ac_ext <<_ACEOF
2514/* end confdefs.h.  */
2515
2516int
2517main ()
2518{
2519
2520  ;
2521  return 0;
2522}
2523_ACEOF
2524ac_clean_files_save=$ac_clean_files
2525ac_clean_files="$ac_clean_files a.out a.exe b.out"
2526# Try to create an executable without -o first, disregard a.out.
2527# It will help us diagnose broken compilers, and finding out an intuition
2528# of exeext.
2529{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2530echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2531ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2532#
2533# List of possible output files, starting from the most likely.
2534# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2535# only as a last resort.  b.out is created by i960 compilers.
2536ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2537#
2538# The IRIX 6 linker writes into existing files which may not be
2539# executable, retaining their permissions.  Remove them first so a
2540# subsequent execution test works.
2541ac_rmfiles=
2542for ac_file in $ac_files
2543do
2544  case $ac_file in
2545    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2546    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2547  esac
2548done
2549rm -f $ac_rmfiles
2550
2551if { (ac_try="$ac_link_default"
2552case "(($ac_try" in
2553  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554  *) ac_try_echo=$ac_try;;
2555esac
2556eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2557  (eval "$ac_link_default") 2>&5
2558  ac_status=$?
2559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560  (exit $ac_status); }; then
2561  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2562# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2563# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2564# so that the user can short-circuit this test for compilers unknown to
2565# Autoconf.
2566for ac_file in $ac_files ''
2567do
2568  test -f "$ac_file" || continue
2569  case $ac_file in
2570    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2571  ;;
2572    [ab].out )
2573  # We found the default executable, but exeext='' is most
2574  # certainly right.
2575  break;;
2576    *.* )
2577        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2578  then :; else
2579     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2580  fi
2581  # We set ac_cv_exeext here because the later test for it is not
2582  # safe: cross compilers may not add the suffix if given an `-o'
2583  # argument, so we may need to know it at that point already.
2584  # Even if this section looks crufty: it has the advantage of
2585  # actually working.
2586  break;;
2587    * )
2588  break;;
2589  esac
2590done
2591test "$ac_cv_exeext" = no && ac_cv_exeext=
2592
2593else
2594  ac_file=''
2595fi
2596
2597{ echo "$as_me:$LINENO: result: $ac_file" >&5
2598echo "${ECHO_T}$ac_file" >&6; }
2599if test -z "$ac_file"; then
2600  echo "$as_me: failed program was:" >&5
2601sed 's/^/| /' conftest.$ac_ext >&5
2602
2603{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2604See \`config.log' for more details." >&5
2605echo "$as_me: error: C compiler cannot create executables
2606See \`config.log' for more details." >&2;}
2607   { (exit 77); exit 77; }; }
2608fi
2609
2610ac_exeext=$ac_cv_exeext
2611
2612# Check that the compiler produces executables we can run.  If not, either
2613# the compiler is broken, or we cross compile.
2614{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2615echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2616# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2617# If not cross compiling, check that we can run a simple program.
2618if test "$cross_compiling" != yes; then
2619  if { ac_try='./$ac_file'
2620  { (case "(($ac_try" in
2621  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622  *) ac_try_echo=$ac_try;;
2623esac
2624eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625  (eval "$ac_try") 2>&5
2626  ac_status=$?
2627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628  (exit $ac_status); }; }; then
2629    cross_compiling=no
2630  else
2631    if test "$cross_compiling" = maybe; then
2632  cross_compiling=yes
2633    else
2634  { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2635If you meant to cross compile, use \`--host'.
2636See \`config.log' for more details." >&5
2637echo "$as_me: error: cannot run C compiled programs.
2638If you meant to cross compile, use \`--host'.
2639See \`config.log' for more details." >&2;}
2640   { (exit 1); exit 1; }; }
2641    fi
2642  fi
2643fi
2644{ echo "$as_me:$LINENO: result: yes" >&5
2645echo "${ECHO_T}yes" >&6; }
2646
2647rm -f a.out a.exe conftest$ac_cv_exeext b.out
2648ac_clean_files=$ac_clean_files_save
2649# Check that the compiler produces executables we can run.  If not, either
2650# the compiler is broken, or we cross compile.
2651{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2652echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2653{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2654echo "${ECHO_T}$cross_compiling" >&6; }
2655
2656{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2657echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2658if { (ac_try="$ac_link"
2659case "(($ac_try" in
2660  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661  *) ac_try_echo=$ac_try;;
2662esac
2663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664  (eval "$ac_link") 2>&5
2665  ac_status=$?
2666  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667  (exit $ac_status); }; then
2668  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2669# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2670# work properly (i.e., refer to `conftest.exe'), while it won't with
2671# `rm'.
2672for ac_file in conftest.exe conftest conftest.*; do
2673  test -f "$ac_file" || continue
2674  case $ac_file in
2675    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2676    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2677    break;;
2678    * ) break;;
2679  esac
2680done
2681else
2682  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2683See \`config.log' for more details." >&5
2684echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2685See \`config.log' for more details." >&2;}
2686   { (exit 1); exit 1; }; }
2687fi
2688
2689rm -f conftest$ac_cv_exeext
2690{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2691echo "${ECHO_T}$ac_cv_exeext" >&6; }
2692
2693rm -f conftest.$ac_ext
2694EXEEXT=$ac_cv_exeext
2695ac_exeext=$EXEEXT
2696{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2697echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2698if test "${ac_cv_objext+set}" = set; then
2699  echo $ECHO_N "(cached) $ECHO_C" >&6
2700else
2701  cat >conftest.$ac_ext <<_ACEOF
2702/* confdefs.h.  */
2703_ACEOF
2704cat confdefs.h >>conftest.$ac_ext
2705cat >>conftest.$ac_ext <<_ACEOF
2706/* end confdefs.h.  */
2707
2708int
2709main ()
2710{
2711
2712  ;
2713  return 0;
2714}
2715_ACEOF
2716rm -f conftest.o conftest.obj
2717if { (ac_try="$ac_compile"
2718case "(($ac_try" in
2719  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720  *) ac_try_echo=$ac_try;;
2721esac
2722eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2723  (eval "$ac_compile") 2>&5
2724  ac_status=$?
2725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726  (exit $ac_status); }; then
2727  for ac_file in conftest.o conftest.obj conftest.*; do
2728  test -f "$ac_file" || continue;
2729  case $ac_file in
2730    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2731    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2732       break;;
2733  esac
2734done
2735else
2736  echo "$as_me: failed program was:" >&5
2737sed 's/^/| /' conftest.$ac_ext >&5
2738
2739{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2740See \`config.log' for more details." >&5
2741echo "$as_me: error: cannot compute suffix of object files: cannot compile
2742See \`config.log' for more details." >&2;}
2743   { (exit 1); exit 1; }; }
2744fi
2745
2746rm -f conftest.$ac_cv_objext conftest.$ac_ext
2747fi
2748{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2749echo "${ECHO_T}$ac_cv_objext" >&6; }
2750OBJEXT=$ac_cv_objext
2751ac_objext=$OBJEXT
2752{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2753echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2754if test "${ac_cv_c_compiler_gnu+set}" = set; then
2755  echo $ECHO_N "(cached) $ECHO_C" >&6
2756else
2757  cat >conftest.$ac_ext <<_ACEOF
2758/* confdefs.h.  */
2759_ACEOF
2760cat confdefs.h >>conftest.$ac_ext
2761cat >>conftest.$ac_ext <<_ACEOF
2762/* end confdefs.h.  */
2763
2764int
2765main ()
2766{
2767#ifndef __GNUC__
2768       choke me
2769#endif
2770
2771  ;
2772  return 0;
2773}
2774_ACEOF
2775rm -f conftest.$ac_objext
2776if { (ac_try="$ac_compile"
2777case "(($ac_try" in
2778  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779  *) ac_try_echo=$ac_try;;
2780esac
2781eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782  (eval "$ac_compile") 2>conftest.er1
2783  ac_status=$?
2784  grep -v '^ *+' conftest.er1 >conftest.err
2785  rm -f conftest.er1
2786  cat conftest.err >&5
2787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788  (exit $ac_status); } && {
2789   test -z "$ac_c_werror_flag" ||
2790   test ! -s conftest.err
2791       } && test -s conftest.$ac_objext; then
2792  ac_compiler_gnu=yes
2793else
2794  echo "$as_me: failed program was:" >&5
2795sed 's/^/| /' conftest.$ac_ext >&5
2796
2797  ac_compiler_gnu=no
2798fi
2799
2800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801ac_cv_c_compiler_gnu=$ac_compiler_gnu
2802
2803fi
2804{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2805echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2806GCC=`test $ac_compiler_gnu = yes && echo yes`
2807ac_test_CFLAGS=${CFLAGS+set}
2808ac_save_CFLAGS=$CFLAGS
2809{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2810echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2811if test "${ac_cv_prog_cc_g+set}" = set; then
2812  echo $ECHO_N "(cached) $ECHO_C" >&6
2813else
2814  ac_save_c_werror_flag=$ac_c_werror_flag
2815   ac_c_werror_flag=yes
2816   ac_cv_prog_cc_g=no
2817   CFLAGS="-g"
2818   cat >conftest.$ac_ext <<_ACEOF
2819/* confdefs.h.  */
2820_ACEOF
2821cat confdefs.h >>conftest.$ac_ext
2822cat >>conftest.$ac_ext <<_ACEOF
2823/* end confdefs.h.  */
2824
2825int
2826main ()
2827{
2828
2829  ;
2830  return 0;
2831}
2832_ACEOF
2833rm -f conftest.$ac_objext
2834if { (ac_try="$ac_compile"
2835case "(($ac_try" in
2836  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837  *) ac_try_echo=$ac_try;;
2838esac
2839eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840  (eval "$ac_compile") 2>conftest.er1
2841  ac_status=$?
2842  grep -v '^ *+' conftest.er1 >conftest.err
2843  rm -f conftest.er1
2844  cat conftest.err >&5
2845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846  (exit $ac_status); } && {
2847   test -z "$ac_c_werror_flag" ||
2848   test ! -s conftest.err
2849       } && test -s conftest.$ac_objext; then
2850  ac_cv_prog_cc_g=yes
2851else
2852  echo "$as_me: failed program was:" >&5
2853sed 's/^/| /' conftest.$ac_ext >&5
2854
2855  CFLAGS=""
2856      cat >conftest.$ac_ext <<_ACEOF
2857/* confdefs.h.  */
2858_ACEOF
2859cat confdefs.h >>conftest.$ac_ext
2860cat >>conftest.$ac_ext <<_ACEOF
2861/* end confdefs.h.  */
2862
2863int
2864main ()
2865{
2866
2867  ;
2868  return 0;
2869}
2870_ACEOF
2871rm -f conftest.$ac_objext
2872if { (ac_try="$ac_compile"
2873case "(($ac_try" in
2874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875  *) ac_try_echo=$ac_try;;
2876esac
2877eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878  (eval "$ac_compile") 2>conftest.er1
2879  ac_status=$?
2880  grep -v '^ *+' conftest.er1 >conftest.err
2881  rm -f conftest.er1
2882  cat conftest.err >&5
2883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884  (exit $ac_status); } && {
2885   test -z "$ac_c_werror_flag" ||
2886   test ! -s conftest.err
2887       } && test -s conftest.$ac_objext; then
2888  :
2889else
2890  echo "$as_me: failed program was:" >&5
2891sed 's/^/| /' conftest.$ac_ext >&5
2892
2893  ac_c_werror_flag=$ac_save_c_werror_flag
2894   CFLAGS="-g"
2895   cat >conftest.$ac_ext <<_ACEOF
2896/* confdefs.h.  */
2897_ACEOF
2898cat confdefs.h >>conftest.$ac_ext
2899cat >>conftest.$ac_ext <<_ACEOF
2900/* end confdefs.h.  */
2901
2902int
2903main ()
2904{
2905
2906  ;
2907  return 0;
2908}
2909_ACEOF
2910rm -f conftest.$ac_objext
2911if { (ac_try="$ac_compile"
2912case "(($ac_try" in
2913  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914  *) ac_try_echo=$ac_try;;
2915esac
2916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917  (eval "$ac_compile") 2>conftest.er1
2918  ac_status=$?
2919  grep -v '^ *+' conftest.er1 >conftest.err
2920  rm -f conftest.er1
2921  cat conftest.err >&5
2922  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923  (exit $ac_status); } && {
2924   test -z "$ac_c_werror_flag" ||
2925   test ! -s conftest.err
2926       } && test -s conftest.$ac_objext; then
2927  ac_cv_prog_cc_g=yes
2928else
2929  echo "$as_me: failed program was:" >&5
2930sed 's/^/| /' conftest.$ac_ext >&5
2931
2932
2933fi
2934
2935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936fi
2937
2938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939fi
2940
2941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942   ac_c_werror_flag=$ac_save_c_werror_flag
2943fi
2944{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2945echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2946if test "$ac_test_CFLAGS" = set; then
2947  CFLAGS=$ac_save_CFLAGS
2948elif test $ac_cv_prog_cc_g = yes; then
2949  if test "$GCC" = yes; then
2950    CFLAGS="-g -O2"
2951  else
2952    CFLAGS="-g"
2953  fi
2954else
2955  if test "$GCC" = yes; then
2956    CFLAGS="-O2"
2957  else
2958    CFLAGS=
2959  fi
2960fi
2961{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2962echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2963if test "${ac_cv_prog_cc_c89+set}" = set; then
2964  echo $ECHO_N "(cached) $ECHO_C" >&6
2965else
2966  ac_cv_prog_cc_c89=no
2967ac_save_CC=$CC
2968cat >conftest.$ac_ext <<_ACEOF
2969/* confdefs.h.  */
2970_ACEOF
2971cat confdefs.h >>conftest.$ac_ext
2972cat >>conftest.$ac_ext <<_ACEOF
2973/* end confdefs.h.  */
2974#include <stdarg.h>
2975#include <stdio.h>
2976#include <sys/types.h>
2977#include <sys/stat.h>
2978/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2979struct buf { int x; };
2980FILE * (*rcsopen) (struct buf *, struct stat *, int);
2981static char *e (p, i)
2982     char **p;
2983     int i;
2984{
2985  return p[i];
2986}
2987static char *f (char * (*g) (char **, int), char **p, ...)
2988{
2989  char *s;
2990  va_list v;
2991  va_start (v,p);
2992  s = g (p, va_arg (v,int));
2993  va_end (v);
2994  return s;
2995}
2996
2997/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2998   function prototypes and stuff, but not '\xHH' hex character constants.
2999   These don't provoke an error unfortunately, instead are silently treated
3000   as 'x'.  The following induces an error, until -std is added to get
3001   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3002   array size at least.  It's necessary to write '\x00'==0 to get something
3003   that's true only with -std.  */
3004int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3005
3006/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3007   inside strings and character constants.  */
3008#define FOO(x) 'x'
3009int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3010
3011int test (int i, double x);
3012struct s1 {int (*f) (int a);};
3013struct s2 {int (*f) (double a);};
3014int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3015int argc;
3016char **argv;
3017int
3018main ()
3019{
3020return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3021  ;
3022  return 0;
3023}
3024_ACEOF
3025for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3026  -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3027do
3028  CC="$ac_save_CC $ac_arg"
3029  rm -f conftest.$ac_objext
3030if { (ac_try="$ac_compile"
3031case "(($ac_try" in
3032  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033  *) ac_try_echo=$ac_try;;
3034esac
3035eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3036  (eval "$ac_compile") 2>conftest.er1
3037  ac_status=$?
3038  grep -v '^ *+' conftest.er1 >conftest.err
3039  rm -f conftest.er1
3040  cat conftest.err >&5
3041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042  (exit $ac_status); } && {
3043   test -z "$ac_c_werror_flag" ||
3044   test ! -s conftest.err
3045       } && test -s conftest.$ac_objext; then
3046  ac_cv_prog_cc_c89=$ac_arg
3047else
3048  echo "$as_me: failed program was:" >&5
3049sed 's/^/| /' conftest.$ac_ext >&5
3050
3051
3052fi
3053
3054rm -f core conftest.err conftest.$ac_objext
3055  test "x$ac_cv_prog_cc_c89" != "xno" && break
3056done
3057rm -f conftest.$ac_ext
3058CC=$ac_save_CC
3059
3060fi
3061# AC_CACHE_VAL
3062case "x$ac_cv_prog_cc_c89" in
3063  x)
3064    { echo "$as_me:$LINENO: result: none needed" >&5
3065echo "${ECHO_T}none needed" >&6; } ;;
3066  xno)
3067    { echo "$as_me:$LINENO: result: unsupported" >&5
3068echo "${ECHO_T}unsupported" >&6; } ;;
3069  *)
3070    CC="$CC $ac_cv_prog_cc_c89"
3071    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3072echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3073esac
3074
3075
3076ac_ext=c
3077ac_cpp='$CPP $CPPFLAGS'
3078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3080ac_compiler_gnu=$ac_cv_c_compiler_gnu
3081DEPDIR="${am__leading_dot}deps"
3082
3083ac_config_commands="$ac_config_commands depfiles"
3084
3085
3086am_make=${MAKE-make}
3087cat > confinc << 'END'
3088am__doit:
3089  @echo done
3090.PHONY: am__doit
3091END
3092# If we don't find an include directive, just comment out the code.
3093{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3094echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3095am__include="#"
3096am__quote=
3097_am_result=none
3098# First try GNU make style include.
3099echo "include confinc" > confmf
3100# We grep out `Entering directory' and `Leaving directory'
3101# messages which can occur if `w' ends up in MAKEFLAGS.
3102# In particular we don't look at `^make:' because GNU make might
3103# be invoked under some other name (usually "gmake"), in which
3104# case it prints its new name instead of `make'.
3105if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3106   am__include=include
3107   am__quote=
3108   _am_result=GNU
3109fi
3110# Now try BSD make style include.
3111if test "$am__include" = "#"; then
3112   echo '.include "confinc"' > confmf
3113   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3114      am__include=.include
3115      am__quote="\""
3116      _am_result=BSD
3117   fi
3118fi
3119
3120
3121{ echo "$as_me:$LINENO: result: $_am_result" >&5
3122echo "${ECHO_T}$_am_result" >&6; }
3123rm -f confinc confmf
3124
3125# Check whether --enable-dependency-tracking was given.
3126if test "${enable_dependency_tracking+set}" = set; then
3127  enableval=$enable_dependency_tracking;
3128fi
3129
3130if test "x$enable_dependency_tracking" != xno; then
3131  am_depcomp="$ac_aux_dir/depcomp"
3132  AMDEPBACKSLASH='\'
3133fi
3134
3135
3136if test "x$enable_dependency_tracking" != xno; then
3137  AMDEP_TRUE=
3138  AMDEP_FALSE='#'
3139else
3140  AMDEP_TRUE='#'
3141  AMDEP_FALSE=
3142fi
3143
3144
3145
3146
3147depcc="$CC"   am_compiler_list=
3148
3149{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3150echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3151if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3152  echo $ECHO_N "(cached) $ECHO_C" >&6
3153else
3154  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3155  # We make a subdir and do the tests there.  Otherwise we can end up
3156  # making bogus files that we don't know about and never remove.  For
3157  # instance it was reported that on HP-UX the gcc test will end up
3158  # making a dummy file named `D' -- because `-MD' means `put the output
3159  # in D'.
3160  mkdir conftest.dir
3161  # Copy depcomp to subdir because otherwise we won't find it if we're
3162  # using a relative directory.
3163  cp "$am_depcomp" conftest.dir
3164  cd conftest.dir
3165  # We will build objects and dependencies in a subdirectory because
3166  # it helps to detect inapplicable dependency modes.  For instance
3167  # both Tru64's cc and ICC support -MD to output dependencies as a
3168  # side effect of compilation, but ICC will put the dependencies in
3169  # the current directory while Tru64 will put them in the object
3170  # directory.
3171  mkdir sub
3172
3173  am_cv_CC_dependencies_compiler_type=none
3174  if test "$am_compiler_list" = ""; then
3175     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3176  fi
3177  for depmode in $am_compiler_list; do
3178    # Setup a source with many dependencies, because some compilers
3179    # like to wrap large dependency lists on column 80 (with \), and
3180    # we should not choose a depcomp mode which is confused by this.
3181    #
3182    # We need to recreate these files for each test, as the compiler may
3183    # overwrite some of them when testing with obscure command lines.
3184    # This happens at least with the AIX C compiler.
3185    : > sub/conftest.c
3186    for i in 1 2 3 4 5 6; do
3187      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3188      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3189      # Solaris 8's {/usr,}/bin/sh.
3190      touch sub/conftst$i.h
3191    done
3192    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3193
3194    case $depmode in
3195    nosideeffect)
3196      # after this tag, mechanisms are not by side-effect, so they'll
3197      # only be used when explicitly requested
3198      if test "x$enable_dependency_tracking" = xyes; then
3199  continue
3200      else
3201  break
3202      fi
3203      ;;
3204    none) break ;;
3205    esac
3206    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3207    # mode.  It turns out that the SunPro C++ compiler does not properly
3208    # handle `-M -o', and we need to detect this.
3209    if depmode=$depmode \
3210       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3211       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3212       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3213         >/dev/null 2>conftest.err &&
3214       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3215       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3216       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3217      # icc doesn't choke on unknown options, it will just issue warnings
3218      # or remarks (even with -Werror).  So we grep stderr for any message
3219      # that says an option was ignored or not supported.
3220      # When given -MP, icc 7.0 and 7.1 complain thusly:
3221      #   icc: Command line warning: ignoring option '-M'; no argument required
3222      # The diagnosis changed in icc 8.0:
3223      #   icc: Command line remark: option '-MP' not supported
3224      if (grep 'ignoring option' conftest.err ||
3225          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3226        am_cv_CC_dependencies_compiler_type=$depmode
3227        break
3228      fi
3229    fi
3230  done
3231
3232  cd ..
3233  rm -rf conftest.dir
3234else
3235  am_cv_CC_dependencies_compiler_type=none
3236fi
3237
3238fi
3239{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3240echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3241CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3242
3243
3244
3245if
3246  test "x$enable_dependency_tracking" != xno \
3247  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3248  am__fastdepCC_TRUE=
3249  am__fastdepCC_FALSE='#'
3250else
3251  am__fastdepCC_TRUE='#'
3252  am__fastdepCC_FALSE=
3253fi
3254
3255
3256if test "x$CC" != xcc; then
3257  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3258echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3259else
3260  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3261echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3262fi
3263set dummy $CC; ac_cc=`echo $2 |
3264          sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3265if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3266  echo $ECHO_N "(cached) $ECHO_C" >&6
3267else
3268  cat >conftest.$ac_ext <<_ACEOF
3269/* confdefs.h.  */
3270_ACEOF
3271cat confdefs.h >>conftest.$ac_ext
3272cat >>conftest.$ac_ext <<_ACEOF
3273/* end confdefs.h.  */
3274
3275int
3276main ()
3277{
3278
3279  ;
3280  return 0;
3281}
3282_ACEOF
3283# Make sure it works both with $CC and with simple cc.
3284# We do the test twice because some compilers refuse to overwrite an
3285# existing .o file with -o, though they will create one.
3286ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3287rm -f conftest2.*
3288if { (case "(($ac_try" in
3289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290  *) ac_try_echo=$ac_try;;
3291esac
3292eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293  (eval "$ac_try") 2>&5
3294  ac_status=$?
3295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296  (exit $ac_status); } &&
3297   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299  *) ac_try_echo=$ac_try;;
3300esac
3301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3302  (eval "$ac_try") 2>&5
3303  ac_status=$?
3304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305  (exit $ac_status); };
3306then
3307  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3308  if test "x$CC" != xcc; then
3309    # Test first that cc exists at all.
3310    if { ac_try='cc -c conftest.$ac_ext >&5'
3311  { (case "(($ac_try" in
3312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313  *) ac_try_echo=$ac_try;;
3314esac
3315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316  (eval "$ac_try") 2>&5
3317  ac_status=$?
3318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319  (exit $ac_status); }; }; then
3320      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3321      rm -f conftest2.*
3322      if { (case "(($ac_try" in
3323  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324  *) ac_try_echo=$ac_try;;
3325esac
3326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327  (eval "$ac_try") 2>&5
3328  ac_status=$?
3329  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330  (exit $ac_status); } &&
3331   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3332  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333  *) ac_try_echo=$ac_try;;
3334esac
3335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336  (eval "$ac_try") 2>&5
3337  ac_status=$?
3338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339  (exit $ac_status); };
3340      then
3341  # cc works too.
3342  :
3343      else
3344  # cc exists but doesn't like -o.
3345  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3346      fi
3347    fi
3348  fi
3349else
3350  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3351fi
3352rm -f core conftest*
3353
3354fi
3355if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3356  { echo "$as_me:$LINENO: result: yes" >&5
3357echo "${ECHO_T}yes" >&6; }
3358else
3359  { echo "$as_me:$LINENO: result: no" >&5
3360echo "${ECHO_T}no" >&6; }
3361
3362cat >>confdefs.h <<\_ACEOF
3363#define NO_MINUS_C_MINUS_O 1
3364_ACEOF
3365
3366fi
3367
3368# FIXME: we rely on the cache variable name because
3369# there is no other way.
3370set dummy $CC
3371ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3372if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3373   # Losing compiler, so override with the script.
3374   # FIXME: It is wrong to rewrite CC.
3375   # But if we don't then we get into trouble of one sort or another.
3376   # A longer-term fix would be to have automake use am__CC in this case,
3377   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3378   CC="$am_aux_dir/compile $CC"
3379fi
3380
3381CFLAGS="$CFLAGS -Wall -W"
3382LIBS=
3383
3384{ echo "$as_me:$LINENO: checking for library containing dlsym" >&5
3385echo $ECHO_N "checking for library containing dlsym... $ECHO_C" >&6; }
3386if test "${ac_cv_search_dlsym+set}" = set; then
3387  echo $ECHO_N "(cached) $ECHO_C" >&6
3388else
3389  ac_func_search_save_LIBS=$LIBS
3390cat >conftest.$ac_ext <<_ACEOF
3391/* confdefs.h.  */
3392_ACEOF
3393cat confdefs.h >>conftest.$ac_ext
3394cat >>conftest.$ac_ext <<_ACEOF
3395/* end confdefs.h.  */
3396
3397/* Override any GCC internal prototype to avoid an error.
3398   Use char because int might match the return type of a GCC
3399   builtin and then its argument prototype would still apply.  */
3400#ifdef __cplusplus
3401extern "C"
3402#endif
3403char dlsym ();
3404int
3405main ()
3406{
3407return dlsym ();
3408  ;
3409  return 0;
3410}
3411_ACEOF
3412for ac_lib in '' dl; do
3413  if test -z "$ac_lib"; then
3414    ac_res="none required"
3415  else
3416    ac_res=-l$ac_lib
3417    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3418  fi
3419  rm -f conftest.$ac_objext conftest$ac_exeext
3420if { (ac_try="$ac_link"
3421case "(($ac_try" in
3422  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423  *) ac_try_echo=$ac_try;;
3424esac
3425eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426  (eval "$ac_link") 2>conftest.er1
3427  ac_status=$?
3428  grep -v '^ *+' conftest.er1 >conftest.err
3429  rm -f conftest.er1
3430  cat conftest.err >&5
3431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432  (exit $ac_status); } && {
3433   test -z "$ac_c_werror_flag" ||
3434   test ! -s conftest.err
3435       } && test -s conftest$ac_exeext &&
3436       $as_test_x conftest$ac_exeext; then
3437  ac_cv_search_dlsym=$ac_res
3438else
3439  echo "$as_me: failed program was:" >&5
3440sed 's/^/| /' conftest.$ac_ext >&5
3441
3442
3443fi
3444
3445rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3446      conftest$ac_exeext
3447  if test "${ac_cv_search_dlsym+set}" = set; then
3448  break
3449fi
3450done
3451if test "${ac_cv_search_dlsym+set}" = set; then
3452  :
3453else
3454  ac_cv_search_dlsym=no
3455fi
3456rm conftest.$ac_ext
3457LIBS=$ac_func_search_save_LIBS
3458fi
3459{ echo "$as_me:$LINENO: result: $ac_cv_search_dlsym" >&5
3460echo "${ECHO_T}$ac_cv_search_dlsym" >&6; }
3461ac_res=$ac_cv_search_dlsym
3462if test "$ac_res" != no; then
3463  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3464
3465fi
3466
3467sshnodelay_libs=$LIBS
3468
3469LIBS=
3470
3471# Check whether --enable-sshnodelay was given.
3472if test "${enable_sshnodelay+set}" = set; then
3473  enableval=$enable_sshnodelay;
3474fi
3475
3476
3477if test -z "$enable_sshnodelay"; then
3478  { echo "$as_me:$LINENO: checking OpenSSH version" >&5
3479echo $ECHO_N "checking OpenSSH version... $ECHO_C" >&6; }
3480  eval `ssh -V 2>&1 | sed -n 's/^OpenSSH_\([1-9][0-9]*\)\.\([0-9][0-9]*\).*/ssh_major=\1 ssh_minor=\2/p'`
3481  if test "x$ssh_major" != x -a "x$ssh_minor" != x; then
3482    if test $ssh_major -gt 4 -o \( $ssh_major = 4 -a $ssh_minor -ge 4 \); then
3483      { echo "$as_me:$LINENO: result: $ssh_major.$ssh_minor >= 4.4, disabling NODELAY workaround" >&5
3484echo "${ECHO_T}$ssh_major.$ssh_minor >= 4.4, disabling NODELAY workaround" >&6; }
3485      enable_sshnodelay=no
3486    else
3487      { echo "$as_me:$LINENO: result: $ssh_major.$ssh_minor < 4.4, enabling NODELAY workaround" >&5
3488echo "${ECHO_T}$ssh_major.$ssh_minor < 4.4, enabling NODELAY workaround" >&6; }
3489      enable_sshnodelay=yes
3490    fi
3491  else
3492    { echo "$as_me:$LINENO: result: not found" >&5
3493echo "${ECHO_T}not found" >&6; }
3494  fi
3495fi
3496
3497if test "$enable_sshnodelay" != "no"; then
3498
3499cat >>confdefs.h <<\_ACEOF
3500#define SSH_NODELAY_WORKAROUND 1
3501_ACEOF
3502
3503fi
3504
3505
3506
3507if test "$enable_sshnodelay" != "no"; then
3508  SSH_NODELAY_SO_TRUE=
3509  SSH_NODELAY_SO_FALSE='#'
3510else
3511  SSH_NODELAY_SO_TRUE='#'
3512  SSH_NODELAY_SO_FALSE=
3513fi
3514
3515
3516export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
3517
3518
3519if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3520  if test -n "$ac_tool_prefix"; then
3521  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3522set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3523{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3524echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3525if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3526  echo $ECHO_N "(cached) $ECHO_C" >&6
3527else
3528  case $PKG_CONFIG in
3529  [\\/]* | ?:[\\/]*)
3530  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3531  ;;
3532  *)
3533  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534for as_dir in $PATH
3535do
3536  IFS=$as_save_IFS
3537  test -z "$as_dir" && as_dir=.
3538  for ac_exec_ext in '' $ac_executable_extensions; do
3539  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3541    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542    break 2
3543  fi
3544done
3545done
3546IFS=$as_save_IFS
3547
3548  ;;
3549esac
3550fi
3551PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3552if test -n "$PKG_CONFIG"; then
3553  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3554echo "${ECHO_T}$PKG_CONFIG" >&6; }
3555else
3556  { echo "$as_me:$LINENO: result: no" >&5
3557echo "${ECHO_T}no" >&6; }
3558fi
3559
3560
3561fi
3562if test -z "$ac_cv_path_PKG_CONFIG"; then
3563  ac_pt_PKG_CONFIG=$PKG_CONFIG
3564  # Extract the first word of "pkg-config", so it can be a program name with args.
3565set dummy pkg-config; ac_word=$2
3566{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3567echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3568if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3569  echo $ECHO_N "(cached) $ECHO_C" >&6
3570else
3571  case $ac_pt_PKG_CONFIG in
3572  [\\/]* | ?:[\\/]*)
3573  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3574  ;;
3575  *)
3576  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577for as_dir in $PATH
3578do
3579  IFS=$as_save_IFS
3580  test -z "$as_dir" && as_dir=.
3581  for ac_exec_ext in '' $ac_executable_extensions; do
3582  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3584    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3585    break 2
3586  fi
3587done
3588done
3589IFS=$as_save_IFS
3590
3591  ;;
3592esac
3593fi
3594ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3595if test -n "$ac_pt_PKG_CONFIG"; then
3596  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3597echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3598else
3599  { echo "$as_me:$LINENO: result: no" >&5
3600echo "${ECHO_T}no" >&6; }
3601fi
3602
3603  if test "x$ac_pt_PKG_CONFIG" = x; then
3604    PKG_CONFIG=""
3605  else
3606    case $cross_compiling:$ac_tool_warned in
3607yes:)
3608{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3609whose name does not start with the host triplet.  If you think this
3610configuration is useful to you, please write to autoconf@gnu.org." >&5
3611echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3612whose name does not start with the host triplet.  If you think this
3613configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3614ac_tool_warned=yes ;;
3615esac
3616    PKG_CONFIG=$ac_pt_PKG_CONFIG
3617  fi
3618else
3619  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3620fi
3621
3622fi
3623if test -n "$PKG_CONFIG"; then
3624  _pkg_min_version=0.9.0
3625  { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3626echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3627  if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3628    { echo "$as_me:$LINENO: result: yes" >&5
3629echo "${ECHO_T}yes" >&6; }
3630  else
3631    { echo "$as_me:$LINENO: result: no" >&5
3632echo "${ECHO_T}no" >&6; }
3633    PKG_CONFIG=""
3634  fi
3635
3636fi
3637
3638pkg_failed=no
3639{ echo "$as_me:$LINENO: checking for SSHFS" >&5
3640echo $ECHO_N "checking for SSHFS... $ECHO_C" >&6; }
3641
3642if test -n "$PKG_CONFIG"; then
3643    if test -n "$SSHFS_CFLAGS"; then
3644        pkg_cv_SSHFS_CFLAGS="$SSHFS_CFLAGS"
3645    else
3646        if test -n "$PKG_CONFIG" && \
3647    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.2 glib-2.0 gthread-2.0\"") >&5
3648  ($PKG_CONFIG --exists --print-errors "fuse >= 2.2 glib-2.0 gthread-2.0") 2>&5
3649  ac_status=$?
3650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651  (exit $ac_status); }; then
3652  pkg_cv_SSHFS_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.2 glib-2.0 gthread-2.0" 2>/dev/null`
3653else
3654  pkg_failed=yes
3655fi
3656    fi
3657else
3658  pkg_failed=untried
3659fi
3660if test -n "$PKG_CONFIG"; then
3661    if test -n "$SSHFS_LIBS"; then
3662        pkg_cv_SSHFS_LIBS="$SSHFS_LIBS"
3663    else
3664        if test -n "$PKG_CONFIG" && \
3665    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.2 glib-2.0 gthread-2.0\"") >&5
3666  ($PKG_CONFIG --exists --print-errors "fuse >= 2.2 glib-2.0 gthread-2.0") 2>&5
3667  ac_status=$?
3668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669  (exit $ac_status); }; then
3670  pkg_cv_SSHFS_LIBS=`$PKG_CONFIG --libs "fuse >= 2.2 glib-2.0 gthread-2.0" 2>/dev/null`
3671else
3672  pkg_failed=yes
3673fi
3674    fi
3675else
3676  pkg_failed=untried
3677fi
3678
3679
3680
3681if test $pkg_failed = yes; then
3682
3683if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3684        _pkg_short_errors_supported=yes
3685else
3686        _pkg_short_errors_supported=no
3687fi
3688        if test $_pkg_short_errors_supported = yes; then
3689          SSHFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fuse >= 2.2 glib-2.0 gthread-2.0"`
3690        else
3691          SSHFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fuse >= 2.2 glib-2.0 gthread-2.0"`
3692        fi
3693  # Put the nasty error message in config.log where it belongs
3694  echo "$SSHFS_PKG_ERRORS" >&5
3695
3696  { { echo "$as_me:$LINENO: error: Package requirements (fuse >= 2.2 glib-2.0 gthread-2.0) were not met:
3697
3698$SSHFS_PKG_ERRORS
3699
3700Consider adjusting the PKG_CONFIG_PATH environment variable if you
3701installed software in a non-standard prefix.
3702
3703Alternatively, you may set the environment variables SSHFS_CFLAGS
3704and SSHFS_LIBS to avoid the need to call pkg-config.
3705See the pkg-config man page for more details.
3706" >&5
3707echo "$as_me: error: Package requirements (fuse >= 2.2 glib-2.0 gthread-2.0) were not met:
3708
3709$SSHFS_PKG_ERRORS
3710
3711Consider adjusting the PKG_CONFIG_PATH environment variable if you
3712installed software in a non-standard prefix.
3713
3714Alternatively, you may set the environment variables SSHFS_CFLAGS
3715and SSHFS_LIBS to avoid the need to call pkg-config.
3716See the pkg-config man page for more details.
3717" >&2;}
3718   { (exit 1); exit 1; }; }
3719elif test $pkg_failed = untried; then
3720  { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3721is in your PATH or set the PKG_CONFIG environment variable to the full
3722path to pkg-config.
3723
3724Alternatively, you may set the environment variables SSHFS_CFLAGS
3725and SSHFS_LIBS to avoid the need to call pkg-config.
3726See the pkg-config man page for more details.
3727
3728To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3729See \`config.log' for more details." >&5
3730echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3731is in your PATH or set the PKG_CONFIG environment variable to the full
3732path to pkg-config.
3733
3734Alternatively, you may set the environment variables SSHFS_CFLAGS
3735and SSHFS_LIBS to avoid the need to call pkg-config.
3736See the pkg-config man page for more details.
3737
3738To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3739See \`config.log' for more details." >&2;}
3740   { (exit 1); exit 1; }; }
3741else
3742  SSHFS_CFLAGS=$pkg_cv_SSHFS_CFLAGS
3743  SSHFS_LIBS=$pkg_cv_SSHFS_LIBS
3744        { echo "$as_me:$LINENO: result: yes" >&5
3745echo "${ECHO_T}yes" >&6; }
3746  :
3747fi
3748have_fuse_opt_parse=no
3749oldlibs="$LIBS"
3750LIBS="$LIBS $SSHFS_LIBS"
3751{ echo "$as_me:$LINENO: checking for fuse_opt_parse" >&5
3752echo $ECHO_N "checking for fuse_opt_parse... $ECHO_C" >&6; }
3753if test "${ac_cv_func_fuse_opt_parse+set}" = set; then
3754  echo $ECHO_N "(cached) $ECHO_C" >&6
3755else
3756  cat >conftest.$ac_ext <<_ACEOF
3757/* confdefs.h.  */
3758_ACEOF
3759cat confdefs.h >>conftest.$ac_ext
3760cat >>conftest.$ac_ext <<_ACEOF
3761/* end confdefs.h.  */
3762/* Define fuse_opt_parse to an innocuous variant, in case <limits.h> declares fuse_opt_parse.
3763   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3764#define fuse_opt_parse innocuous_fuse_opt_parse
3765
3766/* System header to define __stub macros and hopefully few prototypes,
3767    which can conflict with char fuse_opt_parse (); below.
3768    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3769    <limits.h> exists even on freestanding compilers.  */
3770
3771#ifdef __STDC__
3772# include <limits.h>
3773#else
3774# include <assert.h>
3775#endif
3776
3777#undef fuse_opt_parse
3778
3779/* Override any GCC internal prototype to avoid an error.
3780   Use char because int might match the return type of a GCC
3781   builtin and then its argument prototype would still apply.  */
3782#ifdef __cplusplus
3783extern "C"
3784#endif
3785char fuse_opt_parse ();
3786/* The GNU C library defines this for functions which it implements
3787    to always fail with ENOSYS.  Some functions are actually named
3788    something starting with __ and the normal name is an alias.  */
3789#if defined __stub_fuse_opt_parse || defined __stub___fuse_opt_parse
3790choke me
3791#endif
3792
3793int
3794main ()
3795{
3796return fuse_opt_parse ();
3797  ;
3798  return 0;
3799}
3800_ACEOF
3801rm -f conftest.$ac_objext conftest$ac_exeext
3802if { (ac_try="$ac_link"
3803case "(($ac_try" in
3804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805  *) ac_try_echo=$ac_try;;
3806esac
3807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3808  (eval "$ac_link") 2>conftest.er1
3809  ac_status=$?
3810  grep -v '^ *+' conftest.er1 >conftest.err
3811  rm -f conftest.er1
3812  cat conftest.err >&5
3813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814  (exit $ac_status); } && {
3815   test -z "$ac_c_werror_flag" ||
3816   test ! -s conftest.err
3817       } && test -s conftest$ac_exeext &&
3818       $as_test_x conftest$ac_exeext; then
3819  ac_cv_func_fuse_opt_parse=yes
3820else
3821  echo "$as_me: failed program was:" >&5
3822sed 's/^/| /' conftest.$ac_ext >&5
3823
3824  ac_cv_func_fuse_opt_parse=no
3825fi
3826
3827rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3828      conftest$ac_exeext conftest.$ac_ext
3829fi
3830{ echo "$as_me:$LINENO: result: $ac_cv_func_fuse_opt_parse" >&5
3831echo "${ECHO_T}$ac_cv_func_fuse_opt_parse" >&6; }
3832if test $ac_cv_func_fuse_opt_parse = yes; then
3833  have_fuse_opt_parse=yes
3834fi
3835
3836LIBS="$oldlibs"
3837if test "$have_fuse_opt_parse" = no; then
3838  CFLAGS="$CFLAGS -Icompat"
3839fi
3840
3841
3842if test "$have_fuse_opt_parse" = no; then
3843  FUSE_OPT_COMPAT_TRUE=
3844  FUSE_OPT_COMPAT_FALSE='#'
3845else
3846  FUSE_OPT_COMPAT_TRUE='#'
3847  FUSE_OPT_COMPAT_FALSE=
3848fi
3849
3850
3851ac_config_files="$ac_config_files Makefile"
3852
3853cat >confcache <<\_ACEOF
3854# This file is a shell script that caches the results of configure
3855# tests run on this system so they can be shared between configure
3856# scripts and configure runs, see configure's option --config-cache.
3857# It is not useful on other systems.  If it contains results you don't
3858# want to keep, you may remove or edit it.
3859#
3860# config.status only pays attention to the cache file if you give it
3861# the --recheck option to rerun configure.
3862#
3863# `ac_cv_env_foo' variables (set or unset) will be overridden when
3864# loading this file, other *unset* `ac_cv_foo' will be assigned the
3865# following values.
3866
3867_ACEOF
3868
3869# The following way of writing the cache mishandles newlines in values,
3870# but we know of no workaround that is simple, portable, and efficient.
3871# So, we kill variables containing newlines.
3872# Ultrix sh set writes to stderr and can't be redirected directly,
3873# and sets the high bit in the cache file unless we assign to the vars.
3874(
3875  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3876    eval ac_val=\$$ac_var
3877    case $ac_val in #(
3878    *${as_nl}*)
3879      case $ac_var in #(
3880      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3881echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3882      esac
3883      case $ac_var in #(
3884      _ | IFS | as_nl) ;; #(
3885      *) $as_unset $ac_var ;;
3886      esac ;;
3887    esac
3888  done
3889
3890  (set) 2>&1 |
3891    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3892    *${as_nl}ac_space=\ *)
3893      # `set' does not quote correctly, so add quotes (double-quote
3894      # substitution turns \\\\ into \\, and sed turns \\ into \).
3895      sed -n \
3896  "s/'/'\\\\''/g;
3897    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3898      ;; #(
3899    *)
3900      # `set' quotes correctly as required by POSIX, so do not add quotes.
3901      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3902      ;;
3903    esac |
3904    sort
3905) |
3906  sed '
3907     /^ac_cv_env_/b end
3908     t clear
3909     :clear
3910     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3911     t end
3912     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3913     :end' >>confcache
3914if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3915  if test -w "$cache_file"; then
3916    test "x$cache_file" != "x/dev/null" &&
3917      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3918echo "$as_me: updating cache $cache_file" >&6;}
3919    cat confcache >$cache_file
3920  else
3921    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3922echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3923  fi
3924fi
3925rm -f confcache
3926
3927test "x$prefix" = xNONE && prefix=$ac_default_prefix
3928# Let make expand exec_prefix.
3929test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3930
3931DEFS=-DHAVE_CONFIG_H
3932
3933ac_libobjs=
3934ac_ltlibobjs=
3935for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3936  # 1. Remove the extension, and $U if already installed.
3937  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3938  ac_i=`echo "$ac_i" | sed "$ac_script"`
3939  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3940  #    will be set to the directory where LIBOBJS objects are built.
3941  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3942  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3943done
3944LIBOBJS=$ac_libobjs
3945
3946LTLIBOBJS=$ac_ltlibobjs
3947
3948
3949if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3950  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3951Usually this means the macro was only invoked conditionally." >&5
3952echo "$as_me: error: conditional \"AMDEP\" was never defined.
3953Usually this means the macro was only invoked conditionally." >&2;}
3954   { (exit 1); exit 1; }; }
3955fi
3956if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3957  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3958Usually this means the macro was only invoked conditionally." >&5
3959echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3960Usually this means the macro was only invoked conditionally." >&2;}
3961   { (exit 1); exit 1; }; }
3962fi
3963if test -z "${SSH_NODELAY_SO_TRUE}" && test -z "${SSH_NODELAY_SO_FALSE}"; then
3964  { { echo "$as_me:$LINENO: error: conditional \"SSH_NODELAY_SO\" was never defined.
3965Usually this means the macro was only invoked conditionally." >&5
3966echo "$as_me: error: conditional \"SSH_NODELAY_SO\" was never defined.
3967Usually this means the macro was only invoked conditionally." >&2;}
3968   { (exit 1); exit 1; }; }
3969fi
3970if test -z "${FUSE_OPT_COMPAT_TRUE}" && test -z "${FUSE_OPT_COMPAT_FALSE}"; then
3971  { { echo "$as_me:$LINENO: error: conditional \"FUSE_OPT_COMPAT\" was never defined.
3972Usually this means the macro was only invoked conditionally." >&5
3973echo "$as_me: error: conditional \"FUSE_OPT_COMPAT\" was never defined.
3974Usually this means the macro was only invoked conditionally." >&2;}
3975   { (exit 1); exit 1; }; }
3976fi
3977
3978: ${CONFIG_STATUS=./config.status}
3979ac_clean_files_save=$ac_clean_files
3980ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3981{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3982echo "$as_me: creating $CONFIG_STATUS" >&6;}
3983cat >$CONFIG_STATUS <<_ACEOF
3984#! $SHELL
3985# Generated by $as_me.
3986# Run this file to recreate the current configuration.
3987# Compiler output produced by configure, useful for debugging
3988# configure, is in config.log if it exists.
3989
3990debug=false
3991ac_cs_recheck=false
3992ac_cs_silent=false
3993SHELL=\${CONFIG_SHELL-$SHELL}
3994_ACEOF
3995
3996cat >>$CONFIG_STATUS <<\_ACEOF
3997## --------------------- ##
3998## M4sh Initialization.  ##
3999## --------------------- ##
4000
4001# Be more Bourne compatible
4002DUALCASE=1; export DUALCASE # for MKS sh
4003if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4004  emulate sh
4005  NULLCMD=:
4006  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4007  # is contrary to our usage.  Disable this feature.
4008  alias -g '${1+"$@"}'='"$@"'
4009  setopt NO_GLOB_SUBST
4010else
4011  case `(set -o) 2>/dev/null` in
4012  *posix*) set -o posix ;;
4013esac
4014
4015fi
4016
4017
4018
4019
4020# PATH needs CR
4021# Avoid depending upon Character Ranges.
4022as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4023as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4024as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4025as_cr_digits='0123456789'
4026as_cr_alnum=$as_cr_Letters$as_cr_digits
4027
4028# The user is always right.
4029if test "${PATH_SEPARATOR+set}" != set; then
4030  echo "#! /bin/sh" >conf$$.sh
4031  echo  "exit 0"   >>conf$$.sh
4032  chmod +x conf$$.sh
4033  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4034    PATH_SEPARATOR=';'
4035  else
4036    PATH_SEPARATOR=:
4037  fi
4038  rm -f conf$$.sh
4039fi
4040
4041# Support unset when possible.
4042if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4043  as_unset=unset
4044else
4045  as_unset=false
4046fi
4047
4048
4049# IFS
4050# We need space, tab and new line, in precisely that order.  Quoting is
4051# there to prevent editors from complaining about space-tab.
4052# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4053# splitting by setting IFS to empty value.)
4054as_nl='
4055'
4056IFS=" ""  $as_nl"
4057
4058# Find who we are.  Look in the path if we contain no directory separator.
4059case $0 in
4060  *[\\/]* ) as_myself=$0 ;;
4061  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062for as_dir in $PATH
4063do
4064  IFS=$as_save_IFS
4065  test -z "$as_dir" && as_dir=.
4066  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4067done
4068IFS=$as_save_IFS
4069
4070     ;;
4071esac
4072# We did not find ourselves, most probably we were run as `sh COMMAND'
4073# in which case we are not to be found in the path.
4074if test "x$as_myself" = x; then
4075  as_myself=$0
4076fi
4077if test ! -f "$as_myself"; then
4078  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4079  { (exit 1); exit 1; }
4080fi
4081
4082# Work around bugs in pre-3.0 UWIN ksh.
4083for as_var in ENV MAIL MAILPATH
4084do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4085done
4086PS1='$ '
4087PS2='> '
4088PS4='+ '
4089
4090# NLS nuisances.
4091for as_var in \
4092  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4093  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4094  LC_TELEPHONE LC_TIME
4095do
4096  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4097    eval $as_var=C; export $as_var
4098  else
4099    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4100  fi
4101done
4102
4103# Required to use basename.
4104if expr a : '\(a\)' >/dev/null 2>&1 &&
4105   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4106  as_expr=expr
4107else
4108  as_expr=false
4109fi
4110
4111if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4112  as_basename=basename
4113else
4114  as_basename=false
4115fi
4116
4117
4118# Name of the executable.
4119as_me=`$as_basename -- "$0" ||
4120$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4121   X"$0" : 'X\(//\)$' \| \
4122   X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4123echo X/"$0" |
4124    sed '/^.*\/\([^/][^/]*\)\/*$/{
4125      s//\1/
4126      q
4127    }
4128    /^X\/\(\/\/\)$/{
4129      s//\1/
4130      q
4131    }
4132    /^X\/\(\/\).*/{
4133      s//\1/
4134      q
4135    }
4136    s/.*/./; q'`
4137
4138# CDPATH.
4139$as_unset CDPATH
4140
4141
4142
4143  as_lineno_1=$LINENO
4144  as_lineno_2=$LINENO
4145  test "x$as_lineno_1" != "x$as_lineno_2" &&
4146  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4147
4148  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4149  # uniformly replaced by the line number.  The first 'sed' inserts a
4150  # line-number line after each line using $LINENO; the second 'sed'
4151  # does the real work.  The second script uses 'N' to pair each
4152  # line-number line with the line containing $LINENO, and appends
4153  # trailing '-' during substitution so that $LINENO is not a special
4154  # case at line end.
4155  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4156  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4157  # E. McMahon (1931-1989) for sed's syntax.  :-)
4158  sed -n '
4159    p
4160    /[$]LINENO/=
4161  ' <$as_myself |
4162    sed '
4163      s/[$]LINENO.*/&-/
4164      t lineno
4165      b
4166      :lineno
4167      N
4168      :loop
4169      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4170      t loop
4171      s/-\n.*//
4172    ' >$as_me.lineno &&
4173  chmod +x "$as_me.lineno" ||
4174    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4175   { (exit 1); exit 1; }; }
4176
4177  # Don't try to exec as it changes $[0], causing all sort of problems
4178  # (the dirname of $[0] is not the place where we might find the
4179  # original and so on.  Autoconf is especially sensitive to this).
4180  . "./$as_me.lineno"
4181  # Exit status is that of the last command.
4182  exit
4183}
4184
4185
4186if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4187  as_dirname=dirname
4188else
4189  as_dirname=false
4190fi
4191
4192ECHO_C= ECHO_N= ECHO_T=
4193case `echo -n x` in
4194-n*)
4195  case `echo 'x\c'` in
4196  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4197  *)   ECHO_C='\c';;
4198  esac;;
4199*)
4200  ECHO_N='-n';;
4201esac
4202
4203if expr a : '\(a\)' >/dev/null 2>&1 &&
4204   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4205  as_expr=expr
4206else
4207  as_expr=false
4208fi
4209
4210rm -f conf$$ conf$$.exe conf$$.file
4211if test -d conf$$.dir; then
4212  rm -f conf$$.dir/conf$$.file
4213else
4214  rm -f conf$$.dir
4215  mkdir conf$$.dir
4216fi
4217echo >conf$$.file
4218if ln -s conf$$.file conf$$ 2>/dev/null; then
4219  as_ln_s='ln -s'
4220  # ... but there are two gotchas:
4221  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4222  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4223  # In both cases, we have to default to `cp -p'.
4224  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4225    as_ln_s='cp -p'
4226elif ln conf$$.file conf$$ 2>/dev/null; then
4227  as_ln_s=ln
4228else
4229  as_ln_s='cp -p'
4230fi
4231rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4232rmdir conf$$.dir 2>/dev/null
4233
4234if mkdir -p . 2>/dev/null; then
4235  as_mkdir_p=:
4236else
4237  test -d ./-p && rmdir ./-p
4238  as_mkdir_p=false
4239fi
4240
4241if test -x / >/dev/null 2>&1; then
4242  as_test_x='test -x'
4243else
4244  if ls -dL / >/dev/null 2>&1; then
4245    as_ls_L_option=L
4246  else
4247    as_ls_L_option=
4248  fi
4249  as_test_x='
4250    eval sh -c '\''
4251      if test -d "$1"; then
4252        test -d "$1/.";
4253      else
4254  case $1 in
4255        -*)set "./$1";;
4256  esac;
4257  case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4258  ???[sx]*):;;*)false;;esac;fi
4259    '\'' sh
4260  '
4261fi
4262as_executable_p=$as_test_x
4263
4264# Sed expression to map a string onto a valid CPP name.
4265as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4266
4267# Sed expression to map a string onto a valid variable name.
4268as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4269
4270
4271exec 6>&1
4272
4273# Save the log message, to keep $[0] and so on meaningful, and to
4274# report actual input values of CONFIG_FILES etc. instead of their
4275# values after options handling.
4276ac_log="
4277This file was extended by sshfs-fuse $as_me 1.9, which was
4278generated by GNU Autoconf 2.61.  Invocation command line was
4279
4280  CONFIG_FILES    = $CONFIG_FILES
4281  CONFIG_HEADERS  = $CONFIG_HEADERS
4282  CONFIG_LINKS    = $CONFIG_LINKS
4283  CONFIG_COMMANDS = $CONFIG_COMMANDS
4284  $ $0 $@
4285
4286on `(hostname || uname -n) 2>/dev/null | sed 1q`
4287"
4288
4289_ACEOF
4290
4291cat >>$CONFIG_STATUS <<_ACEOF
4292# Files that config.status was made for.
4293config_files="$ac_config_files"
4294config_headers="$ac_config_headers"
4295config_commands="$ac_config_commands"
4296
4297_ACEOF
4298
4299cat >>$CONFIG_STATUS <<\_ACEOF
4300ac_cs_usage="\
4301\`$as_me' instantiates files from templates according to the
4302current configuration.
4303
4304Usage: $0 [OPTIONS] [FILE]...
4305
4306  -h, --help       print this help, then exit
4307  -V, --version    print version number and configuration settings, then exit
4308  -q, --quiet      do not print progress messages
4309  -d, --debug      don't remove temporary files
4310      --recheck    update $as_me by reconfiguring in the same conditions
4311  --file=FILE[:TEMPLATE]
4312       instantiate the configuration file FILE
4313  --header=FILE[:TEMPLATE]
4314       instantiate the configuration header FILE
4315
4316Configuration files:
4317$config_files
4318
4319Configuration headers:
4320$config_headers
4321
4322Configuration commands:
4323$config_commands
4324
4325Report bugs to <bug-autoconf@gnu.org>."
4326
4327_ACEOF
4328cat >>$CONFIG_STATUS <<_ACEOF
4329ac_cs_version="\\
4330sshfs-fuse config.status 1.9
4331configured by $0, generated by GNU Autoconf 2.61,
4332  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4333
4334Copyright (C) 2006 Free Software Foundation, Inc.
4335This config.status script is free software; the Free Software Foundation
4336gives unlimited permission to copy, distribute and modify it."
4337
4338ac_pwd='$ac_pwd'
4339srcdir='$srcdir'
4340INSTALL='$INSTALL'
4341_ACEOF
4342
4343cat >>$CONFIG_STATUS <<\_ACEOF
4344# If no file are specified by the user, then we need to provide default
4345# value.  By we need to know if files were specified by the user.
4346ac_need_defaults=:
4347while test $# != 0
4348do
4349  case $1 in
4350  --*=*)
4351    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4352    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4353    ac_shift=:
4354    ;;
4355  *)
4356    ac_option=$1
4357    ac_optarg=$2
4358    ac_shift=shift
4359    ;;
4360  esac
4361
4362  case $ac_option in
4363  # Handling of the options.
4364  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4365    ac_cs_recheck=: ;;
4366  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4367    echo "$ac_cs_version"; exit ;;
4368  --debug | --debu | --deb | --de | --d | -d )
4369    debug=: ;;
4370  --file | --fil | --fi | --f )
4371    $ac_shift
4372    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4373    ac_need_defaults=false;;
4374  --header | --heade | --head | --hea )
4375    $ac_shift
4376    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4377    ac_need_defaults=false;;
4378  --he | --h)
4379    # Conflict between --help and --header
4380    { echo "$as_me: error: ambiguous option: $1
4381Try \`$0 --help' for more information." >&2
4382   { (exit 1); exit 1; }; };;
4383  --help | --hel | -h )
4384    echo "$ac_cs_usage"; exit ;;
4385  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4386  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4387    ac_cs_silent=: ;;
4388
4389  # This is an error.
4390  -*) { echo "$as_me: error: unrecognized option: $1
4391Try \`$0 --help' for more information." >&2
4392   { (exit 1); exit 1; }; } ;;
4393
4394  *) ac_config_targets="$ac_config_targets $1"
4395     ac_need_defaults=false ;;
4396
4397  esac
4398  shift
4399done
4400
4401ac_configure_extra_args=
4402
4403if $ac_cs_silent; then
4404  exec 6>/dev/null
4405  ac_configure_extra_args="$ac_configure_extra_args --silent"
4406fi
4407
4408_ACEOF
4409cat >>$CONFIG_STATUS <<_ACEOF
4410if \$ac_cs_recheck; then
4411  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4412  CONFIG_SHELL=$SHELL
4413  export CONFIG_SHELL
4414  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4415fi
4416
4417_ACEOF
4418cat >>$CONFIG_STATUS <<\_ACEOF
4419exec 5>>config.log
4420{
4421  echo
4422  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4423## Running $as_me. ##
4424_ASBOX
4425  echo "$ac_log"
4426} >&5
4427
4428_ACEOF
4429cat >>$CONFIG_STATUS <<_ACEOF
4430#
4431# INIT-COMMANDS
4432#
4433AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4434
4435_ACEOF
4436
4437cat >>$CONFIG_STATUS <<\_ACEOF
4438
4439# Handling of arguments.
4440for ac_config_target in $ac_config_targets
4441do
4442  case $ac_config_target in
4443    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4444    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4445    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4446
4447  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4448echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4449   { (exit 1); exit 1; }; };;
4450  esac
4451done
4452
4453
4454# If the user did not use the arguments to specify the items to instantiate,
4455# then the envvar interface is used.  Set only those that are not.
4456# We use the long form for the default assignment because of an extremely
4457# bizarre bug on SunOS 4.1.3.
4458if $ac_need_defaults; then
4459  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4460  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4461  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4462fi
4463
4464# Have a temporary directory for convenience.  Make it in the build tree
4465# simply because there is no reason against having it here, and in addition,
4466# creating and moving files from /tmp can sometimes cause problems.
4467# Hook for its removal unless debugging.
4468# Note that there is a small window in which the directory will not be cleaned:
4469# after its creation but before its name has been assigned to `$tmp'.
4470$debug ||
4471{
4472  tmp=
4473  trap 'exit_status=$?
4474  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4475' 0
4476  trap '{ (exit 1); exit 1; }' 1 2 13 15
4477}
4478# Create a (secure) tmp directory for tmp files.
4479
4480{
4481  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4482  test -n "$tmp" && test -d "$tmp"
4483}  ||
4484{
4485  tmp=./conf$$-$RANDOM
4486  (umask 077 && mkdir "$tmp")
4487} ||
4488{
4489   echo "$me: cannot create a temporary directory in ." >&2
4490   { (exit 1); exit 1; }
4491}
4492
4493#
4494# Set up the sed scripts for CONFIG_FILES section.
4495#
4496
4497# No need to generate the scripts if there are no CONFIG_FILES.
4498# This happens for instance when ./config.status config.h
4499if test -n "$CONFIG_FILES"; then
4500
4501_ACEOF
4502
4503
4504
4505ac_delim='%!_!# '
4506for ac_last_try in false false false false false :; do
4507  cat >conf$$subs.sed <<_ACEOF
4508SHELL!$SHELL$ac_delim
4509PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4510PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4511PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4512PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4513PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4514PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4515exec_prefix!$exec_prefix$ac_delim
4516prefix!$prefix$ac_delim
4517program_transform_name!$program_transform_name$ac_delim
4518bindir!$bindir$ac_delim
4519sbindir!$sbindir$ac_delim
4520libexecdir!$libexecdir$ac_delim
4521datarootdir!$datarootdir$ac_delim
4522datadir!$datadir$ac_delim
4523sysconfdir!$sysconfdir$ac_delim
4524sharedstatedir!$sharedstatedir$ac_delim
4525localstatedir!$localstatedir$ac_delim
4526includedir!$includedir$ac_delim
4527oldincludedir!$oldincludedir$ac_delim
4528docdir!$docdir$ac_delim
4529infodir!$infodir$ac_delim
4530htmldir!$htmldir$ac_delim
4531dvidir!$dvidir$ac_delim
4532pdfdir!$pdfdir$ac_delim
4533psdir!$psdir$ac_delim
4534libdir!$libdir$ac_delim
4535localedir!$localedir$ac_delim
4536mandir!$mandir$ac_delim
4537DEFS!$DEFS$ac_delim
4538ECHO_C!$ECHO_C$ac_delim
4539ECHO_N!$ECHO_N$ac_delim
4540ECHO_T!$ECHO_T$ac_delim
4541LIBS!$LIBS$ac_delim
4542build_alias!$build_alias$ac_delim
4543host_alias!$host_alias$ac_delim
4544target_alias!$target_alias$ac_delim
4545INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4546INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4547INSTALL_DATA!$INSTALL_DATA$ac_delim
4548CYGPATH_W!$CYGPATH_W$ac_delim
4549PACKAGE!$PACKAGE$ac_delim
4550VERSION!$VERSION$ac_delim
4551ACLOCAL!$ACLOCAL$ac_delim
4552AUTOCONF!$AUTOCONF$ac_delim
4553AUTOMAKE!$AUTOMAKE$ac_delim
4554AUTOHEADER!$AUTOHEADER$ac_delim
4555MAKEINFO!$MAKEINFO$ac_delim
4556install_sh!$install_sh$ac_delim
4557STRIP!$STRIP$ac_delim
4558INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4559mkdir_p!$mkdir_p$ac_delim
4560AWK!$AWK$ac_delim
4561SET_MAKE!$SET_MAKE$ac_delim
4562am__leading_dot!$am__leading_dot$ac_delim
4563AMTAR!$AMTAR$ac_delim
4564am__tar!$am__tar$ac_delim
4565am__untar!$am__untar$ac_delim
4566CC!$CC$ac_delim
4567CFLAGS!$CFLAGS$ac_delim
4568LDFLAGS!$LDFLAGS$ac_delim
4569CPPFLAGS!$CPPFLAGS$ac_delim
4570ac_ct_CC!$ac_ct_CC$ac_delim
4571EXEEXT!$EXEEXT$ac_delim
4572OBJEXT!$OBJEXT$ac_delim
4573DEPDIR!$DEPDIR$ac_delim
4574am__include!$am__include$ac_delim
4575am__quote!$am__quote$ac_delim
4576AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4577AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4578AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4579CCDEPMODE!$CCDEPMODE$ac_delim
4580am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4581am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4582sshnodelay_libs!$sshnodelay_libs$ac_delim
4583SSH_NODELAY_SO_TRUE!$SSH_NODELAY_SO_TRUE$ac_delim
4584SSH_NODELAY_SO_FALSE!$SSH_NODELAY_SO_FALSE$ac_delim
4585PKG_CONFIG!$PKG_CONFIG$ac_delim
4586SSHFS_CFLAGS!$SSHFS_CFLAGS$ac_delim
4587SSHFS_LIBS!$SSHFS_LIBS$ac_delim
4588FUSE_OPT_COMPAT_TRUE!$FUSE_OPT_COMPAT_TRUE$ac_delim
4589FUSE_OPT_COMPAT_FALSE!$FUSE_OPT_COMPAT_FALSE$ac_delim
4590LIBOBJS!$LIBOBJS$ac_delim
4591LTLIBOBJS!$LTLIBOBJS$ac_delim
4592_ACEOF
4593
4594  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
4595    break
4596  elif $ac_last_try; then
4597    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4598echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4599   { (exit 1); exit 1; }; }
4600  else
4601    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4602  fi
4603done
4604
4605ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4606if test -n "$ac_eof"; then
4607  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4608  ac_eof=`expr $ac_eof + 1`
4609fi
4610
4611cat >>$CONFIG_STATUS <<_ACEOF
4612cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4613/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4614_ACEOF
4615sed '
4616s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4617s/^/s,@/; s/!/@,|#_!!_#|/
4618:n
4619t n
4620s/'"$ac_delim"'$/,g/; t
4621s/$/\\/; p
4622N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4623' >>$CONFIG_STATUS <conf$$subs.sed
4624rm -f conf$$subs.sed
4625cat >>$CONFIG_STATUS <<_ACEOF
4626:end
4627s/|#_!!_#|//g
4628CEOF$ac_eof
4629_ACEOF
4630
4631
4632# VPATH may cause trouble with some makes, so we remove $(srcdir),
4633# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4634# trailing colons and then remove the whole line if VPATH becomes empty
4635# (actually we leave an empty line to preserve line numbers).
4636if test "x$srcdir" = x.; then
4637  ac_vpsub='/^[  ]*VPATH[  ]*=/{
4638s/:*\$(srcdir):*/:/
4639s/:*\${srcdir}:*/:/
4640s/:*@srcdir@:*/:/
4641s/^\([^=]*=[   ]*\):*/\1/
4642s/:*$//
4643s/^[^=]*=[   ]*$//
4644}'
4645fi
4646
4647cat >>$CONFIG_STATUS <<\_ACEOF
4648fi # test -n "$CONFIG_FILES"
4649
4650
4651for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4652do
4653  case $ac_tag in
4654  :[FHLC]) ac_mode=$ac_tag; continue;;
4655  esac
4656  case $ac_mode$ac_tag in
4657  :[FHL]*:*);;
4658  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4659echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4660   { (exit 1); exit 1; }; };;
4661  :[FH]-) ac_tag=-:-;;
4662  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4663  esac
4664  ac_save_IFS=$IFS
4665  IFS=:
4666  set x $ac_tag
4667  IFS=$ac_save_IFS
4668  shift
4669  ac_file=$1
4670  shift
4671
4672  case $ac_mode in
4673  :L) ac_source=$1;;
4674  :[FH])
4675    ac_file_inputs=
4676    for ac_f
4677    do
4678      case $ac_f in
4679      -) ac_f="$tmp/stdin";;
4680      *) # Look for the file first in the build tree, then in the source tree
4681   # (if the path is not absolute).  The absolute path cannot be DOS-style,
4682   # because $ac_f cannot contain `:'.
4683   test -f "$ac_f" ||
4684     case $ac_f in
4685     [\\/$]*) false;;
4686     *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4687     esac ||
4688     { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4689echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4690   { (exit 1); exit 1; }; };;
4691      esac
4692      ac_file_inputs="$ac_file_inputs $ac_f"
4693    done
4694
4695    # Let's still pretend it is `configure' which instantiates (i.e., don't
4696    # use $as_me), people would be surprised to read:
4697    #    /* config.h.  Generated by config.status.  */
4698    configure_input="Generated from "`IFS=:
4699    echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4700    if test x"$ac_file" != x-; then
4701      configure_input="$ac_file.  $configure_input"
4702      { echo "$as_me:$LINENO: creating $ac_file" >&5
4703echo "$as_me: creating $ac_file" >&6;}
4704    fi
4705
4706    case $ac_tag in
4707    *:-:* | *:-) cat >"$tmp/stdin";;
4708    esac
4709    ;;
4710  esac
4711
4712  ac_dir=`$as_dirname -- "$ac_file" ||
4713$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4714   X"$ac_file" : 'X\(//\)[^/]' \| \
4715   X"$ac_file" : 'X\(//\)$' \| \
4716   X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4717echo X"$ac_file" |
4718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4719      s//\1/
4720      q
4721    }
4722    /^X\(\/\/\)[^/].*/{
4723      s//\1/
4724      q
4725    }
4726    /^X\(\/\/\)$/{
4727      s//\1/
4728      q
4729    }
4730    /^X\(\/\).*/{
4731      s//\1/
4732      q
4733    }
4734    s/.*/./; q'`
4735  { as_dir="$ac_dir"
4736  case $as_dir in #(
4737  -*) as_dir=./$as_dir;;
4738  esac
4739  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4740    as_dirs=
4741    while :; do
4742      case $as_dir in #(
4743      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4744      *) as_qdir=$as_dir;;
4745      esac
4746      as_dirs="'$as_qdir' $as_dirs"
4747      as_dir=`$as_dirname -- "$as_dir" ||
4748$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4749   X"$as_dir" : 'X\(//\)[^/]' \| \
4750   X"$as_dir" : 'X\(//\)$' \| \
4751   X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4752echo X"$as_dir" |
4753    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4754      s//\1/
4755      q
4756    }
4757    /^X\(\/\/\)[^/].*/{
4758      s//\1/
4759      q
4760    }
4761    /^X\(\/\/\)$/{
4762      s//\1/
4763      q
4764    }
4765    /^X\(\/\).*/{
4766      s//\1/
4767      q
4768    }
4769    s/.*/./; q'`
4770      test -d "$as_dir" && break
4771    done
4772    test -z "$as_dirs" || eval "mkdir $as_dirs"
4773  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4774echo "$as_me: error: cannot create directory $as_dir" >&2;}
4775   { (exit 1); exit 1; }; }; }
4776  ac_builddir=.
4777
4778case "$ac_dir" in
4779.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4780*)
4781  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4782  # A ".." for each directory in $ac_dir_suffix.
4783  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4784  case $ac_top_builddir_sub in
4785  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4786  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4787  esac ;;
4788esac
4789ac_abs_top_builddir=$ac_pwd
4790ac_abs_builddir=$ac_pwd$ac_dir_suffix
4791# for backward compatibility:
4792ac_top_builddir=$ac_top_build_prefix
4793
4794case $srcdir in
4795  .)  # We are building in place.
4796    ac_srcdir=.
4797    ac_top_srcdir=$ac_top_builddir_sub
4798    ac_abs_top_srcdir=$ac_pwd ;;
4799  [\\/]* | ?:[\\/]* )  # Absolute name.
4800    ac_srcdir=$srcdir$ac_dir_suffix;
4801    ac_top_srcdir=$srcdir
4802    ac_abs_top_srcdir=$srcdir ;;
4803  *) # Relative name.
4804    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4805    ac_top_srcdir=$ac_top_build_prefix$srcdir
4806    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4807esac
4808ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4809
4810
4811  case $ac_mode in
4812  :F)
4813  #
4814  # CONFIG_FILE
4815  #
4816
4817  case $INSTALL in
4818  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4819  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4820  esac
4821_ACEOF
4822
4823cat >>$CONFIG_STATUS <<\_ACEOF
4824# If the template does not know about datarootdir, expand it.
4825# FIXME: This hack should be removed a few years after 2.60.
4826ac_datarootdir_hack=; ac_datarootdir_seen=
4827
4828case `sed -n '/datarootdir/ {
4829  p
4830  q
4831}
4832/@datadir@/p
4833/@docdir@/p
4834/@infodir@/p
4835/@localedir@/p
4836/@mandir@/p
4837' $ac_file_inputs` in
4838*datarootdir*) ac_datarootdir_seen=yes;;
4839*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4840  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4841echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4842_ACEOF
4843cat >>$CONFIG_STATUS <<_ACEOF
4844  ac_datarootdir_hack='
4845  s&@datadir@&$datadir&g
4846  s&@docdir@&$docdir&g
4847  s&@infodir@&$infodir&g
4848  s&@localedir@&$localedir&g
4849  s&@mandir@&$mandir&g
4850    s&\\\${datarootdir}&$datarootdir&g' ;;
4851esac
4852_ACEOF
4853
4854# Neutralize VPATH when `$srcdir' = `.'.
4855# Shell code in configure.ac might set extrasub.
4856# FIXME: do we really want to maintain this feature?
4857cat >>$CONFIG_STATUS <<_ACEOF
4858  sed "$ac_vpsub
4859$extrasub
4860_ACEOF
4861cat >>$CONFIG_STATUS <<\_ACEOF
4862:t
4863/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4864s&@configure_input@&$configure_input&;t t
4865s&@top_builddir@&$ac_top_builddir_sub&;t t
4866s&@srcdir@&$ac_srcdir&;t t
4867s&@abs_srcdir@&$ac_abs_srcdir&;t t
4868s&@top_srcdir@&$ac_top_srcdir&;t t
4869s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4870s&@builddir@&$ac_builddir&;t t
4871s&@abs_builddir@&$ac_abs_builddir&;t t
4872s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4873s&@INSTALL@&$ac_INSTALL&;t t
4874$ac_datarootdir_hack
4875" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4876
4877test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4878  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4879  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4880  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4881which seems to be undefined.  Please make sure it is defined." >&5
4882echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4883which seems to be undefined.  Please make sure it is defined." >&2;}
4884
4885  rm -f "$tmp/stdin"
4886  case $ac_file in
4887  -) cat "$tmp/out"; rm -f "$tmp/out";;
4888  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4889  esac
4890 ;;
4891  :H)
4892  #
4893  # CONFIG_HEADER
4894  #
4895_ACEOF
4896
4897# Transform confdefs.h into a sed script `conftest.defines', that
4898# substitutes the proper values into config.h.in to produce config.h.
4899rm -f conftest.defines conftest.tail
4900# First, append a space to every undef/define line, to ease matching.
4901echo 's/$/ /' >conftest.defines
4902# Then, protect against being on the right side of a sed subst, or in
4903# an unquoted here document, in config.status.  If some macros were
4904# called several times there might be several #defines for the same
4905# symbol, which is useless.  But do not sort them, since the last
4906# AC_DEFINE must be honored.
4907ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4908# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4909# NAME is the cpp macro being defined, VALUE is the value it is being given.
4910# PARAMS is the parameter list in the macro definition--in most cases, it's
4911# just an empty string.
4912ac_dA='s,^\\([   #]*\\)[^  ]*\\([  ]*'
4913ac_dB='\\)[  (].*,\\1define\\2'
4914ac_dC=' '
4915ac_dD=' ,'
4916
4917uniq confdefs.h |
4918  sed -n '
4919  t rset
4920  :rset
4921  s/^[   ]*#[  ]*define[   ][  ]*//
4922  t ok
4923  d
4924  :ok
4925  s/[\\&,]/\\&/g
4926  s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4927  s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4928  ' >>conftest.defines
4929
4930# Remove the space that was appended to ease matching.
4931# Then replace #undef with comments.  This is necessary, for
4932# example, in the case of _POSIX_SOURCE, which is predefined and required
4933# on some systems where configure will not decide to define it.
4934# (The regexp can be short, since the line contains either #define or #undef.)
4935echo 's/ $//
4936s,^[   #]*u.*,/* & */,' >>conftest.defines
4937
4938# Break up conftest.defines:
4939ac_max_sed_lines=50
4940
4941# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4942# Second one is:   sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4943# Third one will be:   sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4944# et cetera.
4945ac_in='$ac_file_inputs'
4946ac_out='"$tmp/out1"'
4947ac_nxt='"$tmp/out2"'
4948
4949while :
4950do
4951  # Write a here document:
4952    cat >>$CONFIG_STATUS <<_ACEOF
4953    # First, check the format of the line:
4954    cat >"\$tmp/defines.sed" <<\\CEOF
4955/^[  ]*#[  ]*undef[  ][  ]*$ac_word_re[  ]*\$/b def
4956/^[  ]*#[  ]*define[   ][  ]*$ac_word_re[(   ]/b def
4957b
4958:def
4959_ACEOF
4960  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4961  echo 'CEOF
4962    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4963  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4964  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4965  grep . conftest.tail >/dev/null || break
4966  rm -f conftest.defines
4967  mv conftest.tail conftest.defines
4968done
4969rm -f conftest.defines conftest.tail
4970
4971echo "ac_result=$ac_in" >>$CONFIG_STATUS
4972cat >>$CONFIG_STATUS <<\_ACEOF
4973  if test x"$ac_file" != x-; then
4974    echo "/* $configure_input  */" >"$tmp/config.h"
4975    cat "$ac_result" >>"$tmp/config.h"
4976    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4977      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4978echo "$as_me: $ac_file is unchanged" >&6;}
4979    else
4980      rm -f $ac_file
4981      mv "$tmp/config.h" $ac_file
4982    fi
4983  else
4984    echo "/* $configure_input  */"
4985    cat "$ac_result"
4986  fi
4987  rm -f "$tmp/out12"
4988# Compute $ac_file's index in $config_headers.
4989_am_stamp_count=1
4990for _am_header in $config_headers :; do
4991  case $_am_header in
4992    $ac_file | $ac_file:* )
4993      break ;;
4994    * )
4995      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4996  esac
4997done
4998echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
4999$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5000   X$ac_file : 'X\(//\)[^/]' \| \
5001   X$ac_file : 'X\(//\)$' \| \
5002   X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5003echo X$ac_file |
5004    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5005      s//\1/
5006      q
5007    }
5008    /^X\(\/\/\)[^/].*/{
5009      s//\1/
5010      q
5011    }
5012    /^X\(\/\/\)$/{
5013      s//\1/
5014      q
5015    }
5016    /^X\(\/\).*/{
5017      s//\1/
5018      q
5019    }
5020    s/.*/./; q'`/stamp-h$_am_stamp_count
5021 ;;
5022
5023  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5024echo "$as_me: executing $ac_file commands" >&6;}
5025 ;;
5026  esac
5027
5028
5029  case $ac_file$ac_mode in
5030    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5031  # Strip MF so we end up with the name of the file.
5032  mf=`echo "$mf" | sed -e 's/:.*$//'`
5033  # Check whether this is an Automake generated Makefile or not.
5034  # We used to match only the files named `Makefile.in', but
5035  # some people rename them; so instead we look at the file content.
5036  # Grep'ing the first line is not enough: some people post-process
5037  # each Makefile.in and add a new line on top of each file to say so.
5038  # So let's grep whole file.
5039  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5040    dirpart=`$as_dirname -- "$mf" ||
5041$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5042   X"$mf" : 'X\(//\)[^/]' \| \
5043   X"$mf" : 'X\(//\)$' \| \
5044   X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5045echo X"$mf" |
5046    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5047      s//\1/
5048      q
5049    }
5050    /^X\(\/\/\)[^/].*/{
5051      s//\1/
5052      q
5053    }
5054    /^X\(\/\/\)$/{
5055      s//\1/
5056      q
5057    }
5058    /^X\(\/\).*/{
5059      s//\1/
5060      q
5061    }
5062    s/.*/./; q'`
5063  else
5064    continue
5065  fi
5066  # Extract the definition of DEPDIR, am__include, and am__quote
5067  # from the Makefile without running `make'.
5068  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5069  test -z "$DEPDIR" && continue
5070  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5071  test -z "am__include" && continue
5072  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5073  # When using ansi2knr, U may be empty or an underscore; expand it
5074  U=`sed -n 's/^U = //p' < "$mf"`
5075  # Find all dependency output files, they are included files with
5076  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5077  # simplest approach to changing $(DEPDIR) to its actual value in the
5078  # expansion.
5079  for file in `sed -n "
5080    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5081       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5082    # Make sure the directory exists.
5083    test -f "$dirpart/$file" && continue
5084    fdir=`$as_dirname -- "$file" ||
5085$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5086   X"$file" : 'X\(//\)[^/]' \| \
5087   X"$file" : 'X\(//\)$' \| \
5088   X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5089echo X"$file" |
5090    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5091      s//\1/
5092      q
5093    }
5094    /^X\(\/\/\)[^/].*/{
5095      s//\1/
5096      q
5097    }
5098    /^X\(\/\/\)$/{
5099      s//\1/
5100      q
5101    }
5102    /^X\(\/\).*/{
5103      s//\1/
5104      q
5105    }
5106    s/.*/./; q'`
5107    { as_dir=$dirpart/$fdir
5108  case $as_dir in #(
5109  -*) as_dir=./$as_dir;;
5110  esac
5111  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5112    as_dirs=
5113    while :; do
5114      case $as_dir in #(
5115      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5116      *) as_qdir=$as_dir;;
5117      esac
5118      as_dirs="'$as_qdir' $as_dirs"
5119      as_dir=`$as_dirname -- "$as_dir" ||
5120$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5121   X"$as_dir" : 'X\(//\)[^/]' \| \
5122   X"$as_dir" : 'X\(//\)$' \| \
5123   X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5124echo X"$as_dir" |
5125    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5126      s//\1/
5127      q
5128    }
5129    /^X\(\/\/\)[^/].*/{
5130      s//\1/
5131      q
5132    }
5133    /^X\(\/\/\)$/{
5134      s//\1/
5135      q
5136    }
5137    /^X\(\/\).*/{
5138      s//\1/
5139      q
5140    }
5141    s/.*/./; q'`
5142      test -d "$as_dir" && break
5143    done
5144    test -z "$as_dirs" || eval "mkdir $as_dirs"
5145  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5146echo "$as_me: error: cannot create directory $as_dir" >&2;}
5147   { (exit 1); exit 1; }; }; }
5148    # echo "creating $dirpart/$file"
5149    echo '# dummy' > "$dirpart/$file"
5150  done
5151done
5152 ;;
5153
5154  esac
5155done # for ac_tag
5156
5157
5158{ (exit 0); exit 0; }
5159_ACEOF
5160chmod +x $CONFIG_STATUS
5161ac_clean_files=$ac_clean_files_save
5162
5163
5164# configure is writing to config.log, and then calls config.status.
5165# config.status does its own redirection, appending to config.log.
5166# Unfortunately, on DOS this fails, as config.log is still kept open
5167# by configure, so config.status won't be able to write to it; its
5168# output is simply discarded.  So we exec the FD to /dev/null,
5169# effectively closing config.log, so it can be properly (re)opened and
5170# appended to by config.status.  When coming back to configure, we
5171# need to make the FD available again.
5172if test "$no_create" != yes; then
5173  ac_cs_success=:
5174  ac_config_status_args=
5175  test "$silent" = yes &&
5176    ac_config_status_args="$ac_config_status_args --quiet"
5177  exec 5>/dev/null
5178  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5179  exec 5>>config.log
5180  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5181  # would make configure fail if this is the last instruction.
5182  $ac_cs_success || { (exit 1); exit 1; }
5183fi
5184
Note: See TracBrowser for help on using the repository browser.