~ubuntu-branches/ubuntu/edgy/ltspfs/edgy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2005-10-28 21:38:44 UTC
  • Revision ID: james.westby@ubuntu.com-20051028213844-o6885b3uo6ktguws
Tags: upstream-0.1cvs20051117
ImportĀ upstreamĀ versionĀ 0.1cvs20051117

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