2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for ltspfs 0.2.
5
# Report bugs to <sbalneav@ltsp.org>.
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
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
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 \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
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
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
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
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
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
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; }; }
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).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe 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
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
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'"
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'"
237
# We need space, tab and new line, in precisely that order.
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`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
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}
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'
276
ac_unique_file="common.c"
277
# Factoring default headers for most tests.
278
ac_includes_default="\
281
# include <sys/types.h>
284
# include <sys/stat.h>
295
# if !STDC_HEADERS && HAVE_MEMORY_H
301
# include <strings.h>
304
# include <inttypes.h>
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'
317
# Initialize some variables set by options.
319
ac_init_version=false
320
# The variables have the same names as the options, with
321
# dashes changed to underlines.
329
program_transform_name=s,x,x,
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'
358
# If the previous option needs an argument, assign it.
359
if test -n "$ac_prev"; then
360
eval "$ac_prev=\$ac_option"
365
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
# Accept the important Cygnus configure options, so we can diagnose typos.
371
-bindir | --bindir | --bindi | --bind | --bin | --bi)
373
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376
-build | --build | --buil | --bui | --bu)
377
ac_prev=build_alias ;;
378
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
379
build_alias=$ac_optarg ;;
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 ;;
389
cache_file=config.cache ;;
391
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395
datadir=$ac_optarg ;;
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" ;;
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'`
414
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417
eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
428
-gas | --gas | --ga | --g)
429
# Obsolete; use --with-gas.
432
-help | --help | --hel | --he | -h)
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 ;;
439
-host | --host | --hos | --ho)
440
ac_prev=host_alias ;;
441
-host=* | --host=* | --hos=* | --ho=*)
442
host_alias=$ac_optarg ;;
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 ;;
451
-infodir | --infodir | --infodi | --infod | --info | --inf)
453
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454
infodir=$ac_optarg ;;
456
-libdir | --libdir | --libdi | --libd)
458
-libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
477
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483
# Obsolete; use --without-fp.
486
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
487
| --no-cr | --no-c | -n)
490
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
491
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
503
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
539
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
| -silent | --silent | --silen | --sile | --sil)
543
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547
sbindir=$ac_optarg ;;
549
-sharedstatedir | --sharedstatedir | --sharedstatedi \
550
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551
| --sharedst | --shareds | --shared | --share | --shar \
553
ac_prev=sharedstatedir ;;
554
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558
sharedstatedir=$ac_optarg ;;
560
-site | --site | --sit)
562
-site=* | --site=* | --sit=*)
565
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
582
-v | -verbose | --verbose | --verbos | --verbo | --verb)
585
-version | --version | --versio | --versi | --vers | -V)
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'`
596
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599
eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
611
# Obsolete; use --with-x.
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 ;;
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 ;;
628
-*) { echo "$as_me: error: unrecognized option: $ac_option
629
Try \`$0 --help' for more information." >&2
630
{ (exit 1); exit 1; }; }
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'"
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}
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; }; }
660
# Be sure to have absolute paths.
661
for ac_var in exec_prefix prefix
663
eval ac_val=$`echo $ac_var`
665
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
{ (exit 1); exit 1; }; };;
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
675
eval ac_val=$`echo $ac_var`
677
[\\/$]* | ?:[\\/]* ) ;;
678
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
{ (exit 1); exit 1; }; };;
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.
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
702
test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
test "$silent" = yes && exec 6>/dev/null
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 ||
718
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
/^X\(\/\/\)$/{ s//\1/; q; }
721
/^X\(\/\).*/{ s//\1/; q; }
724
if test ! -r $srcdir/$ac_unique_file; then
728
ac_srcdir_defaulted=no
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; }; }
735
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
{ (exit 1); exit 1; }; }
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}
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
777
# Report the --help message.
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.
783
\`configure' configures ltspfs 0.2 to adapt to many kinds of systems.
785
Usage: $0 [OPTION]... [VAR=VALUE]...
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.
790
Defaults for the options are specified in brackets.
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 \`..']
806
Installation directories:
807
--prefix=PREFIX install architecture-independent files in PREFIX
809
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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'.
817
For better control, use the options below.
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]
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
843
if test -n "$ac_init_help"; then
844
case $ac_init_help in
845
short | recursive ) echo "Configuration of ltspfs 0.2:";;
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
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>
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.
867
Report bugs to <sbalneav@ltsp.org>.
871
if test "$ac_init_help" = "recursive"; then
872
# If there are subdirs, report their specific --help.
874
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
875
test -d $ac_dir || continue
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'`
883
ac_dir_suffix= ac_top_builddir=
887
.) # No --srcdir option. We are building in place.
889
if test -z "$ac_top_builddir"; then
892
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
894
[\\/]* | ?:[\\/]* ) # Absolute path.
895
ac_srcdir=$srcdir$ac_dir_suffix;
896
ac_top_srcdir=$srcdir ;;
898
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
899
ac_top_srcdir=$ac_top_builddir$srcdir ;;
902
# Do not use `cd foo && pwd` to compute absolute paths, because
903
# the directories may not exist.
905
.) ac_abs_builddir="$ac_dir";;
908
.) ac_abs_builddir=`pwd`;;
909
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
910
*) ac_abs_builddir=`pwd`/"$ac_dir";;
913
case $ac_abs_builddir in
914
.) ac_abs_top_builddir=${ac_top_builddir}.;;
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}.;;
922
case $ac_abs_builddir in
923
.) ac_abs_srcdir=$ac_srcdir;;
926
.) ac_abs_srcdir=$ac_abs_builddir;;
927
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
928
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
931
case $ac_abs_builddir in
932
.) ac_abs_top_srcdir=$ac_top_srcdir;;
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;;
942
# Check for guested configure; otherwise get Cygnus style configure.
943
if test -f $ac_srcdir/configure.gnu; then
945
$SHELL $ac_srcdir/configure.gnu --help=recursive
946
elif test -f $ac_srcdir/configure; then
948
$SHELL $ac_srcdir/configure --help=recursive
949
elif test -f $ac_srcdir/configure.ac ||
950
test -f $ac_srcdir/configure.in; then
954
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960
test -n "$ac_init_help" && exit 0
961
if $ac_init_version; then
964
generated by GNU Autoconf 2.59
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.
974
This file contains any messages produced by compilers while
975
running configure, to aid debugging if configure makes a mistake.
977
It was created by ltspfs $as_me 0.2, which was
978
generated by GNU Autoconf 2.59. Invocation command line was
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`
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`
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`
1008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012
test -z "$as_dir" && as_dir=.
1013
echo "PATH: $as_dir"
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.
1037
ac_must_keep_next=false
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)
1047
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1048
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1051
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1066
-* ) ac_must_keep_next=true ;;
1069
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070
# Get rid of the leading space.
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; }
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.
1090
## ---------------- ##
1091
## Cache variables. ##
1092
## ---------------- ##
1095
# The following way of writing the cache mishandles newlines in values,
1098
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1113
## ----------------- ##
1114
## Output variables. ##
1115
## ----------------- ##
1118
for ac_var in $ac_subst_vars
1120
eval ac_val=$`echo $ac_var`
1121
echo "$ac_var='"'"'$ac_val'"'"'"
1125
if test -n "$ac_subst_files"; then
1132
for ac_var in $ac_subst_files
1134
eval ac_val=$`echo $ac_var`
1135
echo "$ac_var='"'"'$ac_val'"'"'"
1140
if test -s confdefs.h; then
1147
sed "/^$/d" confdefs.h | sort
1150
test "$ac_signal" != 0 &&
1151
echo "$as_me: caught signal $ac_signal"
1152
echo "$as_me: exit $exit_status"
1154
rm -f core *.core &&
1155
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1158
for ac_signal in 1 2 13 15; do
1159
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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.
1168
# Predefined preprocessor variables.
1170
cat >>confdefs.h <<_ACEOF
1171
#define PACKAGE_NAME "$PACKAGE_NAME"
1175
cat >>confdefs.h <<_ACEOF
1176
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180
cat >>confdefs.h <<_ACEOF
1181
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1185
cat >>confdefs.h <<_ACEOF
1186
#define PACKAGE_STRING "$PACKAGE_STRING"
1190
cat >>confdefs.h <<_ACEOF
1191
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1201
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
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
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;}
1220
[\\/]* | ?:[\\/]* ) . $cache_file;;
1221
*) . ./$cache_file;;
1225
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1226
echo "$as_me: creating cache $cache_file" >&6;}
1230
# Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1260
# Pass precious variables to config.status.
1261
if test "$ac_new_set" = set; then
1263
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1264
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1265
*) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1313
am__api_version="1.9"
1315
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1316
if test -f $ac_dir/install-sh; then
1318
ac_install_sh="$ac_aux_dir/install-sh -c"
1320
elif test -f $ac_dir/install.sh; then
1322
ac_install_sh="$ac_aux_dir/install.sh -c"
1324
elif test -f $ac_dir/shtool; then
1326
ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
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
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
1358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1362
test -z "$as_dir" && as_dir=.
1363
# Account for people who put trailing slashes in PATH elements.
1365
./ | .// | /cC/* | \
1366
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1367
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
1385
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1397
if test "${ac_cv_path_install+set}" = set; then
1398
INSTALL=$ac_cv_path_install
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
1407
echo "$as_me:$LINENO: result: $INSTALL" >&5
1408
echo "${ECHO_T}$INSTALL" >&6
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}'
1414
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1416
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
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
1429
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1430
if test "$*" = "X"; then
1432
set X `ls -t $srcdir/configure conftest.file`
1435
if test "$*" != "X $srcdir/configure conftest.file" \
1436
&& test "$*" != "X conftest.file $srcdir/configure"; then
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; }; }
1449
test "$2" = conftest.file
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; }; }
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,$//
1473
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1476
# expand $ac_aux_dir to an absolute path
1477
am_aux_dir=`cd $ac_aux_dir && pwd`
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 "
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;}
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
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 --'
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
1510
for d in ./-p ./--version;
1512
test -d $d && rmdir $d
1514
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1515
if test -f "$ac_aux_dir/mkinstalldirs"; then
1516
mkdir_p='$(mkinstalldirs)'
1518
mkdir_p='$(install_sh) -d'
1522
for ac_prog in gawk mawk nawk awk
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
1531
if test -n "$AWK"; then
1532
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1551
if test -n "$AWK"; then
1552
echo "$as_me:$LINENO: result: $AWK" >&5
1553
echo "${ECHO_T}$AWK" >&6
1555
echo "$as_me:$LINENO: result: no" >&5
1556
echo "${ECHO_T}no" >&6
1559
test -n "$AWK" && break
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
1568
cat >conftest.make <<\_ACEOF
1570
@echo 'ac_maketemp="$(MAKE)"'
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
1577
eval ac_cv_prog_make_${ac_make}_set=no
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
1586
echo "$as_me:$LINENO: result: no" >&5
1587
echo "${ECHO_T}no" >&6
1588
SET_MAKE="MAKE=${MAKE-make}"
1591
rm -rf .tst 2>/dev/null
1592
mkdir .tst 2>/dev/null
1593
if test -d .tst; then
1598
rmdir .tst 2>/dev/null
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; }; }
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'
1618
# Define the identity of the package.
1623
# Some tools Automake needs.
1625
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1628
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1631
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1634
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1637
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1639
install_sh=${install_sh-"$am_aux_dir/install-sh"}
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
1654
if test -n "$STRIP"; then
1655
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1657
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
1678
echo "$as_me:$LINENO: result: no" >&5
1679
echo "${ECHO_T}no" >&6
1683
if test -z "$ac_cv_prog_STRIP"; then
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
1692
if test -n "$ac_ct_STRIP"; then
1693
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1709
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
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
1717
echo "$as_me:$LINENO: result: no" >&5
1718
echo "${ECHO_T}no" >&6
1723
STRIP="$ac_cv_prog_STRIP"
1727
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1729
# We need awk for the "check" target. The system "awk" is bad on
1731
# Always define AMTAR for backward compatibility.
1733
AMTAR=${AMTAR-"${am_missing_run}tar"}
1735
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1743
# Checks for programs.
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
1757
if test -n "$CC"; then
1758
ac_cv_prog_CC="$CC" # Let the user override the test.
1760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1777
if test -n "$CC"; then
1778
echo "$as_me:$LINENO: result: $CC" >&5
1779
echo "${ECHO_T}$CC" >&6
1781
echo "$as_me:$LINENO: result: no" >&5
1782
echo "${ECHO_T}no" >&6
1786
if test -z "$ac_cv_prog_CC"; then
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
1795
if test -n "$ac_ct_CC"; then
1796
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
1819
echo "$as_me:$LINENO: result: no" >&5
1820
echo "${ECHO_T}no" >&6
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
1837
if test -n "$CC"; then
1838
ac_cv_prog_CC="$CC" # Let the user override the test.
1840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1857
if test -n "$CC"; then
1858
echo "$as_me:$LINENO: result: $CC" >&5
1859
echo "${ECHO_T}$CC" >&6
1861
echo "$as_me:$LINENO: result: no" >&5
1862
echo "${ECHO_T}no" >&6
1866
if test -z "$ac_cv_prog_CC"; then
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
1875
if test -n "$ac_ct_CC"; then
1876
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
1899
echo "$as_me:$LINENO: result: no" >&5
1900
echo "${ECHO_T}no" >&6
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
1917
if test -n "$CC"; then
1918
ac_cv_prog_CC="$CC" # Let the user override the test.
1921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1933
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
1948
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1954
if test -n "$CC"; then
1955
echo "$as_me:$LINENO: result: $CC" >&5
1956
echo "${ECHO_T}$CC" >&6
1958
echo "$as_me:$LINENO: result: no" >&5
1959
echo "${ECHO_T}no" >&6
1963
if test -z "$CC"; then
1964
if test -n "$ac_tool_prefix"; then
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
1974
if test -n "$CC"; then
1975
ac_cv_prog_CC="$CC" # Let the user override the test.
1977
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1994
if test -n "$CC"; then
1995
echo "$as_me:$LINENO: result: $CC" >&5
1996
echo "${ECHO_T}$CC" >&6
1998
echo "$as_me:$LINENO: result: no" >&5
1999
echo "${ECHO_T}no" >&6
2002
test -n "$CC" && break
2005
if test -z "$CC"; then
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
2016
if test -n "$ac_ct_CC"; then
2017
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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
2040
echo "$as_me:$LINENO: result: no" >&5
2041
echo "${ECHO_T}no" >&6
2044
test -n "$ac_ct_CC" && break
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; }; }
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
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
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
2076
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077
(exit $ac_status); }
2079
cat >conftest.$ac_ext <<_ACEOF
2082
cat confdefs.h >>conftest.$ac_ext
2083
cat >>conftest.$ac_ext <<_ACEOF
2084
/* end confdefs.h. */
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
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
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
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.
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
2117
test -f "$ac_file" || continue
2119
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2122
# This is the source file.
2125
# We found the default executable, but exeext='' is most
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.
2140
echo "$as_me: failed program was:" >&5
2141
sed 's/^/| /' conftest.$ac_ext >&5
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; }; }
2150
ac_exeext=$ac_cv_exeext
2151
echo "$as_me:$LINENO: result: $ac_file" >&5
2152
echo "${ECHO_T}$ac_file" >&6
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
2165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166
(exit $ac_status); }; }; then
2169
if test "$cross_compiling" = maybe; then
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; }; }
2182
echo "$as_me:$LINENO: result: yes" >&5
2183
echo "${ECHO_T}yes" >&6
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
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
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
2205
for ac_file in conftest.exe conftest conftest.*; do
2206
test -f "$ac_file" || continue
2208
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2209
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }
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
2227
rm -f conftest.$ac_ext
2228
EXEEXT=$ac_cv_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
2235
cat >conftest.$ac_ext <<_ACEOF
2238
cat confdefs.h >>conftest.$ac_ext
2239
cat >>conftest.$ac_ext <<_ACEOF
2240
/* end confdefs.h. */
2250
rm -f conftest.o conftest.obj
2251
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252
(eval $ac_compile) 2>&5
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
2258
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2259
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2264
echo "$as_me: failed program was:" >&5
2265
sed 's/^/| /' conftest.$ac_ext >&5
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; }; }
2274
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2276
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2277
echo "${ECHO_T}$ac_cv_objext" >&6
2278
OBJEXT=$ac_cv_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
2285
cat >conftest.$ac_ext <<_ACEOF
2288
cat confdefs.h >>conftest.$ac_ext
2289
cat >>conftest.$ac_ext <<_ACEOF
2290
/* end confdefs.h. */
2303
rm -f conftest.$ac_objext
2304
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2305
(eval $ac_compile) 2>conftest.er1
2307
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
(exit $ac_status); }; }; then
2326
echo "$as_me: failed program was:" >&5
2327
sed 's/^/| /' conftest.$ac_ext >&5
2331
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2332
ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
2346
cat >conftest.$ac_ext <<_ACEOF
2349
cat confdefs.h >>conftest.$ac_ext
2350
cat >>conftest.$ac_ext <<_ACEOF
2351
/* end confdefs.h. */
2361
rm -f conftest.$ac_objext
2362
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363
(eval $ac_compile) 2>conftest.er1
2365
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381
(exit $ac_status); }; }; then
2384
echo "$as_me: failed program was:" >&5
2385
sed 's/^/| /' conftest.$ac_ext >&5
2389
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
2402
if test "$GCC" = yes; then
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
2413
ac_cv_prog_cc_stdc=no
2415
cat >conftest.$ac_ext <<_ACEOF
2418
cat confdefs.h >>conftest.$ac_ext
2419
cat >>conftest.$ac_ext <<_ACEOF
2420
/* end confdefs.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)
2434
static char *f (char * (*g) (char **, int), char **p, ...)
2439
s = g (p, va_arg (v,int));
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];
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);
2462
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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__"
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
2481
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2496
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
(exit $ac_status); }; }; then
2498
ac_cv_prog_cc_stdc=$ac_arg
2501
echo "$as_me: failed program was:" >&5
2502
sed 's/^/| /' conftest.$ac_ext >&5
2505
rm -f conftest.err conftest.$ac_objext
2507
rm -f conftest.$ac_ext conftest.$ac_objext
2512
case "x$ac_cv_prog_cc_stdc" in
2514
echo "$as_me:$LINENO: result: none needed" >&5
2515
echo "${ECHO_T}none needed" >&6 ;;
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" ;;
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
2531
rm -f conftest.$ac_objext
2532
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2533
(eval $ac_compile) 2>conftest.er1
2535
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551
(exit $ac_status); }; }; then
2552
for ac_declaration in \
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);' \
2560
cat >conftest.$ac_ext <<_ACEOF
2563
cat confdefs.h >>conftest.$ac_ext
2564
cat >>conftest.$ac_ext <<_ACEOF
2565
/* end confdefs.h. */
2576
rm -f conftest.$ac_objext
2577
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578
(eval $ac_compile) 2>conftest.er1
2580
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596
(exit $ac_status); }; }; then
2599
echo "$as_me: failed program was:" >&5
2600
sed 's/^/| /' conftest.$ac_ext >&5
2604
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2605
cat >conftest.$ac_ext <<_ACEOF
2608
cat confdefs.h >>conftest.$ac_ext
2609
cat >>conftest.$ac_ext <<_ACEOF
2610
/* end confdefs.h. */
2620
rm -f conftest.$ac_objext
2621
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622
(eval $ac_compile) 2>conftest.er1
2624
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640
(exit $ac_status); }; }; then
2643
echo "$as_me: failed program was:" >&5
2644
sed 's/^/| /' conftest.$ac_ext >&5
2647
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2650
if test -n "$ac_declaration"; then
2651
echo '#ifdef __cplusplus' >>confdefs.h
2652
echo $ac_declaration >>confdefs.h
2653
echo '#endif' >>confdefs.h
2657
echo "$as_me: failed program was:" >&5
2658
sed 's/^/| /' conftest.$ac_ext >&5
2661
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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"
2669
ac_config_commands="$ac_config_commands depfiles"
2672
am_make=${MAKE-make}
2673
cat > confinc << '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
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
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
2707
echo "$as_me:$LINENO: result: $_am_result" >&5
2708
echo "${ECHO_T}$_am_result" >&6
2709
rm -f confinc confmf
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"
2716
if test "x$enable_dependency_tracking" != xno; then
2717
am_depcomp="$ac_aux_dir/depcomp"
2722
if test "x$enable_dependency_tracking" != xno; then
2733
depcc="$CC" am_compiler_list=
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
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
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
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
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`
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.
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.
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
2778
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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
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
2821
am_cv_CC_dependencies_compiler_type=none
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
2832
test "x$enable_dependency_tracking" != xno \
2833
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2835
am__fastdepCC_FALSE='#'
2837
am__fastdepCC_TRUE='#'
2838
am__fastdepCC_FALSE=
2843
# Checks for libraries.
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
2851
ac_check_lib_save_LIBS=$LIBS
2853
cat >conftest.$ac_ext <<_ACEOF
2856
cat confdefs.h >>conftest.$ac_ext
2857
cat >>conftest.$ac_ext <<_ACEOF
2858
/* end confdefs.h. */
2860
/* Override any gcc2 internal prototype to avoid an error. */
2864
/* We use char because int might match the return type of a gcc2
2865
builtin and then its argument prototype would still apply. */
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
2879
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895
(exit $ac_status); }; }; then
2896
ac_cv_lib_fuse_fuse_main=yes
2898
echo "$as_me: failed program was:" >&5
2899
sed 's/^/| /' conftest.$ac_ext >&5
2901
ac_cv_lib_fuse_fuse_main=no
2903
rm -f conftest.err conftest.$ac_objext \
2904
conftest$ac_exeext conftest.$ac_ext
2905
LIBS=$ac_check_lib_save_LIBS
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
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
2924
ac_check_lib_save_LIBS=$LIBS
2925
LIBS="-lpthread $LIBS"
2926
cat >conftest.$ac_ext <<_ACEOF
2929
cat confdefs.h >>conftest.$ac_ext
2930
cat >>conftest.$ac_ext <<_ACEOF
2931
/* end confdefs.h. */
2933
/* Override any gcc2 internal prototype to avoid an error. */
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 ();
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
2952
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
(exit $ac_status); }; }; then
2969
ac_cv_lib_pthread_pthread_create=yes
2971
echo "$as_me: failed program was:" >&5
2972
sed 's/^/| /' conftest.$ac_ext >&5
2974
ac_cv_lib_pthread_pthread_create=no
2976
rm -f conftest.err conftest.$ac_objext \
2977
conftest$ac_exeext conftest.$ac_ext
2978
LIBS=$ac_check_lib_save_LIBS
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
2987
LIBS="-lpthread $LIBS"
2992
# Checks for header files.
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
3006
cat >conftest.$ac_ext <<_ACEOF
3009
cat confdefs.h >>conftest.$ac_ext
3010
cat >>conftest.$ac_ext <<_ACEOF
3011
/* end confdefs.h. */
3012
#include <sys/types.h>
3024
rm -f conftest.$ac_objext
3025
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026
(eval $ac_compile) 2>conftest.er1
3028
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3043
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044
(exit $ac_status); }; }; then
3045
eval "$as_ac_Header=yes"
3047
echo "$as_me: failed program was:" >&5
3048
sed 's/^/| /' conftest.$ac_ext >&5
3050
eval "$as_ac_Header=no"
3052
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
3061
ac_header_dirent=$ac_hdr; break
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
3072
ac_func_search_save_LIBS=$LIBS
3073
ac_cv_search_opendir=no
3074
cat >conftest.$ac_ext <<_ACEOF
3077
cat confdefs.h >>conftest.$ac_ext
3078
cat >>conftest.$ac_ext <<_ACEOF
3079
/* end confdefs.h. */
3081
/* Override any gcc2 internal prototype to avoid an error. */
3085
/* We use char because int might match the return type of a gcc2
3086
builtin and then its argument prototype would still apply. */
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
3100
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116
(exit $ac_status); }; }; then
3117
ac_cv_search_opendir="none required"
3119
echo "$as_me: failed program was:" >&5
3120
sed 's/^/| /' conftest.$ac_ext >&5
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
3131
cat confdefs.h >>conftest.$ac_ext
3132
cat >>conftest.$ac_ext <<_ACEOF
3133
/* end confdefs.h. */
3135
/* Override any gcc2 internal prototype to avoid an error. */
3139
/* We use char because int might match the return type of a gcc2
3140
builtin and then its argument prototype would still apply. */
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
3154
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170
(exit $ac_status); }; }; then
3171
ac_cv_search_opendir="-l$ac_lib"
3174
echo "$as_me: failed program was:" >&5
3175
sed 's/^/| /' conftest.$ac_ext >&5
3178
rm -f conftest.err conftest.$ac_objext \
3179
conftest$ac_exeext conftest.$ac_ext
3182
LIBS=$ac_func_search_save_LIBS
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"
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
3197
ac_func_search_save_LIBS=$LIBS
3198
ac_cv_search_opendir=no
3199
cat >conftest.$ac_ext <<_ACEOF
3202
cat confdefs.h >>conftest.$ac_ext
3203
cat >>conftest.$ac_ext <<_ACEOF
3204
/* end confdefs.h. */
3206
/* Override any gcc2 internal prototype to avoid an error. */
3210
/* We use char because int might match the return type of a gcc2
3211
builtin and then its argument prototype would still apply. */
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
3225
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241
(exit $ac_status); }; }; then
3242
ac_cv_search_opendir="none required"
3244
echo "$as_me: failed program was:" >&5
3245
sed 's/^/| /' conftest.$ac_ext >&5
3248
rm -f conftest.err conftest.$ac_objext \
3249
conftest$ac_exeext conftest.$ac_ext
3250
if test "$ac_cv_search_opendir" = no; then
3252
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3253
cat >conftest.$ac_ext <<_ACEOF
3256
cat confdefs.h >>conftest.$ac_ext
3257
cat >>conftest.$ac_ext <<_ACEOF
3258
/* end confdefs.h. */
3260
/* Override any gcc2 internal prototype to avoid an error. */
3264
/* We use char because int might match the return type of a gcc2
3265
builtin and then its argument prototype would still apply. */
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
3279
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295
(exit $ac_status); }; }; then
3296
ac_cv_search_opendir="-l$ac_lib"
3299
echo "$as_me: failed program was:" >&5
3300
sed 's/^/| /' conftest.$ac_ext >&5
3303
rm -f conftest.err conftest.$ac_objext \
3304
conftest$ac_exeext conftest.$ac_ext
3307
LIBS=$ac_func_search_save_LIBS
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"
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
3329
if test -z "$CPP"; then
3330
if test "${ac_cv_prog_CPP+set}" = set; then
3331
echo $ECHO_N "(cached) $ECHO_C" >&6
3333
# Double quotes because CPP needs to be expanded
3334
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3337
for ac_c_preproc_warn_flag in '' yes
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
3348
cat confdefs.h >>conftest.$ac_ext
3349
cat >>conftest.$ac_ext <<_ACEOF
3350
/* end confdefs.h. */
3352
# include <limits.h>
3354
# include <assert.h>
3358
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3359
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3361
grep -v '^ *+' conftest.er1 >conftest.err
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
3375
if test -z "$ac_cpp_err"; then
3378
echo "$as_me: failed program was:" >&5
3379
sed 's/^/| /' conftest.$ac_ext >&5
3381
# Broken: fails on valid input.
3384
rm -f conftest.err conftest.$ac_ext
3386
# OK, works on sane cases. Now check whether non-existent headers
3387
# can be detected and how.
3388
cat >conftest.$ac_ext <<_ACEOF
3391
cat confdefs.h >>conftest.$ac_ext
3392
cat >>conftest.$ac_ext <<_ACEOF
3393
/* end confdefs.h. */
3394
#include <ac_nonexistent.h>
3396
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3397
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3399
grep -v '^ *+' conftest.er1 >conftest.err
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
3413
if test -z "$ac_cpp_err"; then
3414
# Broken: success on invalid input.
3417
echo "$as_me: failed program was:" >&5
3418
sed 's/^/| /' conftest.$ac_ext >&5
3420
# Passes both tests.
3424
rm -f conftest.err conftest.$ac_ext
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
3441
echo "$as_me:$LINENO: result: $CPP" >&5
3442
echo "${ECHO_T}$CPP" >&6
3444
for ac_c_preproc_warn_flag in '' yes
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
3455
cat confdefs.h >>conftest.$ac_ext
3456
cat >>conftest.$ac_ext <<_ACEOF
3457
/* end confdefs.h. */
3459
# include <limits.h>
3461
# include <assert.h>
3465
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3466
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3468
grep -v '^ *+' conftest.er1 >conftest.err
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
3482
if test -z "$ac_cpp_err"; then
3485
echo "$as_me: failed program was:" >&5
3486
sed 's/^/| /' conftest.$ac_ext >&5
3488
# Broken: fails on valid input.
3491
rm -f conftest.err conftest.$ac_ext
3493
# OK, works on sane cases. Now check whether non-existent headers
3494
# can be detected and how.
3495
cat >conftest.$ac_ext <<_ACEOF
3498
cat confdefs.h >>conftest.$ac_ext
3499
cat >>conftest.$ac_ext <<_ACEOF
3500
/* end confdefs.h. */
3501
#include <ac_nonexistent.h>
3503
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3504
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3506
grep -v '^ *+' conftest.er1 >conftest.err
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
3520
if test -z "$ac_cpp_err"; then
3521
# Broken: success on invalid input.
3524
echo "$as_me: failed program was:" >&5
3525
sed 's/^/| /' conftest.$ac_ext >&5
3527
# Passes both tests.
3531
rm -f conftest.err conftest.$ac_ext
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
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; }; }
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
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
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'
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
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
3573
cat >conftest.$ac_ext <<_ACEOF
3576
cat confdefs.h >>conftest.$ac_ext
3577
cat >>conftest.$ac_ext <<_ACEOF
3578
/* end confdefs.h. */
3592
rm -f conftest.$ac_objext
3593
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594
(eval $ac_compile) 2>conftest.er1
3596
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612
(exit $ac_status); }; }; then
3613
ac_cv_header_stdc=yes
3615
echo "$as_me: failed program was:" >&5
3616
sed 's/^/| /' conftest.$ac_ext >&5
3618
ac_cv_header_stdc=no
3620
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
3627
cat confdefs.h >>conftest.$ac_ext
3628
cat >>conftest.$ac_ext <<_ACEOF
3629
/* end confdefs.h. */
3633
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3634
$EGREP "memchr" >/dev/null 2>&1; then
3637
ac_cv_header_stdc=no
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
3648
cat confdefs.h >>conftest.$ac_ext
3649
cat >>conftest.$ac_ext <<_ACEOF
3650
/* end confdefs.h. */
3654
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3655
$EGREP "free" >/dev/null 2>&1; then
3658
ac_cv_header_stdc=no
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
3669
cat >conftest.$ac_ext <<_ACEOF
3672
cat confdefs.h >>conftest.$ac_ext
3673
cat >>conftest.$ac_ext <<_ACEOF
3674
/* end confdefs.h. */
3676
#if ((' ' & 0x0FF) == 0x020)
3677
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3678
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
3687
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3692
for (i = 0; i < 256; i++)
3693
if (XOR (islower (i), ISLOWER (i))
3694
|| toupper (i) != TOUPPER (i))
3699
rm -f conftest$ac_exeext
3700
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3701
(eval $ac_link) 2>&5
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
3708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709
(exit $ac_status); }; }; then
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
3717
ac_cv_header_stdc=no
3719
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
3727
cat >>confdefs.h <<\_ACEOF
3728
#define STDC_HEADERS 1
3733
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
3752
cat >conftest.$ac_ext <<_ACEOF
3755
cat confdefs.h >>conftest.$ac_ext
3756
cat >>conftest.$ac_ext <<_ACEOF
3757
/* end confdefs.h. */
3758
$ac_includes_default
3760
#include <$ac_header>
3762
rm -f conftest.$ac_objext
3763
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3764
(eval $ac_compile) 2>conftest.er1
3766
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782
(exit $ac_status); }; }; then
3783
eval "$as_ac_Header=yes"
3785
echo "$as_me: failed program was:" >&5
3786
sed 's/^/| /' conftest.$ac_ext >&5
3788
eval "$as_ac_Header=no"
3790
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
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
3823
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3824
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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>
3838
rm -f conftest.$ac_objext
3839
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3840
(eval $ac_compile) 2>conftest.er1
3842
grep -v '^ *+' conftest.er1 >conftest.err
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
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
3857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858
(exit $ac_status); }; }; then
3859
ac_header_compiler=yes
3861
echo "$as_me: failed program was:" >&5
3862
sed 's/^/| /' conftest.$ac_ext >&5
3864
ac_header_compiler=no
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
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
3876
cat confdefs.h >>conftest.$ac_ext
3877
cat >>conftest.$ac_ext <<_ACEOF
3878
/* end confdefs.h. */
3879
#include <$ac_header>
3881
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3882
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3884
grep -v '^ *+' conftest.er1 >conftest.err
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
3898
if test -z "$ac_cpp_err"; then
3899
ac_header_preproc=yes
3901
echo "$as_me: failed program was:" >&5
3902
sed 's/^/| /' conftest.$ac_ext >&5
3904
ac_header_preproc=no
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
3910
# So? What about this header?
3911
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
3934
## -------------------------------- ##
3935
## Report this to sbalneav@ltsp.org ##
3936
## -------------------------------- ##
3939
sed "s/^/$as_me: WARNING: /" >&2
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
3947
eval "$as_ac_Header=\$ac_header_preproc"
3949
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3950
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
3963
ac_config_files="$ac_config_files Makefile"
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.
3972
# config.status only pays attention to the cache file if you give it
3973
# the --recheck option to rerun configure.
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
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.
3988
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3990
# `set' does not quote correctly, so add quotes (double-quote
3991
# substitution turns \\\\ into \\, and sed turns \\ into \).
3994
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3997
# `set' quotes correctly as required by POSIX, so do not add quotes.
3999
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4006
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4008
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
4015
echo "not updating unwritable cache $cache_file"
4020
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4021
# Let make expand exec_prefix.
4022
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
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}:*/:/;
4033
s/^\([^=]*=[ ]*\):*/\1/;
4039
# Transform confdefs.h into DEFS.
4040
# Protect against shell expansion while executing Makefile rules.
4041
# Protect against Makefile macro expansion.
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
4049
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4051
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4055
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
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
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
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$//'`
4079
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4080
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4084
LTLIBOBJS=$ac_ltlibobjs
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; }; }
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; }; }
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
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.
4117
SHELL=\${CONFIG_SHELL-$SHELL}
4120
cat >>$CONFIG_STATUS <<\_ACEOF
4121
## --------------------- ##
4122
## M4sh Initialization. ##
4123
## --------------------- ##
4125
# Be Bourne compatible
4126
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
4135
DUALCASE=1; export DUALCASE # for MKS sh
4137
# Support unset when possible.
4138
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4145
# Work around bugs in pre-3.0 UWIN ksh.
4146
$as_unset ENV MAIL MAILPATH
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
4157
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4158
eval $as_var=C; export $as_var
4164
# Required to use basename.
4165
if expr a : '\(a\)' >/dev/null 2>&1; then
4171
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4172
as_basename=basename
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 ||
4185
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4186
/^X\/\(\/\/\)$/{ s//\1/; q; }
4187
/^X\/\(\/\).*/{ s//\1/; q; }
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
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
4204
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
4221
*[\\/]* ) as_myself=$0 ;;
4222
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226
test -z "$as_dir" && as_dir=.
4227
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
4242
case $CONFIG_SHELL in
4244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4248
test -z "$as_dir" && as_dir=.
4249
for as_base in sh bash ksh sh5; do
4252
if ("$as_dir/$as_base" -c '
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
4262
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
4283
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4286
s,^['$as_cr_digits']*\n,,
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; }; }
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).
4297
# Exit status is that of the last command.
4302
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4303
*c*,-n*) ECHO_N= ECHO_C='
4305
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4306
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4309
if expr a : '\(a\)' >/dev/null 2>&1; then
4315
rm -f conf$$ conf$$.exe 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
4326
elif ln conf$$.file conf$$ 2>/dev/null; then
4331
rm -f conf$$ conf$$.exe conf$$.file
4333
if mkdir -p . 2>/dev/null; then
4336
test -d ./-p && rmdir ./-p
4340
as_executable_p="test -f"
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'"
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'"
4350
# We need space, tab and new line, in precisely that order.
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.
4366
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4367
## Running $as_me. ##
4372
This file was extended by ltspfs $as_me 0.2, which was
4373
generated by GNU Autoconf 2.59. Invocation command line was
4375
CONFIG_FILES = $CONFIG_FILES
4376
CONFIG_HEADERS = $CONFIG_HEADERS
4377
CONFIG_LINKS = $CONFIG_LINKS
4378
CONFIG_COMMANDS = $CONFIG_COMMANDS
4382
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
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
4391
if test -n "$ac_config_headers"; then
4392
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4395
if test -n "$ac_config_links"; then
4396
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4399
if test -n "$ac_config_commands"; then
4400
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4403
cat >>$CONFIG_STATUS <<\_ACEOF
4406
\`$as_me' instantiates files from templates according to the
4407
current configuration.
4409
Usage: $0 [OPTIONS] [FILE]...
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
4419
Configuration files:
4422
Configuration commands:
4425
Report bugs to <bug-autoconf@gnu.org>."
4428
cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
4449
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4450
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4458
*) # This is not an option, so the user has probably given explicit
4461
ac_need_defaults=false;;
4465
# Handling of the options.
4467
cat >>$CONFIG_STATUS <<\_ACEOF
4468
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4470
--version | --vers* | -V )
4471
echo "$ac_cs_version"; exit 0 ;;
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 )
4483
--file | --fil | --fi | --f )
4485
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4486
ac_need_defaults=false;;
4487
--header | --heade | --head | --hea )
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)
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; }; } ;;
4502
*) ac_config_targets="$ac_config_targets $1" ;;
4508
ac_configure_extra_args=
4510
if $ac_cs_silent; then
4512
ac_configure_extra_args="$ac_configure_extra_args --silent"
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
4524
cat >>$CONFIG_STATUS <<_ACEOF
4526
# INIT-COMMANDS section.
4529
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4535
cat >>$CONFIG_STATUS <<\_ACEOF
4536
for ac_config_target in $ac_config_targets
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; }; };;
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
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.
4563
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4564
trap '{ (exit 1); exit 1; }' 1 2 13 15
4567
# Create a (secure) tmp directory for tmp files.
4570
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4571
test -n "$tmp" && test -d "$tmp"
4574
tmp=./confstat$$-$RANDOM
4575
(umask 077 && mkdir $tmp)
4578
echo "$me: cannot create a temporary directory in ." >&2
4579
{ (exit 1); exit 1; }
4584
cat >>$CONFIG_STATUS <<_ACEOF
4587
# CONFIG_FILES section.
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
4622
s,@ECHO_C@,$ECHO_C,;t t
4623
s,@ECHO_N@,$ECHO_N,;t t
4624
s,@ECHO_T@,$ECHO_T,;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
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
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
4665
s,@EGREP@,$EGREP,;t t
4666
s,@LIBOBJS@,$LIBOBJS,;t t
4667
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
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.
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.
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
4685
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4687
if test ! -s $tmp/subs.frag; then
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.
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"
4699
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4701
ac_sed_frag=`expr $ac_sed_frag + 1`
4703
ac_end=`expr $ac_end + $ac_max_sed_lines`
4706
if test -z "$ac_sed_cmds"; then
4709
fi # test -n "$CONFIG_FILES"
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".
4716
- | *:- | *:-:* ) # input from 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 ;;
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 ||
4733
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4734
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4735
/^X\(\/\/\)$/{ s//\1/; q; }
4736
/^X\(\/\).*/{ s//\1/; q; }
4738
{ if $as_mkdir_p; then
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 ||
4752
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4753
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4754
/^X\(\/\/\)$/{ s//\1/; q; }
4755
/^X\(\/\).*/{ s//\1/; q; }
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; }; }; }
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'`
4770
ac_dir_suffix= ac_top_builddir=
4774
.) # No --srcdir option. We are building in place.
4776
if test -z "$ac_top_builddir"; then
4779
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4781
[\\/]* | ?:[\\/]* ) # Absolute path.
4782
ac_srcdir=$srcdir$ac_dir_suffix;
4783
ac_top_srcdir=$srcdir ;;
4785
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4786
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4789
# Do not use `cd foo && pwd` to compute absolute paths, because
4790
# the directories may not exist.
4792
.) ac_abs_builddir="$ac_dir";;
4795
.) ac_abs_builddir=`pwd`;;
4796
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4797
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4800
case $ac_abs_builddir in
4801
.) ac_abs_top_builddir=${ac_top_builddir}.;;
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}.;;
4809
case $ac_abs_builddir in
4810
.) ac_abs_srcdir=$ac_srcdir;;
4813
.) ac_abs_srcdir=$ac_abs_builddir;;
4814
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4815
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4818
case $ac_abs_builddir in
4819
.) ac_abs_top_srcdir=$ac_top_srcdir;;
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;;
4830
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4831
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
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
4840
configure_input="$ac_file. "
4842
configure_input=$configure_input"Generated from `echo $ac_file_in |
4843
sed 's,.*/,,'` by configure."
4845
# First look for the input files in the build tree, otherwise in the
4847
ac_file_inputs=`IFS=:
4848
for f in $ac_file_in; do
4850
-) echo $tmp/stdin ;;
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; }; }
4858
if test -f "$f"; then
4861
elif test -f "$srcdir/$f"; then
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; }; }
4871
done` || { (exit 1); exit 1; }
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;}
4879
cat >>$CONFIG_STATUS <<_ACEOF
4883
cat >>$CONFIG_STATUS <<\_ACEOF
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
4898
if test x"$ac_file" != x-; then
4899
mv $tmp/out $ac_file
4907
cat >>$CONFIG_STATUS <<\_ACEOF
4910
# CONFIG_COMMANDS section.
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 ||
4922
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4923
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4924
/^X\(\/\/\)$/{ s//\1/; q; }
4925
/^X\(\/\).*/{ s//\1/; q; }
4927
{ if $as_mkdir_p; then
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 ||
4941
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4942
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4943
/^X\(\/\/\)$/{ s//\1/; q; }
4944
/^X\(\/\).*/{ s//\1/; q; }
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; }; }; }
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'`
4959
ac_dir_suffix= ac_top_builddir=
4963
.) # No --srcdir option. We are building in place.
4965
if test -z "$ac_top_builddir"; then
4968
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4970
[\\/]* | ?:[\\/]* ) # Absolute path.
4971
ac_srcdir=$srcdir$ac_dir_suffix;
4972
ac_top_srcdir=$srcdir ;;
4974
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4975
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4978
# Do not use `cd foo && pwd` to compute absolute paths, because
4979
# the directories may not exist.
4981
.) ac_abs_builddir="$ac_dir";;
4984
.) ac_abs_builddir=`pwd`;;
4985
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4986
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4989
case $ac_abs_builddir in
4990
.) ac_abs_top_builddir=${ac_top_builddir}.;;
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}.;;
4998
case $ac_abs_builddir in
4999
.) ac_abs_srcdir=$ac_srcdir;;
5002
.) ac_abs_srcdir=$ac_abs_builddir;;
5003
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5004
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5007
case $ac_abs_builddir in
5008
.) ac_abs_top_srcdir=$ac_top_srcdir;;
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;;
5018
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5019
echo "$as_me: executing $ac_dest commands" >&6;}
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 ||
5038
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5039
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5040
/^X\(\/\/\)$/{ s//\1/; q; }
5041
/^X\(\/\).*/{ s//\1/; q; }
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
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 ||
5071
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5072
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5073
/^X\(\/\/\)$/{ s//\1/; q; }
5074
/^X\(\/\).*/{ s//\1/; q; }
5076
{ if $as_mkdir_p; then
5077
mkdir -p $dirpart/$fdir
5079
as_dir=$dirpart/$fdir
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 ||
5090
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5091
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5092
/^X\(\/\/\)$/{ s//\1/; q; }
5093
/^X\(\/\).*/{ s//\1/; q; }
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; }; }; }
5101
# echo "creating $dirpart/$file"
5102
echo '# dummy' > "$dirpart/$file"
5110
cat >>$CONFIG_STATUS <<\_ACEOF
5112
{ (exit 0); exit 0; }
5114
chmod +x $CONFIG_STATUS
5115
ac_clean_files=$ac_clean_files_save
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
5128
ac_config_status_args=
5129
test "$silent" = yes &&
5130
ac_config_status_args="$ac_config_status_args --quiet"
5132
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }