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