~ubuntu-branches/ubuntu/oneiric/mtpfs/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2009-02-23 09:13:51 UTC
  • mfrom: (2.1.2 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090223091351-d1xlo7s6iw5hbxjt
Tags: 0.9-2
* Upload to unstable.
* Update Build-Depends on libmtp.
* New maintainer email address.
* Update Git repository locations.
* Correcting section ("interpreters" -> "utils")
* Rework and rename 'get-orig-source' target.
* Use the "©" symbol over "(C)" in debian/copyright to appease lintian.
* Move to debhelper 7.
  - Replace call to `dh_clean -k' with dh_prep.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

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