2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for MTPfs 0.9.
5
# Report bugs to <Chris Debenham <chris@adebenham.com>>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
exec 7<&0 </dev/null 6>&1
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
574
# Identity of this package.
576
PACKAGE_TARNAME='mtpfs'
577
PACKAGE_VERSION='0.9'
578
PACKAGE_STRING='MTPfs 0.9'
579
PACKAGE_BUGREPORT='Chris Debenham <chris@adebenham.com>'
590
program_transform_name
632
INSTALL_STRIP_PROGRAM
662
ac_precious_vars='build_alias
675
# Initialize some variables set by options.
677
ac_init_version=false
678
# The variables have the same names as the options, with
679
# dashes changed to underlines.
687
program_transform_name=s,x,x,
695
# Installation directory options.
696
# These are left unexpanded so users can "make install exec_prefix=/foo"
697
# and all the variables that are supposed to be based on exec_prefix
698
# by default will actually change.
699
# Use braces instead of parens because sh, perl, etc. also accept them.
700
# (The list follows the same order as the GNU Coding Standards.)
701
bindir='${exec_prefix}/bin'
702
sbindir='${exec_prefix}/sbin'
703
libexecdir='${exec_prefix}/libexec'
704
datarootdir='${prefix}/share'
705
datadir='${datarootdir}'
706
sysconfdir='${prefix}/etc'
707
sharedstatedir='${prefix}/com'
708
localstatedir='${prefix}/var'
709
includedir='${prefix}/include'
710
oldincludedir='/usr/include'
711
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
712
infodir='${datarootdir}/info'
717
libdir='${exec_prefix}/lib'
718
localedir='${datarootdir}/locale'
719
mandir='${datarootdir}/man'
725
# If the previous option needs an argument, assign it.
726
if test -n "$ac_prev"; then
727
eval $ac_prev=\$ac_option
733
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
737
# Accept the important Cygnus configure options, so we can diagnose typos.
739
case $ac_dashdash$ac_option in
743
-bindir | --bindir | --bindi | --bind | --bin | --bi)
745
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
748
-build | --build | --buil | --bui | --bu)
749
ac_prev=build_alias ;;
750
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
751
build_alias=$ac_optarg ;;
753
-cache-file | --cache-file | --cache-fil | --cache-fi \
754
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
755
ac_prev=cache_file ;;
756
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
757
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
758
cache_file=$ac_optarg ;;
761
cache_file=config.cache ;;
763
-datadir | --datadir | --datadi | --datad)
765
-datadir=* | --datadir=* | --datadi=* | --datad=*)
766
datadir=$ac_optarg ;;
768
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
769
| --dataroo | --dataro | --datar)
770
ac_prev=datarootdir ;;
771
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
772
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
773
datarootdir=$ac_optarg ;;
775
-disable-* | --disable-*)
776
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
777
# Reject names that are not valid shell variable names.
778
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
779
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
780
{ (exit 1); exit 1; }; }
781
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
782
eval enable_$ac_feature=no ;;
784
-docdir | --docdir | --docdi | --doc | --do)
786
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
791
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
794
-enable-* | --enable-*)
795
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796
# Reject names that are not valid shell variable names.
797
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
798
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
799
{ (exit 1); exit 1; }; }
800
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
801
eval enable_$ac_feature=\$ac_optarg ;;
803
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
804
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
805
| --exec | --exe | --ex)
806
ac_prev=exec_prefix ;;
807
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
808
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
809
| --exec=* | --exe=* | --ex=*)
810
exec_prefix=$ac_optarg ;;
812
-gas | --gas | --ga | --g)
813
# Obsolete; use --with-gas.
816
-help | --help | --hel | --he | -h)
818
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
819
ac_init_help=recursive ;;
820
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
821
ac_init_help=short ;;
823
-host | --host | --hos | --ho)
824
ac_prev=host_alias ;;
825
-host=* | --host=* | --hos=* | --ho=*)
826
host_alias=$ac_optarg ;;
828
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
830
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
832
htmldir=$ac_optarg ;;
834
-includedir | --includedir | --includedi | --included | --include \
835
| --includ | --inclu | --incl | --inc)
836
ac_prev=includedir ;;
837
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
838
| --includ=* | --inclu=* | --incl=* | --inc=*)
839
includedir=$ac_optarg ;;
841
-infodir | --infodir | --infodi | --infod | --info | --inf)
843
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
844
infodir=$ac_optarg ;;
846
-libdir | --libdir | --libdi | --libd)
848
-libdir=* | --libdir=* | --libdi=* | --libd=*)
851
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
852
| --libexe | --libex | --libe)
853
ac_prev=libexecdir ;;
854
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
855
| --libexe=* | --libex=* | --libe=*)
856
libexecdir=$ac_optarg ;;
858
-localedir | --localedir | --localedi | --localed | --locale)
860
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
861
localedir=$ac_optarg ;;
863
-localstatedir | --localstatedir | --localstatedi | --localstated \
864
| --localstate | --localstat | --localsta | --localst | --locals)
865
ac_prev=localstatedir ;;
866
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
867
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
868
localstatedir=$ac_optarg ;;
870
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
872
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876
# Obsolete; use --without-fp.
879
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
880
| --no-cr | --no-c | -n)
883
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
884
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
887
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
888
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
889
| --oldin | --oldi | --old | --ol | --o)
890
ac_prev=oldincludedir ;;
891
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
892
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
893
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
894
oldincludedir=$ac_optarg ;;
896
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
898
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
901
-program-prefix | --program-prefix | --program-prefi | --program-pref \
902
| --program-pre | --program-pr | --program-p)
903
ac_prev=program_prefix ;;
904
-program-prefix=* | --program-prefix=* | --program-prefi=* \
905
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
906
program_prefix=$ac_optarg ;;
908
-program-suffix | --program-suffix | --program-suffi | --program-suff \
909
| --program-suf | --program-su | --program-s)
910
ac_prev=program_suffix ;;
911
-program-suffix=* | --program-suffix=* | --program-suffi=* \
912
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
913
program_suffix=$ac_optarg ;;
915
-program-transform-name | --program-transform-name \
916
| --program-transform-nam | --program-transform-na \
917
| --program-transform-n | --program-transform- \
918
| --program-transform | --program-transfor \
919
| --program-transfo | --program-transf \
920
| --program-trans | --program-tran \
921
| --progr-tra | --program-tr | --program-t)
922
ac_prev=program_transform_name ;;
923
-program-transform-name=* | --program-transform-name=* \
924
| --program-transform-nam=* | --program-transform-na=* \
925
| --program-transform-n=* | --program-transform-=* \
926
| --program-transform=* | --program-transfor=* \
927
| --program-transfo=* | --program-transf=* \
928
| --program-trans=* | --program-tran=* \
929
| --progr-tra=* | --program-tr=* | --program-t=*)
930
program_transform_name=$ac_optarg ;;
932
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
934
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
937
-psdir | --psdir | --psdi | --psd | --ps)
939
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
942
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
943
| -silent | --silent | --silen | --sile | --sil)
946
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
948
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
950
sbindir=$ac_optarg ;;
952
-sharedstatedir | --sharedstatedir | --sharedstatedi \
953
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
954
| --sharedst | --shareds | --shared | --share | --shar \
956
ac_prev=sharedstatedir ;;
957
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
958
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
959
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
961
sharedstatedir=$ac_optarg ;;
963
-site | --site | --sit)
965
-site=* | --site=* | --sit=*)
968
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
970
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
973
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
974
| --syscon | --sysco | --sysc | --sys | --sy)
975
ac_prev=sysconfdir ;;
976
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
977
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
978
sysconfdir=$ac_optarg ;;
980
-target | --target | --targe | --targ | --tar | --ta | --t)
981
ac_prev=target_alias ;;
982
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
983
target_alias=$ac_optarg ;;
985
-v | -verbose | --verbose | --verbos | --verbo | --verb)
988
-version | --version | --versio | --versi | --vers | -V)
992
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
993
# Reject names that are not valid shell variable names.
994
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
995
{ echo "$as_me: error: invalid package name: $ac_package" >&2
996
{ (exit 1); exit 1; }; }
997
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
998
eval with_$ac_package=\$ac_optarg ;;
1000
-without-* | --without-*)
1001
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1002
# Reject names that are not valid shell variable names.
1003
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1004
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1005
{ (exit 1); exit 1; }; }
1006
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1007
eval with_$ac_package=no ;;
1010
# Obsolete; use --with-x.
1013
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1014
| --x-incl | --x-inc | --x-in | --x-i)
1015
ac_prev=x_includes ;;
1016
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1017
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1018
x_includes=$ac_optarg ;;
1020
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1021
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1022
ac_prev=x_libraries ;;
1023
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1024
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1025
x_libraries=$ac_optarg ;;
1027
-*) { echo "$as_me: error: unrecognized option: $ac_option
1028
Try \`$0 --help' for more information." >&2
1029
{ (exit 1); exit 1; }; }
1033
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1034
# Reject names that are not valid shell variable names.
1035
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1036
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1037
{ (exit 1); exit 1; }; }
1038
eval $ac_envvar=\$ac_optarg
1039
export $ac_envvar ;;
1042
# FIXME: should be removed in autoconf 3.0.
1043
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1044
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1045
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1046
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1052
if test -n "$ac_prev"; then
1053
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1054
{ echo "$as_me: error: missing argument to $ac_option" >&2
1055
{ (exit 1); exit 1; }; }
1058
# Be sure to have absolute directory names.
1059
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1060
datadir sysconfdir sharedstatedir localstatedir includedir \
1061
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1062
libdir localedir mandir
1064
eval ac_val=\$$ac_var
1066
[\\/$]* | ?:[\\/]* ) continue;;
1067
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1069
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1070
{ (exit 1); exit 1; }; }
1073
# There might be people who depend on the old broken behavior: `$host'
1074
# used to hold the argument of --host etc.
1075
# FIXME: To remove some day.
1078
target=$target_alias
1080
# FIXME: To remove some day.
1081
if test "x$host_alias" != x; then
1082
if test "x$build_alias" = x; then
1083
cross_compiling=maybe
1084
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1085
If a cross compiler is detected then cross compile mode will be used." >&2
1086
elif test "x$build_alias" != "x$host_alias"; then
1092
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1094
test "$silent" = yes && exec 6>/dev/null
1097
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1098
ac_ls_di=`ls -di .` &&
1099
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1100
{ echo "$as_me: error: Working directory cannot be determined" >&2
1101
{ (exit 1); exit 1; }; }
1102
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1103
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1104
{ (exit 1); exit 1; }; }
1107
# Find the source files, if location was not specified.
1108
if test -z "$srcdir"; then
1109
ac_srcdir_defaulted=yes
1110
# Try the directory containing this script, then the parent directory.
1111
ac_confdir=`$as_dirname -- "$0" ||
1112
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1113
X"$0" : 'X\(//\)[^/]' \| \
1114
X"$0" : 'X\(//\)$' \| \
1115
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1117
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1135
if test ! -r "$srcdir/$ac_unique_file"; then
1139
ac_srcdir_defaulted=no
1141
if test ! -r "$srcdir/$ac_unique_file"; then
1142
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1143
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1144
{ (exit 1); exit 1; }; }
1146
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1148
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1149
{ (exit 1); exit 1; }; }
1151
# When building in place, set srcdir=.
1152
if test "$ac_abs_confdir" = "$ac_pwd"; then
1155
# Remove unnecessary trailing slashes from srcdir.
1156
# Double slashes in file names in object file debugging info
1157
# mess up M-x gdb in Emacs.
1159
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161
for ac_var in $ac_precious_vars; do
1162
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1163
eval ac_env_${ac_var}_value=\$${ac_var}
1164
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1165
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1169
# Report the --help message.
1171
if test "$ac_init_help" = "long"; then
1172
# Omit some internal or obsolete options to make the list less imposing.
1173
# This message is too long to be a string in the A/UX 3.1 sh.
1175
\`configure' configures MTPfs 0.9 to adapt to many kinds of systems.
1177
Usage: $0 [OPTION]... [VAR=VALUE]...
1179
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1180
VAR=VALUE. See below for descriptions of some of the useful variables.
1182
Defaults for the options are specified in brackets.
1185
-h, --help display this help and exit
1186
--help=short display options specific to this package
1187
--help=recursive display the short help of all the included packages
1188
-V, --version display version information and exit
1189
-q, --quiet, --silent do not print \`checking...' messages
1190
--cache-file=FILE cache test results in FILE [disabled]
1191
-C, --config-cache alias for \`--cache-file=config.cache'
1192
-n, --no-create do not create output files
1193
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1195
Installation directories:
1196
--prefix=PREFIX install architecture-independent files in PREFIX
1197
[$ac_default_prefix]
1198
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1201
By default, \`make install' will install all the files in
1202
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1203
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1204
for instance \`--prefix=\$HOME'.
1206
For better control, use the options below.
1208
Fine tuning of the installation directories:
1209
--bindir=DIR user executables [EPREFIX/bin]
1210
--sbindir=DIR system admin executables [EPREFIX/sbin]
1211
--libexecdir=DIR program executables [EPREFIX/libexec]
1212
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1213
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1214
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1215
--libdir=DIR object code libraries [EPREFIX/lib]
1216
--includedir=DIR C header files [PREFIX/include]
1217
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1218
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1219
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1220
--infodir=DIR info documentation [DATAROOTDIR/info]
1221
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1222
--mandir=DIR man documentation [DATAROOTDIR/man]
1223
--docdir=DIR documentation root [DATAROOTDIR/doc/mtpfs]
1224
--htmldir=DIR html documentation [DOCDIR]
1225
--dvidir=DIR dvi documentation [DOCDIR]
1226
--pdfdir=DIR pdf documentation [DOCDIR]
1227
--psdir=DIR ps documentation [DOCDIR]
1233
--program-prefix=PREFIX prepend PREFIX to installed program names
1234
--program-suffix=SUFFIX append SUFFIX to installed program names
1235
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1239
if test -n "$ac_init_help"; then
1240
case $ac_init_help in
1241
short | recursive ) echo "Configuration of MTPfs 0.9:";;
1246
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1247
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1248
--disable-dependency-tracking speeds up one-time build
1249
--enable-dependency-tracking do not reject slow dependency extractors
1250
--enable-debug enable debugging features
1252
Some influential environment variables:
1253
CC C compiler command
1254
CFLAGS C compiler flags
1255
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1256
nonstandard directory <lib dir>
1257
LIBS libraries to pass to the linker, e.g. -l<library>
1258
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1259
you have headers in a nonstandard directory <include dir>
1260
PKG_CONFIG path to pkg-config utility
1261
FUSE_CFLAGS C compiler flags for FUSE, overriding pkg-config
1262
FUSE_LIBS linker flags for FUSE, overriding pkg-config
1264
Use these variables to override the choices made by `configure' or to help
1265
it to find libraries and programs with nonstandard names/locations.
1267
Report bugs to <Chris Debenham <chris@adebenham.com>>.
1272
if test "$ac_init_help" = "recursive"; then
1273
# If there are subdirs, report their specific --help.
1274
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1275
test -d "$ac_dir" || continue
1279
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1281
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1282
# A ".." for each directory in $ac_dir_suffix.
1283
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1284
case $ac_top_builddir_sub in
1285
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1286
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1289
ac_abs_top_builddir=$ac_pwd
1290
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1291
# for backward compatibility:
1292
ac_top_builddir=$ac_top_build_prefix
1295
.) # We are building in place.
1297
ac_top_srcdir=$ac_top_builddir_sub
1298
ac_abs_top_srcdir=$ac_pwd ;;
1299
[\\/]* | ?:[\\/]* ) # Absolute name.
1300
ac_srcdir=$srcdir$ac_dir_suffix;
1301
ac_top_srcdir=$srcdir
1302
ac_abs_top_srcdir=$srcdir ;;
1304
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1305
ac_top_srcdir=$ac_top_build_prefix$srcdir
1306
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1308
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1310
cd "$ac_dir" || { ac_status=$?; continue; }
1311
# Check for guested configure.
1312
if test -f "$ac_srcdir/configure.gnu"; then
1314
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1315
elif test -f "$ac_srcdir/configure"; then
1317
$SHELL "$ac_srcdir/configure" --help=recursive
1319
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1321
cd "$ac_pwd" || { ac_status=$?; break; }
1325
test -n "$ac_init_help" && exit $ac_status
1326
if $ac_init_version; then
1329
generated by GNU Autoconf 2.61
1331
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1332
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1333
This configure script is free software; the Free Software Foundation
1334
gives unlimited permission to copy, distribute and modify it.
1338
cat >config.log <<_ACEOF
1339
This file contains any messages produced by compilers while
1340
running configure, to aid debugging if configure makes a mistake.
1342
It was created by MTPfs $as_me 0.9, which was
1343
generated by GNU Autoconf 2.61. Invocation command line was
1355
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1356
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1357
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1358
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1359
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1361
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1362
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1364
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1365
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1366
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1367
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1368
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1369
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1370
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378
test -z "$as_dir" && as_dir=.
1379
echo "PATH: $as_dir"
1395
# Keep a trace of the command line.
1396
# Strip out --no-create and --no-recursion so they do not pile up.
1397
# Strip out --silent because we don't want to record it for future runs.
1398
# Also quote any args containing shell meta-characters.
1399
# Make two passes to allow for proper duplicate-argument suppression.
1403
ac_must_keep_next=false
1409
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1410
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1411
| -silent | --silent | --silen | --sile | --sil)
1414
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1417
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1419
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1420
if test $ac_must_keep_next = true; then
1421
ac_must_keep_next=false # Got value, back to normal.
1424
*=* | --config-cache | -C | -disable-* | --disable-* \
1425
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1426
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1427
| -with-* | --with-* | -without-* | --without-* | --x)
1428
case "$ac_configure_args0 " in
1429
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1432
-* ) ac_must_keep_next=true ;;
1435
ac_configure_args="$ac_configure_args '$ac_arg'"
1440
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1441
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1443
# When interrupted or exit'd, cleanup temporary files, and complete
1444
# config.log. We remove comments because anyway the quotes in there
1445
# would cause problems or look ugly.
1446
# WARNING: Use '\'' to represent an apostrophe within the trap.
1447
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1448
trap 'exit_status=$?
1449
# Save into config.log some information that might help in debugging.
1454
## ---------------- ##
1455
## Cache variables. ##
1456
## ---------------- ##
1459
# The following way of writing the cache mishandles newlines in values,
1461
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1462
eval ac_val=\$$ac_var
1466
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1467
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1470
_ | IFS | as_nl) ;; #(
1471
*) $as_unset $ac_var ;;
1476
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1477
*${as_nl}ac_space=\ *)
1479
"s/'\''/'\''\\\\'\'''\''/g;
1480
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1483
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1491
## ----------------- ##
1492
## Output variables. ##
1493
## ----------------- ##
1496
for ac_var in $ac_subst_vars
1498
eval ac_val=\$$ac_var
1500
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1502
echo "$ac_var='\''$ac_val'\''"
1506
if test -n "$ac_subst_files"; then
1508
## ------------------- ##
1509
## File substitutions. ##
1510
## ------------------- ##
1513
for ac_var in $ac_subst_files
1515
eval ac_val=\$$ac_var
1517
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1519
echo "$ac_var='\''$ac_val'\''"
1524
if test -s confdefs.h; then
1534
test "$ac_signal" != 0 &&
1535
echo "$as_me: caught signal $ac_signal"
1536
echo "$as_me: exit $exit_status"
1538
rm -f core *.core core.conftest.* &&
1539
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1542
for ac_signal in 1 2 13 15; do
1543
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1547
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1548
rm -f -r conftest* confdefs.h
1550
# Predefined preprocessor variables.
1552
cat >>confdefs.h <<_ACEOF
1553
#define PACKAGE_NAME "$PACKAGE_NAME"
1557
cat >>confdefs.h <<_ACEOF
1558
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1562
cat >>confdefs.h <<_ACEOF
1563
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1567
cat >>confdefs.h <<_ACEOF
1568
#define PACKAGE_STRING "$PACKAGE_STRING"
1572
cat >>confdefs.h <<_ACEOF
1573
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1577
# Let the site file select an alternate cache file if it wants to.
1578
# Prefer explicitly selected file to automatically selected ones.
1579
if test -n "$CONFIG_SITE"; then
1580
set x "$CONFIG_SITE"
1581
elif test "x$prefix" != xNONE; then
1582
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1584
set x "$ac_default_prefix/share/config.site" \
1585
"$ac_default_prefix/etc/config.site"
1590
if test -r "$ac_site_file"; then
1591
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1592
echo "$as_me: loading site script $ac_site_file" >&6;}
1593
sed 's/^/| /' "$ac_site_file" >&5
1598
if test -r "$cache_file"; then
1599
# Some versions of bash will fail to source /dev/null (special
1600
# files actually), so we avoid doing that.
1601
if test -f "$cache_file"; then
1602
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1603
echo "$as_me: loading cache $cache_file" >&6;}
1605
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1606
*) . "./$cache_file";;
1610
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1611
echo "$as_me: creating cache $cache_file" >&6;}
1615
# Check that the precious variables saved in the cache have kept the same
1617
ac_cache_corrupted=false
1618
for ac_var in $ac_precious_vars; do
1619
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1620
eval ac_new_set=\$ac_env_${ac_var}_set
1621
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1622
eval ac_new_val=\$ac_env_${ac_var}_value
1623
case $ac_old_set,$ac_new_set in
1625
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1626
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1627
ac_cache_corrupted=: ;;
1629
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1630
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1631
ac_cache_corrupted=: ;;
1634
if test "x$ac_old_val" != "x$ac_new_val"; then
1635
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1636
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1637
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1638
echo "$as_me: former value: $ac_old_val" >&2;}
1639
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1640
echo "$as_me: current value: $ac_new_val" >&2;}
1641
ac_cache_corrupted=:
1644
# Pass precious variables to config.status.
1645
if test "$ac_new_set" = set; then
1647
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1648
*) ac_arg=$ac_var=$ac_new_val ;;
1650
case " $ac_configure_args " in
1651
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1652
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1656
if $ac_cache_corrupted; then
1657
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1658
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1659
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1660
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1661
{ (exit 1); exit 1; }; }
1689
ac_cpp='$CPP $CPPFLAGS'
1690
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1691
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1692
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1695
am__api_version='1.10'
1698
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1699
if test -f "$ac_dir/install-sh"; then
1701
ac_install_sh="$ac_aux_dir/install-sh -c"
1703
elif test -f "$ac_dir/install.sh"; then
1705
ac_install_sh="$ac_aux_dir/install.sh -c"
1707
elif test -f "$ac_dir/shtool"; then
1709
ac_install_sh="$ac_aux_dir/shtool install -c"
1713
if test -z "$ac_aux_dir"; then
1714
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1715
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1716
{ (exit 1); exit 1; }; }
1719
# These three variables are undocumented and unsupported,
1720
# and are intended to be withdrawn in a future Autoconf release.
1721
# They can cause serious problems if a builder's source tree is in a directory
1722
# whose full name contains unusual characters.
1723
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1724
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1725
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1728
# Find a good install program. We prefer a C program (faster),
1729
# so one script is as good as another. But avoid the broken or
1730
# incompatible versions:
1731
# SysV /etc/install, /usr/sbin/install
1732
# SunOS /usr/etc/install
1733
# IRIX /sbin/install
1735
# AmigaOS /C/install, which installs bootblocks on floppy discs
1736
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1737
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1738
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1739
# OS/2's system install, which has a completely different semantic
1740
# ./install, which can be erroneously created by make from ./install.sh.
1741
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1742
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1743
if test -z "$INSTALL"; then
1744
if test "${ac_cv_path_install+set}" = set; then
1745
echo $ECHO_N "(cached) $ECHO_C" >&6
1747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1751
test -z "$as_dir" && as_dir=.
1752
# Account for people who put trailing slashes in PATH elements.
1754
./ | .// | /cC/* | \
1755
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1756
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1759
# OSF1 and SCO ODT 3.0 have their own names for install.
1760
# Don't use installbsd from OSF since it installs stuff as root
1762
for ac_prog in ginstall scoinst install; do
1763
for ac_exec_ext in '' $ac_executable_extensions; do
1764
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1765
if test $ac_prog = install &&
1766
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1767
# AIX install. It has an incompatible calling convention.
1769
elif test $ac_prog = install &&
1770
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1771
# program-specific install script used by HP pwplus--don't use.
1774
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1787
if test "${ac_cv_path_install+set}" = set; then
1788
INSTALL=$ac_cv_path_install
1790
# As a last resort, use the slow shell script. Don't cache a
1791
# value for INSTALL within a source directory, because that will
1792
# break other packages using the cache if that directory is
1793
# removed, or if the value is a relative name.
1794
INSTALL=$ac_install_sh
1797
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1798
echo "${ECHO_T}$INSTALL" >&6; }
1800
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1801
# It thinks the first close brace ends the variable substitution.
1802
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1804
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1806
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1808
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1809
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1812
echo timestamp > conftest.file
1813
# Do `set' in a subshell so we don't clobber the current shell's
1814
# arguments. Must try -L first in case configure is actually a
1815
# symlink; some systems play weird games with the mod time of symlinks
1816
# (eg FreeBSD returns the mod time of the symlink's containing
1819
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1820
if test "$*" = "X"; then
1822
set X `ls -t $srcdir/configure conftest.file`
1825
if test "$*" != "X $srcdir/configure conftest.file" \
1826
&& test "$*" != "X conftest.file $srcdir/configure"; then
1828
# If neither matched, then we have a broken ls. This can happen
1829
# if, for instance, CONFIG_SHELL is bash and it inherits a
1830
# broken ls alias from the environment. This has actually
1831
# happened. Such a system could not be considered "sane".
1832
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1833
alias in your environment" >&5
1834
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1835
alias in your environment" >&2;}
1836
{ (exit 1); exit 1; }; }
1839
test "$2" = conftest.file
1845
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1846
Check your system clock" >&5
1847
echo "$as_me: error: newly created file is older than distributed files!
1848
Check your system clock" >&2;}
1849
{ (exit 1); exit 1; }; }
1851
{ echo "$as_me:$LINENO: result: yes" >&5
1852
echo "${ECHO_T}yes" >&6; }
1853
test "$program_prefix" != NONE &&
1854
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1855
# Use a double $ so make ignores it.
1856
test "$program_suffix" != NONE &&
1857
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1858
# Double any \ or $. echo might interpret backslashes.
1859
# By default was `s,x,x', remove it if useless.
1860
cat <<\_ACEOF >conftest.sed
1861
s/[\\$]/&&/g;s/;s,x,x,$//
1863
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1866
# expand $ac_aux_dir to an absolute path
1867
am_aux_dir=`cd $ac_aux_dir && pwd`
1869
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1870
# Use eval to expand $SHELL
1871
if eval "$MISSING --run true"; then
1872
am_missing_run="$MISSING --run "
1875
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1876
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1879
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1880
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1881
if test -z "$MKDIR_P"; then
1882
if test "${ac_cv_path_mkdir+set}" = set; then
1883
echo $ECHO_N "(cached) $ECHO_C" >&6
1885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1889
test -z "$as_dir" && as_dir=.
1890
for ac_prog in mkdir gmkdir; do
1891
for ac_exec_ext in '' $ac_executable_extensions; do
1892
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1893
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1894
'mkdir (GNU coreutils) '* | \
1895
'mkdir (coreutils) '* | \
1896
'mkdir (fileutils) '4.1*)
1897
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1907
if test "${ac_cv_path_mkdir+set}" = set; then
1908
MKDIR_P="$ac_cv_path_mkdir -p"
1910
# As a last resort, use the slow shell script. Don't cache a
1911
# value for MKDIR_P within a source directory, because that will
1912
# break other packages using the cache if that directory is
1913
# removed, or if the value is a relative name.
1914
test -d ./--version && rmdir ./--version
1915
MKDIR_P="$ac_install_sh -d"
1918
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1919
echo "${ECHO_T}$MKDIR_P" >&6; }
1923
[\\/$]* | ?:[\\/]*) ;;
1924
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1927
for ac_prog in gawk mawk nawk awk
1929
# Extract the first word of "$ac_prog", so it can be a program name with args.
1930
set dummy $ac_prog; ac_word=$2
1931
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1932
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933
if test "${ac_cv_prog_AWK+set}" = set; then
1934
echo $ECHO_N "(cached) $ECHO_C" >&6
1936
if test -n "$AWK"; then
1937
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943
test -z "$as_dir" && as_dir=.
1944
for ac_exec_ext in '' $ac_executable_extensions; do
1945
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1946
ac_cv_prog_AWK="$ac_prog"
1947
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957
if test -n "$AWK"; then
1958
{ echo "$as_me:$LINENO: result: $AWK" >&5
1959
echo "${ECHO_T}$AWK" >&6; }
1961
{ echo "$as_me:$LINENO: result: no" >&5
1962
echo "${ECHO_T}no" >&6; }
1966
test -n "$AWK" && break
1969
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1970
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1971
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1972
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1973
echo $ECHO_N "(cached) $ECHO_C" >&6
1975
cat >conftest.make <<\_ACEOF
1978
@echo '@@@%%%=$(MAKE)=@@@%%%'
1980
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1981
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1983
eval ac_cv_prog_make_${ac_make}_set=yes;;
1985
eval ac_cv_prog_make_${ac_make}_set=no;;
1989
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1990
{ echo "$as_me:$LINENO: result: yes" >&5
1991
echo "${ECHO_T}yes" >&6; }
1994
{ echo "$as_me:$LINENO: result: no" >&5
1995
echo "${ECHO_T}no" >&6; }
1996
SET_MAKE="MAKE=${MAKE-make}"
1999
rm -rf .tst 2>/dev/null
2000
mkdir .tst 2>/dev/null
2001
if test -d .tst; then
2006
rmdir .tst 2>/dev/null
2008
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2009
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2010
# is not polluted with repeated "-I."
2011
am__isrc=' -I$(srcdir)'
2012
# test to see if srcdir already configured
2013
if test -f $srcdir/config.status; then
2014
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2015
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2016
{ (exit 1); exit 1; }; }
2020
# test whether we have cygpath
2021
if test -z "$CYGPATH_W"; then
2022
if (cygpath --version) >/dev/null 2>/dev/null; then
2023
CYGPATH_W='cygpath -w'
2030
# Define the identity of the package.
2035
cat >>confdefs.h <<_ACEOF
2036
#define PACKAGE "$PACKAGE"
2040
cat >>confdefs.h <<_ACEOF
2041
#define VERSION "$VERSION"
2044
# Some tools Automake needs.
2046
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2049
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2052
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2055
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2058
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2060
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2062
# Installed binaries are usually stripped using `strip' when the user
2063
# run `make install-strip'. However `strip' might not be the right
2064
# tool to use in cross-compilation environments, therefore Automake
2065
# will honor the `STRIP' environment variable to overrule this program.
2066
if test "$cross_compiling" != no; then
2067
if test -n "$ac_tool_prefix"; then
2068
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2069
set dummy ${ac_tool_prefix}strip; ac_word=$2
2070
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2071
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072
if test "${ac_cv_prog_STRIP+set}" = set; then
2073
echo $ECHO_N "(cached) $ECHO_C" >&6
2075
if test -n "$STRIP"; then
2076
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082
test -z "$as_dir" && as_dir=.
2083
for ac_exec_ext in '' $ac_executable_extensions; do
2084
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2086
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095
STRIP=$ac_cv_prog_STRIP
2096
if test -n "$STRIP"; then
2097
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2098
echo "${ECHO_T}$STRIP" >&6; }
2100
{ echo "$as_me:$LINENO: result: no" >&5
2101
echo "${ECHO_T}no" >&6; }
2106
if test -z "$ac_cv_prog_STRIP"; then
2108
# Extract the first word of "strip", so it can be a program name with args.
2109
set dummy strip; ac_word=$2
2110
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2111
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2112
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2113
echo $ECHO_N "(cached) $ECHO_C" >&6
2115
if test -n "$ac_ct_STRIP"; then
2116
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122
test -z "$as_dir" && as_dir=.
2123
for ac_exec_ext in '' $ac_executable_extensions; do
2124
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2125
ac_cv_prog_ac_ct_STRIP="strip"
2126
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2136
if test -n "$ac_ct_STRIP"; then
2137
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2138
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2140
{ echo "$as_me:$LINENO: result: no" >&5
2141
echo "${ECHO_T}no" >&6; }
2144
if test "x$ac_ct_STRIP" = x; then
2147
case $cross_compiling:$ac_tool_warned in
2149
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2150
whose name does not start with the host triplet. If you think this
2151
configuration is useful to you, please write to autoconf@gnu.org." >&5
2152
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2153
whose name does not start with the host triplet. If you think this
2154
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2155
ac_tool_warned=yes ;;
2160
STRIP="$ac_cv_prog_STRIP"
2164
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2166
# We need awk for the "check" target. The system "awk" is bad on
2168
# Always define AMTAR for backward compatibility.
2170
AMTAR=${AMTAR-"${am_missing_run}tar"}
2172
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2179
ac_cpp='$CPP $CPPFLAGS'
2180
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2181
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2182
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2183
if test -n "$ac_tool_prefix"; then
2184
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2185
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2186
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2187
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188
if test "${ac_cv_prog_CC+set}" = set; then
2189
echo $ECHO_N "(cached) $ECHO_C" >&6
2191
if test -n "$CC"; then
2192
ac_cv_prog_CC="$CC" # Let the user override the test.
2194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198
test -z "$as_dir" && as_dir=.
2199
for ac_exec_ext in '' $ac_executable_extensions; do
2200
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2202
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212
if test -n "$CC"; then
2213
{ echo "$as_me:$LINENO: result: $CC" >&5
2214
echo "${ECHO_T}$CC" >&6; }
2216
{ echo "$as_me:$LINENO: result: no" >&5
2217
echo "${ECHO_T}no" >&6; }
2222
if test -z "$ac_cv_prog_CC"; then
2224
# Extract the first word of "gcc", so it can be a program name with args.
2225
set dummy gcc; ac_word=$2
2226
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2227
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2229
echo $ECHO_N "(cached) $ECHO_C" >&6
2231
if test -n "$ac_ct_CC"; then
2232
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238
test -z "$as_dir" && as_dir=.
2239
for ac_exec_ext in '' $ac_executable_extensions; do
2240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2241
ac_cv_prog_ac_ct_CC="gcc"
2242
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2252
if test -n "$ac_ct_CC"; then
2253
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2254
echo "${ECHO_T}$ac_ct_CC" >&6; }
2256
{ echo "$as_me:$LINENO: result: no" >&5
2257
echo "${ECHO_T}no" >&6; }
2260
if test "x$ac_ct_CC" = x; then
2263
case $cross_compiling:$ac_tool_warned in
2265
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2266
whose name does not start with the host triplet. If you think this
2267
configuration is useful to you, please write to autoconf@gnu.org." >&5
2268
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2269
whose name does not start with the host triplet. If you think this
2270
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2271
ac_tool_warned=yes ;;
2279
if test -z "$CC"; then
2280
if test -n "$ac_tool_prefix"; then
2281
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2282
set dummy ${ac_tool_prefix}cc; ac_word=$2
2283
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2284
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2285
if test "${ac_cv_prog_CC+set}" = set; then
2286
echo $ECHO_N "(cached) $ECHO_C" >&6
2288
if test -n "$CC"; then
2289
ac_cv_prog_CC="$CC" # Let the user override the test.
2291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295
test -z "$as_dir" && as_dir=.
2296
for ac_exec_ext in '' $ac_executable_extensions; do
2297
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2298
ac_cv_prog_CC="${ac_tool_prefix}cc"
2299
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309
if test -n "$CC"; then
2310
{ echo "$as_me:$LINENO: result: $CC" >&5
2311
echo "${ECHO_T}$CC" >&6; }
2313
{ echo "$as_me:$LINENO: result: no" >&5
2314
echo "${ECHO_T}no" >&6; }
2320
if test -z "$CC"; then
2321
# Extract the first word of "cc", so it can be a program name with args.
2322
set dummy cc; ac_word=$2
2323
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2324
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325
if test "${ac_cv_prog_CC+set}" = set; then
2326
echo $ECHO_N "(cached) $ECHO_C" >&6
2328
if test -n "$CC"; then
2329
ac_cv_prog_CC="$CC" # Let the user override the test.
2332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336
test -z "$as_dir" && as_dir=.
2337
for ac_exec_ext in '' $ac_executable_extensions; do
2338
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2340
ac_prog_rejected=yes
2344
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351
if test $ac_prog_rejected = yes; then
2352
# We found a bogon in the path, so make sure we never use it.
2353
set dummy $ac_cv_prog_CC
2355
if test $# != 0; then
2356
# We chose a different compiler from the bogus one.
2357
# However, it has the same basename, so the bogon will be chosen
2358
# first if we set CC to just the basename; use the full file name.
2360
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2366
if test -n "$CC"; then
2367
{ echo "$as_me:$LINENO: result: $CC" >&5
2368
echo "${ECHO_T}$CC" >&6; }
2370
{ echo "$as_me:$LINENO: result: no" >&5
2371
echo "${ECHO_T}no" >&6; }
2376
if test -z "$CC"; then
2377
if test -n "$ac_tool_prefix"; then
2378
for ac_prog in cl.exe
2380
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2381
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2382
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2383
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2384
if test "${ac_cv_prog_CC+set}" = set; then
2385
echo $ECHO_N "(cached) $ECHO_C" >&6
2387
if test -n "$CC"; then
2388
ac_cv_prog_CC="$CC" # Let the user override the test.
2390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394
test -z "$as_dir" && as_dir=.
2395
for ac_exec_ext in '' $ac_executable_extensions; do
2396
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2397
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2398
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408
if test -n "$CC"; then
2409
{ echo "$as_me:$LINENO: result: $CC" >&5
2410
echo "${ECHO_T}$CC" >&6; }
2412
{ echo "$as_me:$LINENO: result: no" >&5
2413
echo "${ECHO_T}no" >&6; }
2417
test -n "$CC" && break
2420
if test -z "$CC"; then
2422
for ac_prog in cl.exe
2424
# Extract the first word of "$ac_prog", so it can be a program name with args.
2425
set dummy $ac_prog; ac_word=$2
2426
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2427
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2429
echo $ECHO_N "(cached) $ECHO_C" >&6
2431
if test -n "$ac_ct_CC"; then
2432
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438
test -z "$as_dir" && as_dir=.
2439
for ac_exec_ext in '' $ac_executable_extensions; do
2440
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441
ac_cv_prog_ac_ct_CC="$ac_prog"
2442
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2452
if test -n "$ac_ct_CC"; then
2453
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2454
echo "${ECHO_T}$ac_ct_CC" >&6; }
2456
{ echo "$as_me:$LINENO: result: no" >&5
2457
echo "${ECHO_T}no" >&6; }
2461
test -n "$ac_ct_CC" && break
2464
if test "x$ac_ct_CC" = x; then
2467
case $cross_compiling:$ac_tool_warned in
2469
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2470
whose name does not start with the host triplet. If you think this
2471
configuration is useful to you, please write to autoconf@gnu.org." >&5
2472
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2473
whose name does not start with the host triplet. If you think this
2474
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2475
ac_tool_warned=yes ;;
2484
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2485
See \`config.log' for more details." >&5
2486
echo "$as_me: error: no acceptable C compiler found in \$PATH
2487
See \`config.log' for more details." >&2;}
2488
{ (exit 1); exit 1; }; }
2490
# Provide some information about the compiler.
2491
echo "$as_me:$LINENO: checking for C compiler version" >&5
2492
ac_compiler=`set X $ac_compile; echo $2`
2493
{ (ac_try="$ac_compiler --version >&5"
2495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496
*) ac_try_echo=$ac_try;;
2498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2499
(eval "$ac_compiler --version >&5") 2>&5
2501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
(exit $ac_status); }
2503
{ (ac_try="$ac_compiler -v >&5"
2505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506
*) ac_try_echo=$ac_try;;
2508
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2509
(eval "$ac_compiler -v >&5") 2>&5
2511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512
(exit $ac_status); }
2513
{ (ac_try="$ac_compiler -V >&5"
2515
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516
*) ac_try_echo=$ac_try;;
2518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2519
(eval "$ac_compiler -V >&5") 2>&5
2521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522
(exit $ac_status); }
2524
cat >conftest.$ac_ext <<_ACEOF
2527
cat confdefs.h >>conftest.$ac_ext
2528
cat >>conftest.$ac_ext <<_ACEOF
2529
/* end confdefs.h. */
2539
ac_clean_files_save=$ac_clean_files
2540
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2541
# Try to create an executable without -o first, disregard a.out.
2542
# It will help us diagnose broken compilers, and finding out an intuition
2544
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2545
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2546
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2548
# List of possible output files, starting from the most likely.
2549
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2550
# only as a last resort. b.out is created by i960 compilers.
2551
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2553
# The IRIX 6 linker writes into existing files which may not be
2554
# executable, retaining their permissions. Remove them first so a
2555
# subsequent execution test works.
2557
for ac_file in $ac_files
2560
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2561
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2566
if { (ac_try="$ac_link_default"
2568
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569
*) ac_try_echo=$ac_try;;
2571
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2572
(eval "$ac_link_default") 2>&5
2574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575
(exit $ac_status); }; then
2576
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2577
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2578
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2579
# so that the user can short-circuit this test for compilers unknown to
2581
for ac_file in $ac_files ''
2583
test -f "$ac_file" || continue
2585
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2588
# We found the default executable, but exeext='' is most
2592
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2594
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2596
# We set ac_cv_exeext here because the later test for it is not
2597
# safe: cross compilers may not add the suffix if given an `-o'
2598
# argument, so we may need to know it at that point already.
2599
# Even if this section looks crufty: it has the advantage of
2606
test "$ac_cv_exeext" = no && ac_cv_exeext=
2612
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2613
echo "${ECHO_T}$ac_file" >&6; }
2614
if test -z "$ac_file"; then
2615
echo "$as_me: failed program was:" >&5
2616
sed 's/^/| /' conftest.$ac_ext >&5
2618
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2619
See \`config.log' for more details." >&5
2620
echo "$as_me: error: C compiler cannot create executables
2621
See \`config.log' for more details." >&2;}
2622
{ (exit 77); exit 77; }; }
2625
ac_exeext=$ac_cv_exeext
2627
# Check that the compiler produces executables we can run. If not, either
2628
# the compiler is broken, or we cross compile.
2629
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2630
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2631
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2632
# If not cross compiling, check that we can run a simple program.
2633
if test "$cross_compiling" != yes; then
2634
if { ac_try='./$ac_file'
2635
{ (case "(($ac_try" in
2636
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637
*) ac_try_echo=$ac_try;;
2639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2640
(eval "$ac_try") 2>&5
2642
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643
(exit $ac_status); }; }; then
2646
if test "$cross_compiling" = maybe; then
2649
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2650
If you meant to cross compile, use \`--host'.
2651
See \`config.log' for more details." >&5
2652
echo "$as_me: error: cannot run C compiled programs.
2653
If you meant to cross compile, use \`--host'.
2654
See \`config.log' for more details." >&2;}
2655
{ (exit 1); exit 1; }; }
2659
{ echo "$as_me:$LINENO: result: yes" >&5
2660
echo "${ECHO_T}yes" >&6; }
2662
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2663
ac_clean_files=$ac_clean_files_save
2664
# Check that the compiler produces executables we can run. If not, either
2665
# the compiler is broken, or we cross compile.
2666
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2667
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2668
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2669
echo "${ECHO_T}$cross_compiling" >&6; }
2671
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2672
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2673
if { (ac_try="$ac_link"
2675
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676
*) ac_try_echo=$ac_try;;
2678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679
(eval "$ac_link") 2>&5
2681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682
(exit $ac_status); }; then
2683
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2684
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2685
# work properly (i.e., refer to `conftest.exe'), while it won't with
2687
for ac_file in conftest.exe conftest conftest.*; do
2688
test -f "$ac_file" || continue
2690
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2691
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2698
See \`config.log' for more details." >&5
2699
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2700
See \`config.log' for more details." >&2;}
2701
{ (exit 1); exit 1; }; }
2704
rm -f conftest$ac_cv_exeext
2705
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2706
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2708
rm -f conftest.$ac_ext
2709
EXEEXT=$ac_cv_exeext
2711
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2712
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2713
if test "${ac_cv_objext+set}" = set; then
2714
echo $ECHO_N "(cached) $ECHO_C" >&6
2716
cat >conftest.$ac_ext <<_ACEOF
2719
cat confdefs.h >>conftest.$ac_ext
2720
cat >>conftest.$ac_ext <<_ACEOF
2721
/* end confdefs.h. */
2731
rm -f conftest.o conftest.obj
2732
if { (ac_try="$ac_compile"
2734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735
*) ac_try_echo=$ac_try;;
2737
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738
(eval "$ac_compile") 2>&5
2740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741
(exit $ac_status); }; then
2742
for ac_file in conftest.o conftest.obj conftest.*; do
2743
test -f "$ac_file" || continue;
2745
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2746
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2751
echo "$as_me: failed program was:" >&5
2752
sed 's/^/| /' conftest.$ac_ext >&5
2754
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2755
See \`config.log' for more details." >&5
2756
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2757
See \`config.log' for more details." >&2;}
2758
{ (exit 1); exit 1; }; }
2761
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2763
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2764
echo "${ECHO_T}$ac_cv_objext" >&6; }
2765
OBJEXT=$ac_cv_objext
2767
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2768
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2769
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2770
echo $ECHO_N "(cached) $ECHO_C" >&6
2772
cat >conftest.$ac_ext <<_ACEOF
2775
cat confdefs.h >>conftest.$ac_ext
2776
cat >>conftest.$ac_ext <<_ACEOF
2777
/* end confdefs.h. */
2790
rm -f conftest.$ac_objext
2791
if { (ac_try="$ac_compile"
2793
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794
*) ac_try_echo=$ac_try;;
2796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797
(eval "$ac_compile") 2>conftest.er1
2799
grep -v '^ *+' conftest.er1 >conftest.err
2801
cat conftest.err >&5
2802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803
(exit $ac_status); } && {
2804
test -z "$ac_c_werror_flag" ||
2805
test ! -s conftest.err
2806
} && test -s conftest.$ac_objext; then
2809
echo "$as_me: failed program was:" >&5
2810
sed 's/^/| /' conftest.$ac_ext >&5
2815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2819
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2820
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2821
GCC=`test $ac_compiler_gnu = yes && echo yes`
2822
ac_test_CFLAGS=${CFLAGS+set}
2823
ac_save_CFLAGS=$CFLAGS
2824
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2825
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2826
if test "${ac_cv_prog_cc_g+set}" = set; then
2827
echo $ECHO_N "(cached) $ECHO_C" >&6
2829
ac_save_c_werror_flag=$ac_c_werror_flag
2830
ac_c_werror_flag=yes
2833
cat >conftest.$ac_ext <<_ACEOF
2836
cat confdefs.h >>conftest.$ac_ext
2837
cat >>conftest.$ac_ext <<_ACEOF
2838
/* end confdefs.h. */
2848
rm -f conftest.$ac_objext
2849
if { (ac_try="$ac_compile"
2851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852
*) ac_try_echo=$ac_try;;
2854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2855
(eval "$ac_compile") 2>conftest.er1
2857
grep -v '^ *+' conftest.er1 >conftest.err
2859
cat conftest.err >&5
2860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861
(exit $ac_status); } && {
2862
test -z "$ac_c_werror_flag" ||
2863
test ! -s conftest.err
2864
} && test -s conftest.$ac_objext; then
2867
echo "$as_me: failed program was:" >&5
2868
sed 's/^/| /' conftest.$ac_ext >&5
2871
cat >conftest.$ac_ext <<_ACEOF
2874
cat confdefs.h >>conftest.$ac_ext
2875
cat >>conftest.$ac_ext <<_ACEOF
2876
/* end confdefs.h. */
2886
rm -f conftest.$ac_objext
2887
if { (ac_try="$ac_compile"
2889
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890
*) ac_try_echo=$ac_try;;
2892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893
(eval "$ac_compile") 2>conftest.er1
2895
grep -v '^ *+' conftest.er1 >conftest.err
2897
cat conftest.err >&5
2898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899
(exit $ac_status); } && {
2900
test -z "$ac_c_werror_flag" ||
2901
test ! -s conftest.err
2902
} && test -s conftest.$ac_objext; then
2905
echo "$as_me: failed program was:" >&5
2906
sed 's/^/| /' conftest.$ac_ext >&5
2908
ac_c_werror_flag=$ac_save_c_werror_flag
2910
cat >conftest.$ac_ext <<_ACEOF
2913
cat confdefs.h >>conftest.$ac_ext
2914
cat >>conftest.$ac_ext <<_ACEOF
2915
/* end confdefs.h. */
2925
rm -f conftest.$ac_objext
2926
if { (ac_try="$ac_compile"
2928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929
*) ac_try_echo=$ac_try;;
2931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932
(eval "$ac_compile") 2>conftest.er1
2934
grep -v '^ *+' conftest.er1 >conftest.err
2936
cat conftest.err >&5
2937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938
(exit $ac_status); } && {
2939
test -z "$ac_c_werror_flag" ||
2940
test ! -s conftest.err
2941
} && test -s conftest.$ac_objext; then
2944
echo "$as_me: failed program was:" >&5
2945
sed 's/^/| /' conftest.$ac_ext >&5
2950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957
ac_c_werror_flag=$ac_save_c_werror_flag
2959
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2960
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2961
if test "$ac_test_CFLAGS" = set; then
2962
CFLAGS=$ac_save_CFLAGS
2963
elif test $ac_cv_prog_cc_g = yes; then
2964
if test "$GCC" = yes; then
2970
if test "$GCC" = yes; then
2976
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2977
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2978
if test "${ac_cv_prog_cc_c89+set}" = set; then
2979
echo $ECHO_N "(cached) $ECHO_C" >&6
2981
ac_cv_prog_cc_c89=no
2983
cat >conftest.$ac_ext <<_ACEOF
2986
cat confdefs.h >>conftest.$ac_ext
2987
cat >>conftest.$ac_ext <<_ACEOF
2988
/* end confdefs.h. */
2991
#include <sys/types.h>
2992
#include <sys/stat.h>
2993
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2994
struct buf { int x; };
2995
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2996
static char *e (p, i)
3002
static char *f (char * (*g) (char **, int), char **p, ...)
3007
s = g (p, va_arg (v,int));
3012
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3013
function prototypes and stuff, but not '\xHH' hex character constants.
3014
These don't provoke an error unfortunately, instead are silently treated
3015
as 'x'. The following induces an error, until -std is added to get
3016
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3017
array size at least. It's necessary to write '\x00'==0 to get something
3018
that's true only with -std. */
3019
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3021
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3022
inside strings and character constants. */
3024
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3026
int test (int i, double x);
3027
struct s1 {int (*f) (int a);};
3028
struct s2 {int (*f) (double a);};
3029
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3035
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3040
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3041
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3043
CC="$ac_save_CC $ac_arg"
3044
rm -f conftest.$ac_objext
3045
if { (ac_try="$ac_compile"
3047
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048
*) ac_try_echo=$ac_try;;
3050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051
(eval "$ac_compile") 2>conftest.er1
3053
grep -v '^ *+' conftest.er1 >conftest.err
3055
cat conftest.err >&5
3056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
(exit $ac_status); } && {
3058
test -z "$ac_c_werror_flag" ||
3059
test ! -s conftest.err
3060
} && test -s conftest.$ac_objext; then
3061
ac_cv_prog_cc_c89=$ac_arg
3063
echo "$as_me: failed program was:" >&5
3064
sed 's/^/| /' conftest.$ac_ext >&5
3069
rm -f core conftest.err conftest.$ac_objext
3070
test "x$ac_cv_prog_cc_c89" != "xno" && break
3072
rm -f conftest.$ac_ext
3077
case "x$ac_cv_prog_cc_c89" in
3079
{ echo "$as_me:$LINENO: result: none needed" >&5
3080
echo "${ECHO_T}none needed" >&6; } ;;
3082
{ echo "$as_me:$LINENO: result: unsupported" >&5
3083
echo "${ECHO_T}unsupported" >&6; } ;;
3085
CC="$CC $ac_cv_prog_cc_c89"
3086
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3087
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3092
ac_cpp='$CPP $CPPFLAGS'
3093
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096
DEPDIR="${am__leading_dot}deps"
3098
ac_config_commands="$ac_config_commands depfiles"
3101
am_make=${MAKE-make}
3102
cat > confinc << 'END'
3107
# If we don't find an include directive, just comment out the code.
3108
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3109
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3113
# First try GNU make style include.
3114
echo "include confinc" > confmf
3115
# We grep out `Entering directory' and `Leaving directory'
3116
# messages which can occur if `w' ends up in MAKEFLAGS.
3117
# In particular we don't look at `^make:' because GNU make might
3118
# be invoked under some other name (usually "gmake"), in which
3119
# case it prints its new name instead of `make'.
3120
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3125
# Now try BSD make style include.
3126
if test "$am__include" = "#"; then
3127
echo '.include "confinc"' > confmf
3128
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3129
am__include=.include
3136
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3137
echo "${ECHO_T}$_am_result" >&6; }
3138
rm -f confinc confmf
3140
# Check whether --enable-dependency-tracking was given.
3141
if test "${enable_dependency_tracking+set}" = set; then
3142
enableval=$enable_dependency_tracking;
3145
if test "x$enable_dependency_tracking" != xno; then
3146
am_depcomp="$ac_aux_dir/depcomp"
3149
if test "x$enable_dependency_tracking" != xno; then
3159
depcc="$CC" am_compiler_list=
3161
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3162
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3163
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3164
echo $ECHO_N "(cached) $ECHO_C" >&6
3166
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3167
# We make a subdir and do the tests there. Otherwise we can end up
3168
# making bogus files that we don't know about and never remove. For
3169
# instance it was reported that on HP-UX the gcc test will end up
3170
# making a dummy file named `D' -- because `-MD' means `put the output
3173
# Copy depcomp to subdir because otherwise we won't find it if we're
3174
# using a relative directory.
3175
cp "$am_depcomp" conftest.dir
3177
# We will build objects and dependencies in a subdirectory because
3178
# it helps to detect inapplicable dependency modes. For instance
3179
# both Tru64's cc and ICC support -MD to output dependencies as a
3180
# side effect of compilation, but ICC will put the dependencies in
3181
# the current directory while Tru64 will put them in the object
3185
am_cv_CC_dependencies_compiler_type=none
3186
if test "$am_compiler_list" = ""; then
3187
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3189
for depmode in $am_compiler_list; do
3190
# Setup a source with many dependencies, because some compilers
3191
# like to wrap large dependency lists on column 80 (with \), and
3192
# we should not choose a depcomp mode which is confused by this.
3194
# We need to recreate these files for each test, as the compiler may
3195
# overwrite some of them when testing with obscure command lines.
3196
# This happens at least with the AIX C compiler.
3198
for i in 1 2 3 4 5 6; do
3199
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3200
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3201
# Solaris 8's {/usr,}/bin/sh.
3202
touch sub/conftst$i.h
3204
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3208
# after this tag, mechanisms are not by side-effect, so they'll
3209
# only be used when explicitly requested
3210
if test "x$enable_dependency_tracking" = xyes; then
3218
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3219
# mode. It turns out that the SunPro C++ compiler does not properly
3220
# handle `-M -o', and we need to detect this.
3221
if depmode=$depmode \
3222
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3223
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3224
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3225
>/dev/null 2>conftest.err &&
3226
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3227
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3228
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3229
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3230
# icc doesn't choke on unknown options, it will just issue warnings
3231
# or remarks (even with -Werror). So we grep stderr for any message
3232
# that says an option was ignored or not supported.
3233
# When given -MP, icc 7.0 and 7.1 complain thusly:
3234
# icc: Command line warning: ignoring option '-M'; no argument required
3235
# The diagnosis changed in icc 8.0:
3236
# icc: Command line remark: option '-MP' not supported
3237
if (grep 'ignoring option' conftest.err ||
3238
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3239
am_cv_CC_dependencies_compiler_type=$depmode
3248
am_cv_CC_dependencies_compiler_type=none
3252
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3253
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3254
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3257
test "x$enable_dependency_tracking" != xno \
3258
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3260
am__fastdepCC_FALSE='#'
3262
am__fastdepCC_TRUE='#'
3263
am__fastdepCC_FALSE=
3267
# Find a good install program. We prefer a C program (faster),
3268
# so one script is as good as another. But avoid the broken or
3269
# incompatible versions:
3270
# SysV /etc/install, /usr/sbin/install
3271
# SunOS /usr/etc/install
3272
# IRIX /sbin/install
3274
# AmigaOS /C/install, which installs bootblocks on floppy discs
3275
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3276
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3277
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3278
# OS/2's system install, which has a completely different semantic
3279
# ./install, which can be erroneously created by make from ./install.sh.
3280
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3281
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3282
if test -z "$INSTALL"; then
3283
if test "${ac_cv_path_install+set}" = set; then
3284
echo $ECHO_N "(cached) $ECHO_C" >&6
3286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290
test -z "$as_dir" && as_dir=.
3291
# Account for people who put trailing slashes in PATH elements.
3293
./ | .// | /cC/* | \
3294
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3295
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3298
# OSF1 and SCO ODT 3.0 have their own names for install.
3299
# Don't use installbsd from OSF since it installs stuff as root
3301
for ac_prog in ginstall scoinst install; do
3302
for ac_exec_ext in '' $ac_executable_extensions; do
3303
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3304
if test $ac_prog = install &&
3305
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3306
# AIX install. It has an incompatible calling convention.
3308
elif test $ac_prog = install &&
3309
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3310
# program-specific install script used by HP pwplus--don't use.
3313
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3326
if test "${ac_cv_path_install+set}" = set; then
3327
INSTALL=$ac_cv_path_install
3329
# As a last resort, use the slow shell script. Don't cache a
3330
# value for INSTALL within a source directory, because that will
3331
# break other packages using the cache if that directory is
3332
# removed, or if the value is a relative name.
3333
INSTALL=$ac_install_sh
3336
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3337
echo "${ECHO_T}$INSTALL" >&6; }
3339
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3340
# It thinks the first close brace ends the variable substitution.
3341
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3343
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3345
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3349
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3350
if test -n "$ac_tool_prefix"; then
3351
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3352
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3353
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3354
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3355
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3356
echo $ECHO_N "(cached) $ECHO_C" >&6
3360
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367
test -z "$as_dir" && as_dir=.
3368
for ac_exec_ext in '' $ac_executable_extensions; do
3369
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3371
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3382
if test -n "$PKG_CONFIG"; then
3383
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3384
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3386
{ echo "$as_me:$LINENO: result: no" >&5
3387
echo "${ECHO_T}no" >&6; }
3392
if test -z "$ac_cv_path_PKG_CONFIG"; then
3393
ac_pt_PKG_CONFIG=$PKG_CONFIG
3394
# Extract the first word of "pkg-config", so it can be a program name with args.
3395
set dummy pkg-config; ac_word=$2
3396
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3397
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3398
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3399
echo $ECHO_N "(cached) $ECHO_C" >&6
3401
case $ac_pt_PKG_CONFIG in
3403
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410
test -z "$as_dir" && as_dir=.
3411
for ac_exec_ext in '' $ac_executable_extensions; do
3412
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3414
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3424
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3425
if test -n "$ac_pt_PKG_CONFIG"; then
3426
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3427
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3429
{ echo "$as_me:$LINENO: result: no" >&5
3430
echo "${ECHO_T}no" >&6; }
3433
if test "x$ac_pt_PKG_CONFIG" = x; then
3436
case $cross_compiling:$ac_tool_warned in
3438
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3439
whose name does not start with the host triplet. If you think this
3440
configuration is useful to you, please write to autoconf@gnu.org." >&5
3441
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3442
whose name does not start with the host triplet. If you think this
3443
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3444
ac_tool_warned=yes ;;
3446
PKG_CONFIG=$ac_pt_PKG_CONFIG
3449
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3453
if test -n "$PKG_CONFIG"; then
3454
_pkg_min_version=0.9.0
3455
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3456
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3457
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3458
{ echo "$as_me:$LINENO: result: yes" >&5
3459
echo "${ECHO_T}yes" >&6; }
3461
{ echo "$as_me:$LINENO: result: no" >&5
3462
echo "${ECHO_T}no" >&6; }
3469
{ echo "$as_me:$LINENO: checking for FUSE" >&5
3470
echo $ECHO_N "checking for FUSE... $ECHO_C" >&6; }
3472
if test -n "$PKG_CONFIG"; then
3473
if test -n "$FUSE_CFLAGS"; then
3474
pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
3476
if test -n "$PKG_CONFIG" && \
3477
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.2 \\
3479
gthread-2.0 >= 1.2 \\
3482
libmtp >= 0.0.9\"") >&5
3483
($PKG_CONFIG --exists --print-errors "fuse >= 2.2 \
3485
gthread-2.0 >= 1.2 \
3488
libmtp >= 0.0.9") 2>&5
3490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491
(exit $ac_status); }; then
3492
pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.2 \
3494
gthread-2.0 >= 1.2 \
3497
libmtp >= 0.0.9" 2>/dev/null`
3505
if test -n "$PKG_CONFIG"; then
3506
if test -n "$FUSE_LIBS"; then
3507
pkg_cv_FUSE_LIBS="$FUSE_LIBS"
3509
if test -n "$PKG_CONFIG" && \
3510
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.2 \\
3512
gthread-2.0 >= 1.2 \\
3515
libmtp >= 0.0.9\"") >&5
3516
($PKG_CONFIG --exists --print-errors "fuse >= 2.2 \
3518
gthread-2.0 >= 1.2 \
3521
libmtp >= 0.0.9") 2>&5
3523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524
(exit $ac_status); }; then
3525
pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse >= 2.2 \
3527
gthread-2.0 >= 1.2 \
3530
libmtp >= 0.0.9" 2>/dev/null`
3541
if test $pkg_failed = yes; then
3543
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3544
_pkg_short_errors_supported=yes
3546
_pkg_short_errors_supported=no
3548
if test $_pkg_short_errors_supported = yes; then
3549
FUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fuse >= 2.2 \
3551
gthread-2.0 >= 1.2 \
3556
FUSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fuse >= 2.2 \
3558
gthread-2.0 >= 1.2 \
3563
# Put the nasty error message in config.log where it belongs
3564
echo "$FUSE_PKG_ERRORS" >&5
3566
{ { echo "$as_me:$LINENO: error: Package requirements (fuse >= 2.2 \
3568
gthread-2.0 >= 1.2 \
3571
libmtp >= 0.0.9) were not met:
3575
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3576
installed software in a non-standard prefix.
3578
Alternatively, you may set the environment variables FUSE_CFLAGS
3579
and FUSE_LIBS to avoid the need to call pkg-config.
3580
See the pkg-config man page for more details.
3582
echo "$as_me: error: Package requirements (fuse >= 2.2 \
3584
gthread-2.0 >= 1.2 \
3587
libmtp >= 0.0.9) were not met:
3591
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3592
installed software in a non-standard prefix.
3594
Alternatively, you may set the environment variables FUSE_CFLAGS
3595
and FUSE_LIBS to avoid the need to call pkg-config.
3596
See the pkg-config man page for more details.
3598
{ (exit 1); exit 1; }; }
3599
elif test $pkg_failed = untried; then
3600
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3601
is in your PATH or set the PKG_CONFIG environment variable to the full
3604
Alternatively, you may set the environment variables FUSE_CFLAGS
3605
and FUSE_LIBS to avoid the need to call pkg-config.
3606
See the pkg-config man page for more details.
3608
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3609
See \`config.log' for more details." >&5
3610
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3611
is in your PATH or set the PKG_CONFIG environment variable to the full
3614
Alternatively, you may set the environment variables FUSE_CFLAGS
3615
and FUSE_LIBS to avoid the need to call pkg-config.
3616
See the pkg-config man page for more details.
3618
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3619
See \`config.log' for more details." >&2;}
3620
{ (exit 1); exit 1; }; }
3622
FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
3623
FUSE_LIBS=$pkg_cv_FUSE_LIBS
3624
{ echo "$as_me:$LINENO: result: yes" >&5
3625
echo "${ECHO_T}yes" >&6; }
3631
# Check whether --enable-debug was given.
3632
if test "${enable_debug+set}" = set; then
3633
enableval=$enable_debug;
3638
if test "x$enable_debug" != xyes -a "x$enable_debug" != xno; then
3639
{ { echo "$as_me:$LINENO: error: You may not pass an argument to --enable-debug" >&5
3640
echo "$as_me: error: You may not pass an argument to --enable-debug" >&2;}
3641
{ (exit 1); exit 1; }; }
3644
if test "x$enable_debug" = xyes; then
3646
cat >>confdefs.h <<\_ACEOF
3652
cat >>confdefs.h <<\_ACEOF
3658
ac_config_files="$ac_config_files Makefile"
3660
cat >confcache <<\_ACEOF
3661
# This file is a shell script that caches the results of configure
3662
# tests run on this system so they can be shared between configure
3663
# scripts and configure runs, see configure's option --config-cache.
3664
# It is not useful on other systems. If it contains results you don't
3665
# want to keep, you may remove or edit it.
3667
# config.status only pays attention to the cache file if you give it
3668
# the --recheck option to rerun configure.
3670
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3671
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3676
# The following way of writing the cache mishandles newlines in values,
3677
# but we know of no workaround that is simple, portable, and efficient.
3678
# So, we kill variables containing newlines.
3679
# Ultrix sh set writes to stderr and can't be redirected directly,
3680
# and sets the high bit in the cache file unless we assign to the vars.
3682
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3683
eval ac_val=\$$ac_var
3687
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3688
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3691
_ | IFS | as_nl) ;; #(
3692
*) $as_unset $ac_var ;;
3698
case $as_nl`(ac_space=' '; set) 2>&1` in #(
3699
*${as_nl}ac_space=\ *)
3700
# `set' does not quote correctly, so add quotes (double-quote
3701
# substitution turns \\\\ into \\, and sed turns \\ into \).
3704
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3707
# `set' quotes correctly as required by POSIX, so do not add quotes.
3708
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3717
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3719
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3721
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3722
if test -w "$cache_file"; then
3723
test "x$cache_file" != "x/dev/null" &&
3724
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
3725
echo "$as_me: updating cache $cache_file" >&6;}
3726
cat confcache >$cache_file
3728
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3729
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3734
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3735
# Let make expand exec_prefix.
3736
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3738
# Transform confdefs.h into DEFS.
3739
# Protect against shell expansion while executing Makefile rules.
3740
# Protect against Makefile macro expansion.
3742
# If the first sed substitution is executed (which looks for macros that
3743
# take arguments), then branch to the quote section. Otherwise,
3744
# look for a macro that doesn't take arguments.
3748
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3750
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3754
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3767
DEFS=`sed -n "$ac_script" confdefs.h`
3772
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3773
# 1. Remove the extension, and $U if already installed.
3774
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3775
ac_i=`echo "$ac_i" | sed "$ac_script"`
3776
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3777
# will be set to the directory where LIBOBJS objects are built.
3778
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3779
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3783
LTLIBOBJS=$ac_ltlibobjs
3786
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3787
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3788
Usually this means the macro was only invoked conditionally." >&5
3789
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3790
Usually this means the macro was only invoked conditionally." >&2;}
3791
{ (exit 1); exit 1; }; }
3793
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3794
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3795
Usually this means the macro was only invoked conditionally." >&5
3796
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3797
Usually this means the macro was only invoked conditionally." >&2;}
3798
{ (exit 1); exit 1; }; }
3801
: ${CONFIG_STATUS=./config.status}
3802
ac_clean_files_save=$ac_clean_files
3803
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3804
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3805
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3806
cat >$CONFIG_STATUS <<_ACEOF
3808
# Generated by $as_me.
3809
# Run this file to recreate the current configuration.
3810
# Compiler output produced by configure, useful for debugging
3811
# configure, is in config.log if it exists.
3816
SHELL=\${CONFIG_SHELL-$SHELL}
3819
cat >>$CONFIG_STATUS <<\_ACEOF
3820
## --------------------- ##
3821
## M4sh Initialization. ##
3822
## --------------------- ##
3824
# Be more Bourne compatible
3825
DUALCASE=1; export DUALCASE # for MKS sh
3826
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3829
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3830
# is contrary to our usage. Disable this feature.
3831
alias -g '${1+"$@"}'='"$@"'
3832
setopt NO_GLOB_SUBST
3834
case `(set -o) 2>/dev/null` in
3835
*posix*) set -o posix ;;
3844
# Avoid depending upon Character Ranges.
3845
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3846
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3847
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3848
as_cr_digits='0123456789'
3849
as_cr_alnum=$as_cr_Letters$as_cr_digits
3851
# The user is always right.
3852
if test "${PATH_SEPARATOR+set}" != set; then
3853
echo "#! /bin/sh" >conf$$.sh
3854
echo "exit 0" >>conf$$.sh
3856
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3864
# Support unset when possible.
3865
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3873
# We need space, tab and new line, in precisely that order. Quoting is
3874
# there to prevent editors from complaining about space-tab.
3875
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3876
# splitting by setting IFS to empty value.)
3881
# Find who we are. Look in the path if we contain no directory separator.
3883
*[\\/]* ) as_myself=$0 ;;
3884
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888
test -z "$as_dir" && as_dir=.
3889
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3895
# We did not find ourselves, most probably we were run as `sh COMMAND'
3896
# in which case we are not to be found in the path.
3897
if test "x$as_myself" = x; then
3900
if test ! -f "$as_myself"; then
3901
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3902
{ (exit 1); exit 1; }
3905
# Work around bugs in pre-3.0 UWIN ksh.
3906
for as_var in ENV MAIL MAILPATH
3907
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3915
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3916
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3917
LC_TELEPHONE LC_TIME
3919
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3920
eval $as_var=C; export $as_var
3922
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3926
# Required to use basename.
3927
if expr a : '\(a\)' >/dev/null 2>&1 &&
3928
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3934
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3935
as_basename=basename
3941
# Name of the executable.
3942
as_me=`$as_basename -- "$0" ||
3943
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3944
X"$0" : 'X\(//\)$' \| \
3945
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3947
sed '/^.*\/\([^/][^/]*\)\/*$/{
3968
test "x$as_lineno_1" != "x$as_lineno_2" &&
3969
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3971
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3972
# uniformly replaced by the line number. The first 'sed' inserts a
3973
# line-number line after each line using $LINENO; the second 'sed'
3974
# does the real work. The second script uses 'N' to pair each
3975
# line-number line with the line containing $LINENO, and appends
3976
# trailing '-' during substitution so that $LINENO is not a special
3978
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3979
# scripts with optimization help from Paolo Bonzini. Blame Lee
3980
# E. McMahon (1931-1989) for sed's syntax. :-)
3992
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3996
chmod +x "$as_me.lineno" ||
3997
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3998
{ (exit 1); exit 1; }; }
4000
# Don't try to exec as it changes $[0], causing all sort of problems
4001
# (the dirname of $[0] is not the place where we might find the
4002
# original and so on. Autoconf is especially sensitive to this).
4004
# Exit status is that of the last command.
4009
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4015
ECHO_C= ECHO_N= ECHO_T=
4018
case `echo 'x\c'` in
4019
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4026
if expr a : '\(a\)' >/dev/null 2>&1 &&
4027
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4033
rm -f conf$$ conf$$.exe conf$$.file
4034
if test -d conf$$.dir; then
4035
rm -f conf$$.dir/conf$$.file
4041
if ln -s conf$$.file conf$$ 2>/dev/null; then
4043
# ... but there are two gotchas:
4044
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4045
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4046
# In both cases, we have to default to `cp -p'.
4047
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4049
elif ln conf$$.file conf$$ 2>/dev/null; then
4054
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4055
rmdir conf$$.dir 2>/dev/null
4057
if mkdir -p . 2>/dev/null; then
4060
test -d ./-p && rmdir ./-p
4064
if test -x / >/dev/null 2>&1; then
4067
if ls -dL / >/dev/null 2>&1; then
4074
if test -d "$1"; then
4080
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4081
???[sx]*):;;*)false;;esac;fi
4085
as_executable_p=$as_test_x
4087
# Sed expression to map a string onto a valid CPP name.
4088
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4090
# Sed expression to map a string onto a valid variable name.
4091
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4096
# Save the log message, to keep $[0] and so on meaningful, and to
4097
# report actual input values of CONFIG_FILES etc. instead of their
4098
# values after options handling.
4100
This file was extended by MTPfs $as_me 0.9, which was
4101
generated by GNU Autoconf 2.61. Invocation command line was
4103
CONFIG_FILES = $CONFIG_FILES
4104
CONFIG_HEADERS = $CONFIG_HEADERS
4105
CONFIG_LINKS = $CONFIG_LINKS
4106
CONFIG_COMMANDS = $CONFIG_COMMANDS
4109
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4114
cat >>$CONFIG_STATUS <<_ACEOF
4115
# Files that config.status was made for.
4116
config_files="$ac_config_files"
4117
config_commands="$ac_config_commands"
4121
cat >>$CONFIG_STATUS <<\_ACEOF
4123
\`$as_me' instantiates files from templates according to the
4124
current configuration.
4126
Usage: $0 [OPTIONS] [FILE]...
4128
-h, --help print this help, then exit
4129
-V, --version print version number and configuration settings, then exit
4130
-q, --quiet do not print progress messages
4131
-d, --debug don't remove temporary files
4132
--recheck update $as_me by reconfiguring in the same conditions
4133
--file=FILE[:TEMPLATE]
4134
instantiate the configuration file FILE
4136
Configuration files:
4139
Configuration commands:
4142
Report bugs to <bug-autoconf@gnu.org>."
4145
cat >>$CONFIG_STATUS <<_ACEOF
4147
MTPfs config.status 0.9
4148
configured by $0, generated by GNU Autoconf 2.61,
4149
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4151
Copyright (C) 2006 Free Software Foundation, Inc.
4152
This config.status script is free software; the Free Software Foundation
4153
gives unlimited permission to copy, distribute and modify it."
4161
cat >>$CONFIG_STATUS <<\_ACEOF
4162
# If no file are specified by the user, then we need to provide default
4163
# value. By we need to know if files were specified by the user.
4169
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4170
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4181
# Handling of the options.
4182
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4184
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4185
echo "$ac_cs_version"; exit ;;
4186
--debug | --debu | --deb | --de | --d | -d )
4188
--file | --fil | --fi | --f )
4190
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4191
ac_need_defaults=false;;
4192
--he | --h | --help | --hel | -h )
4193
echo "$ac_cs_usage"; exit ;;
4194
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4195
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4199
-*) { echo "$as_me: error: unrecognized option: $1
4200
Try \`$0 --help' for more information." >&2
4201
{ (exit 1); exit 1; }; } ;;
4203
*) ac_config_targets="$ac_config_targets $1"
4204
ac_need_defaults=false ;;
4210
ac_configure_extra_args=
4212
if $ac_cs_silent; then
4214
ac_configure_extra_args="$ac_configure_extra_args --silent"
4218
cat >>$CONFIG_STATUS <<_ACEOF
4219
if \$ac_cs_recheck; then
4220
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4223
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4227
cat >>$CONFIG_STATUS <<\_ACEOF
4231
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4232
## Running $as_me. ##
4238
cat >>$CONFIG_STATUS <<_ACEOF
4242
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4246
cat >>$CONFIG_STATUS <<\_ACEOF
4248
# Handling of arguments.
4249
for ac_config_target in $ac_config_targets
4251
case $ac_config_target in
4252
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4253
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4255
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4256
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4257
{ (exit 1); exit 1; }; };;
4262
# If the user did not use the arguments to specify the items to instantiate,
4263
# then the envvar interface is used. Set only those that are not.
4264
# We use the long form for the default assignment because of an extremely
4265
# bizarre bug on SunOS 4.1.3.
4266
if $ac_need_defaults; then
4267
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4268
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4271
# Have a temporary directory for convenience. Make it in the build tree
4272
# simply because there is no reason against having it here, and in addition,
4273
# creating and moving files from /tmp can sometimes cause problems.
4274
# Hook for its removal unless debugging.
4275
# Note that there is a small window in which the directory will not be cleaned:
4276
# after its creation but before its name has been assigned to `$tmp'.
4280
trap 'exit_status=$?
4281
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4283
trap '{ (exit 1); exit 1; }' 1 2 13 15
4285
# Create a (secure) tmp directory for tmp files.
4288
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4289
test -n "$tmp" && test -d "$tmp"
4292
tmp=./conf$$-$RANDOM
4293
(umask 077 && mkdir "$tmp")
4296
echo "$me: cannot create a temporary directory in ." >&2
4297
{ (exit 1); exit 1; }
4301
# Set up the sed scripts for CONFIG_FILES section.
4304
# No need to generate the scripts if there are no CONFIG_FILES.
4305
# This happens for instance when ./config.status config.h
4306
if test -n "$CONFIG_FILES"; then
4313
for ac_last_try in false false false false false :; do
4314
cat >conf$$subs.sed <<_ACEOF
4315
SHELL!$SHELL$ac_delim
4316
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4317
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4318
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4319
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4320
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4321
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4322
exec_prefix!$exec_prefix$ac_delim
4323
prefix!$prefix$ac_delim
4324
program_transform_name!$program_transform_name$ac_delim
4325
bindir!$bindir$ac_delim
4326
sbindir!$sbindir$ac_delim
4327
libexecdir!$libexecdir$ac_delim
4328
datarootdir!$datarootdir$ac_delim
4329
datadir!$datadir$ac_delim
4330
sysconfdir!$sysconfdir$ac_delim
4331
sharedstatedir!$sharedstatedir$ac_delim
4332
localstatedir!$localstatedir$ac_delim
4333
includedir!$includedir$ac_delim
4334
oldincludedir!$oldincludedir$ac_delim
4335
docdir!$docdir$ac_delim
4336
infodir!$infodir$ac_delim
4337
htmldir!$htmldir$ac_delim
4338
dvidir!$dvidir$ac_delim
4339
pdfdir!$pdfdir$ac_delim
4340
psdir!$psdir$ac_delim
4341
libdir!$libdir$ac_delim
4342
localedir!$localedir$ac_delim
4343
mandir!$mandir$ac_delim
4345
ECHO_C!$ECHO_C$ac_delim
4346
ECHO_N!$ECHO_N$ac_delim
4347
ECHO_T!$ECHO_T$ac_delim
4349
build_alias!$build_alias$ac_delim
4350
host_alias!$host_alias$ac_delim
4351
target_alias!$target_alias$ac_delim
4352
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4353
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4354
INSTALL_DATA!$INSTALL_DATA$ac_delim
4355
am__isrc!$am__isrc$ac_delim
4356
CYGPATH_W!$CYGPATH_W$ac_delim
4357
PACKAGE!$PACKAGE$ac_delim
4358
VERSION!$VERSION$ac_delim
4359
ACLOCAL!$ACLOCAL$ac_delim
4360
AUTOCONF!$AUTOCONF$ac_delim
4361
AUTOMAKE!$AUTOMAKE$ac_delim
4362
AUTOHEADER!$AUTOHEADER$ac_delim
4363
MAKEINFO!$MAKEINFO$ac_delim
4364
install_sh!$install_sh$ac_delim
4365
STRIP!$STRIP$ac_delim
4366
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4367
mkdir_p!$mkdir_p$ac_delim
4369
SET_MAKE!$SET_MAKE$ac_delim
4370
am__leading_dot!$am__leading_dot$ac_delim
4371
AMTAR!$AMTAR$ac_delim
4372
am__tar!$am__tar$ac_delim
4373
am__untar!$am__untar$ac_delim
4375
CFLAGS!$CFLAGS$ac_delim
4376
LDFLAGS!$LDFLAGS$ac_delim
4377
CPPFLAGS!$CPPFLAGS$ac_delim
4378
ac_ct_CC!$ac_ct_CC$ac_delim
4379
EXEEXT!$EXEEXT$ac_delim
4380
OBJEXT!$OBJEXT$ac_delim
4381
DEPDIR!$DEPDIR$ac_delim
4382
am__include!$am__include$ac_delim
4383
am__quote!$am__quote$ac_delim
4384
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4385
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4386
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4387
CCDEPMODE!$CCDEPMODE$ac_delim
4388
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4389
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4390
PKG_CONFIG!$PKG_CONFIG$ac_delim
4391
FUSE_CFLAGS!$FUSE_CFLAGS$ac_delim
4392
FUSE_LIBS!$FUSE_LIBS$ac_delim
4393
LIBOBJS!$LIBOBJS$ac_delim
4394
LTLIBOBJS!$LTLIBOBJS$ac_delim
4397
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
4399
elif $ac_last_try; then
4400
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4401
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4402
{ (exit 1); exit 1; }; }
4404
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4408
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4409
if test -n "$ac_eof"; then
4410
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4411
ac_eof=`expr $ac_eof + 1`
4414
cat >>$CONFIG_STATUS <<_ACEOF
4415
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4416
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4419
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4420
s/^/s,@/; s/!/@,|#_!!_#|/
4423
s/'"$ac_delim"'$/,g/; t
4425
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4426
' >>$CONFIG_STATUS <conf$$subs.sed
4427
rm -f conf$$subs.sed
4428
cat >>$CONFIG_STATUS <<_ACEOF
4435
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4436
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4437
# trailing colons and then remove the whole line if VPATH becomes empty
4438
# (actually we leave an empty line to preserve line numbers).
4439
if test "x$srcdir" = x.; then
4440
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4444
s/^\([^=]*=[ ]*\):*/\1/
4450
cat >>$CONFIG_STATUS <<\_ACEOF
4451
fi # test -n "$CONFIG_FILES"
4454
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
4457
:[FHLC]) ac_mode=$ac_tag; continue;;
4459
case $ac_mode$ac_tag in
4461
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4462
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4463
{ (exit 1); exit 1; }; };;
4464
:[FH]-) ac_tag=-:-;;
4465
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4482
-) ac_f="$tmp/stdin";;
4483
*) # Look for the file first in the build tree, then in the source tree
4484
# (if the path is not absolute). The absolute path cannot be DOS-style,
4485
# because $ac_f cannot contain `:'.
4489
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4491
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4492
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4493
{ (exit 1); exit 1; }; };;
4495
ac_file_inputs="$ac_file_inputs $ac_f"
4498
# Let's still pretend it is `configure' which instantiates (i.e., don't
4499
# use $as_me), people would be surprised to read:
4500
# /* config.h. Generated by config.status. */
4501
configure_input="Generated from "`IFS=:
4502
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4503
if test x"$ac_file" != x-; then
4504
configure_input="$ac_file. $configure_input"
4505
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4506
echo "$as_me: creating $ac_file" >&6;}
4510
*:-:* | *:-) cat >"$tmp/stdin";;
4515
ac_dir=`$as_dirname -- "$ac_file" ||
4516
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4517
X"$ac_file" : 'X\(//\)[^/]' \| \
4518
X"$ac_file" : 'X\(//\)$' \| \
4519
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4521
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4540
-*) as_dir=./$as_dir;;
4542
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4546
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4547
*) as_qdir=$as_dir;;
4549
as_dirs="'$as_qdir' $as_dirs"
4550
as_dir=`$as_dirname -- "$as_dir" ||
4551
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4552
X"$as_dir" : 'X\(//\)[^/]' \| \
4553
X"$as_dir" : 'X\(//\)$' \| \
4554
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4556
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4573
test -d "$as_dir" && break
4575
test -z "$as_dirs" || eval "mkdir $as_dirs"
4576
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4577
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4578
{ (exit 1); exit 1; }; }; }
4582
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4584
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4585
# A ".." for each directory in $ac_dir_suffix.
4586
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4587
case $ac_top_builddir_sub in
4588
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4589
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4592
ac_abs_top_builddir=$ac_pwd
4593
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4594
# for backward compatibility:
4595
ac_top_builddir=$ac_top_build_prefix
4598
.) # We are building in place.
4600
ac_top_srcdir=$ac_top_builddir_sub
4601
ac_abs_top_srcdir=$ac_pwd ;;
4602
[\\/]* | ?:[\\/]* ) # Absolute name.
4603
ac_srcdir=$srcdir$ac_dir_suffix;
4604
ac_top_srcdir=$srcdir
4605
ac_abs_top_srcdir=$srcdir ;;
4607
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4608
ac_top_srcdir=$ac_top_build_prefix$srcdir
4609
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4611
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4621
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4622
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4626
[\\/$]* | ?:[\\/]* ) ;;
4627
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4631
cat >>$CONFIG_STATUS <<\_ACEOF
4632
# If the template does not know about datarootdir, expand it.
4633
# FIXME: This hack should be removed a few years after 2.60.
4634
ac_datarootdir_hack=; ac_datarootdir_seen=
4636
case `sed -n '/datarootdir/ {
4645
' $ac_file_inputs` in
4646
*datarootdir*) ac_datarootdir_seen=yes;;
4647
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4648
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4649
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4651
cat >>$CONFIG_STATUS <<_ACEOF
4652
ac_datarootdir_hack='
4653
s&@datadir@&$datadir&g
4654
s&@docdir@&$docdir&g
4655
s&@infodir@&$infodir&g
4656
s&@localedir@&$localedir&g
4657
s&@mandir@&$mandir&g
4658
s&\\\${datarootdir}&$datarootdir&g' ;;
4662
# Neutralize VPATH when `$srcdir' = `.'.
4663
# Shell code in configure.ac might set extrasub.
4664
# FIXME: do we really want to maintain this feature?
4665
cat >>$CONFIG_STATUS <<_ACEOF
4669
cat >>$CONFIG_STATUS <<\_ACEOF
4671
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4672
s&@configure_input@&$configure_input&;t t
4673
s&@top_builddir@&$ac_top_builddir_sub&;t t
4674
s&@srcdir@&$ac_srcdir&;t t
4675
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4676
s&@top_srcdir@&$ac_top_srcdir&;t t
4677
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4678
s&@builddir@&$ac_builddir&;t t
4679
s&@abs_builddir@&$ac_abs_builddir&;t t
4680
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4681
s&@INSTALL@&$ac_INSTALL&;t t
4682
s&@MKDIR_P@&$ac_MKDIR_P&;t t
4683
$ac_datarootdir_hack
4684
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4686
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4687
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4688
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4689
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4690
which seems to be undefined. Please make sure it is defined." >&5
4691
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4692
which seems to be undefined. Please make sure it is defined." >&2;}
4696
-) cat "$tmp/out"; rm -f "$tmp/out";;
4697
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4702
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4703
echo "$as_me: executing $ac_file commands" >&6;}
4708
case $ac_file$ac_mode in
4709
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4710
# Strip MF so we end up with the name of the file.
4711
mf=`echo "$mf" | sed -e 's/:.*$//'`
4712
# Check whether this is an Automake generated Makefile or not.
4713
# We used to match only the files named `Makefile.in', but
4714
# some people rename them; so instead we look at the file content.
4715
# Grep'ing the first line is not enough: some people post-process
4716
# each Makefile.in and add a new line on top of each file to say so.
4717
# Grep'ing the whole file is not good either: AIX grep has a line
4718
# limit of 2048, but all sed's we know have understand at least 4000.
4719
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4720
dirpart=`$as_dirname -- "$mf" ||
4721
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4722
X"$mf" : 'X\(//\)[^/]' \| \
4723
X"$mf" : 'X\(//\)$' \| \
4724
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4726
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4746
# Extract the definition of DEPDIR, am__include, and am__quote
4747
# from the Makefile without running `make'.
4748
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4749
test -z "$DEPDIR" && continue
4750
am__include=`sed -n 's/^am__include = //p' < "$mf"`
4751
test -z "am__include" && continue
4752
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4753
# When using ansi2knr, U may be empty or an underscore; expand it
4754
U=`sed -n 's/^U = //p' < "$mf"`
4755
# Find all dependency output files, they are included files with
4756
# $(DEPDIR) in their names. We invoke sed twice because it is the
4757
# simplest approach to changing $(DEPDIR) to its actual value in the
4759
for file in `sed -n "
4760
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4761
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4762
# Make sure the directory exists.
4763
test -f "$dirpart/$file" && continue
4764
fdir=`$as_dirname -- "$file" ||
4765
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4766
X"$file" : 'X\(//\)[^/]' \| \
4767
X"$file" : 'X\(//\)$' \| \
4768
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4770
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4787
{ as_dir=$dirpart/$fdir
4789
-*) as_dir=./$as_dir;;
4791
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4795
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4796
*) as_qdir=$as_dir;;
4798
as_dirs="'$as_qdir' $as_dirs"
4799
as_dir=`$as_dirname -- "$as_dir" ||
4800
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4801
X"$as_dir" : 'X\(//\)[^/]' \| \
4802
X"$as_dir" : 'X\(//\)$' \| \
4803
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4805
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4822
test -d "$as_dir" && break
4824
test -z "$as_dirs" || eval "mkdir $as_dirs"
4825
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4826
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4827
{ (exit 1); exit 1; }; }; }
4828
# echo "creating $dirpart/$file"
4829
echo '# dummy' > "$dirpart/$file"
4838
{ (exit 0); exit 0; }
4840
chmod +x $CONFIG_STATUS
4841
ac_clean_files=$ac_clean_files_save
4844
# configure is writing to config.log, and then calls config.status.
4845
# config.status does its own redirection, appending to config.log.
4846
# Unfortunately, on DOS this fails, as config.log is still kept open
4847
# by configure, so config.status won't be able to write to it; its
4848
# output is simply discarded. So we exec the FD to /dev/null,
4849
# effectively closing config.log, so it can be properly (re)opened and
4850
# appended to by config.status. When coming back to configure, we
4851
# need to make the FD available again.
4852
if test "$no_create" != yes; then
4854
ac_config_status_args=
4855
test "$silent" = yes &&
4856
ac_config_status_args="$ac_config_status_args --quiet"
4858
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4860
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
4861
# would make configure fail if this is the last instruction.
4862
$ac_cs_success || { (exit 1); exit 1; }