2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61 for ltspfs 0.4.2.
5
@%:@ Report bugs to <sbalneav@ltsp.org>.
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.
575
PACKAGE_NAME='ltspfs'
576
PACKAGE_TARNAME='ltspfs'
577
PACKAGE_VERSION='0.4.2'
578
PACKAGE_STRING='ltspfs 0.4.2'
579
PACKAGE_BUGREPORT='sbalneav@ltsp.org'
581
ac_unique_file="src/ltspfs.c"
582
# Factoring default headers for most tests.
583
ac_includes_default="\
585
#ifdef HAVE_SYS_TYPES_H
586
# include <sys/types.h>
588
#ifdef HAVE_SYS_STAT_H
589
# include <sys/stat.h>
595
# ifdef HAVE_STDLIB_H
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605
#ifdef HAVE_STRINGS_H
606
# include <strings.h>
608
#ifdef HAVE_INTTYPES_H
609
# include <inttypes.h>
627
program_transform_name
668
INSTALL_STRIP_PROGRAM
677
MAINTAINER_MODE_FALSE
710
ac_precious_vars='build_alias
728
# Initialize some variables set by options.
730
ac_init_version=false
731
# The variables have the same names as the options, with
732
# dashes changed to underlines.
740
program_transform_name=s,x,x,
748
# Installation directory options.
749
# These are left unexpanded so users can "make install exec_prefix=/foo"
750
# and all the variables that are supposed to be based on exec_prefix
751
# by default will actually change.
752
# Use braces instead of parens because sh, perl, etc. also accept them.
753
# (The list follows the same order as the GNU Coding Standards.)
754
bindir='${exec_prefix}/bin'
755
sbindir='${exec_prefix}/sbin'
756
libexecdir='${exec_prefix}/libexec'
757
datarootdir='${prefix}/share'
758
datadir='${datarootdir}'
759
sysconfdir='${prefix}/etc'
760
sharedstatedir='${prefix}/com'
761
localstatedir='${prefix}/var'
762
includedir='${prefix}/include'
763
oldincludedir='/usr/include'
764
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
765
infodir='${datarootdir}/info'
770
libdir='${exec_prefix}/lib'
771
localedir='${datarootdir}/locale'
772
mandir='${datarootdir}/man'
778
# If the previous option needs an argument, assign it.
779
if test -n "$ac_prev"; then
780
eval $ac_prev=\$ac_option
786
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790
# Accept the important Cygnus configure options, so we can diagnose typos.
792
case $ac_dashdash$ac_option in
796
-bindir | --bindir | --bindi | --bind | --bin | --bi)
798
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801
-build | --build | --buil | --bui | --bu)
802
ac_prev=build_alias ;;
803
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
804
build_alias=$ac_optarg ;;
806
-cache-file | --cache-file | --cache-fil | --cache-fi \
807
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808
ac_prev=cache_file ;;
809
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811
cache_file=$ac_optarg ;;
814
cache_file=config.cache ;;
816
-datadir | --datadir | --datadi | --datad)
818
-datadir=* | --datadir=* | --datadi=* | --datad=*)
819
datadir=$ac_optarg ;;
821
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822
| --dataroo | --dataro | --datar)
823
ac_prev=datarootdir ;;
824
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826
datarootdir=$ac_optarg ;;
828
-disable-* | --disable-*)
829
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830
# Reject names that are not valid shell variable names.
831
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
832
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
833
{ (exit 1); exit 1; }; }
834
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
835
eval enable_$ac_feature=no ;;
837
-docdir | --docdir | --docdi | --doc | --do)
839
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
842
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
847
-enable-* | --enable-*)
848
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849
# Reject names that are not valid shell variable names.
850
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
851
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
852
{ (exit 1); exit 1; }; }
853
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
854
eval enable_$ac_feature=\$ac_optarg ;;
856
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858
| --exec | --exe | --ex)
859
ac_prev=exec_prefix ;;
860
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862
| --exec=* | --exe=* | --ex=*)
863
exec_prefix=$ac_optarg ;;
865
-gas | --gas | --ga | --g)
866
# Obsolete; use --with-gas.
869
-help | --help | --hel | --he | -h)
871
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872
ac_init_help=recursive ;;
873
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874
ac_init_help=short ;;
876
-host | --host | --hos | --ho)
877
ac_prev=host_alias ;;
878
-host=* | --host=* | --hos=* | --ho=*)
879
host_alias=$ac_optarg ;;
881
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885
htmldir=$ac_optarg ;;
887
-includedir | --includedir | --includedi | --included | --include \
888
| --includ | --inclu | --incl | --inc)
889
ac_prev=includedir ;;
890
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891
| --includ=* | --inclu=* | --incl=* | --inc=*)
892
includedir=$ac_optarg ;;
894
-infodir | --infodir | --infodi | --infod | --info | --inf)
896
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897
infodir=$ac_optarg ;;
899
-libdir | --libdir | --libdi | --libd)
901
-libdir=* | --libdir=* | --libdi=* | --libd=*)
904
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905
| --libexe | --libex | --libe)
906
ac_prev=libexecdir ;;
907
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908
| --libexe=* | --libex=* | --libe=*)
909
libexecdir=$ac_optarg ;;
911
-localedir | --localedir | --localedi | --localed | --locale)
913
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914
localedir=$ac_optarg ;;
916
-localstatedir | --localstatedir | --localstatedi | --localstated \
917
| --localstate | --localstat | --localsta | --localst | --locals)
918
ac_prev=localstatedir ;;
919
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921
localstatedir=$ac_optarg ;;
923
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
929
# Obsolete; use --without-fp.
932
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
933
| --no-cr | --no-c | -n)
936
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
937
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
940
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942
| --oldin | --oldi | --old | --ol | --o)
943
ac_prev=oldincludedir ;;
944
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947
oldincludedir=$ac_optarg ;;
949
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
954
-program-prefix | --program-prefix | --program-prefi | --program-pref \
955
| --program-pre | --program-pr | --program-p)
956
ac_prev=program_prefix ;;
957
-program-prefix=* | --program-prefix=* | --program-prefi=* \
958
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959
program_prefix=$ac_optarg ;;
961
-program-suffix | --program-suffix | --program-suffi | --program-suff \
962
| --program-suf | --program-su | --program-s)
963
ac_prev=program_suffix ;;
964
-program-suffix=* | --program-suffix=* | --program-suffi=* \
965
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966
program_suffix=$ac_optarg ;;
968
-program-transform-name | --program-transform-name \
969
| --program-transform-nam | --program-transform-na \
970
| --program-transform-n | --program-transform- \
971
| --program-transform | --program-transfor \
972
| --program-transfo | --program-transf \
973
| --program-trans | --program-tran \
974
| --progr-tra | --program-tr | --program-t)
975
ac_prev=program_transform_name ;;
976
-program-transform-name=* | --program-transform-name=* \
977
| --program-transform-nam=* | --program-transform-na=* \
978
| --program-transform-n=* | --program-transform-=* \
979
| --program-transform=* | --program-transfor=* \
980
| --program-transfo=* | --program-transf=* \
981
| --program-trans=* | --program-tran=* \
982
| --progr-tra=* | --program-tr=* | --program-t=*)
983
program_transform_name=$ac_optarg ;;
985
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990
-psdir | --psdir | --psdi | --psd | --ps)
992
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
996
| -silent | --silent | --silen | --sile | --sil)
999
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003
sbindir=$ac_optarg ;;
1005
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1006
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007
| --sharedst | --shareds | --shared | --share | --shar \
1009
ac_prev=sharedstatedir ;;
1010
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014
sharedstatedir=$ac_optarg ;;
1016
-site | --site | --sit)
1018
-site=* | --site=* | --sit=*)
1021
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024
srcdir=$ac_optarg ;;
1026
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027
| --syscon | --sysco | --sysc | --sys | --sy)
1028
ac_prev=sysconfdir ;;
1029
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031
sysconfdir=$ac_optarg ;;
1033
-target | --target | --targe | --targ | --tar | --ta | --t)
1034
ac_prev=target_alias ;;
1035
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036
target_alias=$ac_optarg ;;
1038
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1041
-version | --version | --versio | --versi | --vers | -V)
1042
ac_init_version=: ;;
1045
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046
# Reject names that are not valid shell variable names.
1047
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1049
{ (exit 1); exit 1; }; }
1050
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1051
eval with_$ac_package=\$ac_optarg ;;
1053
-without-* | --without-*)
1054
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055
# Reject names that are not valid shell variable names.
1056
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1058
{ (exit 1); exit 1; }; }
1059
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1060
eval with_$ac_package=no ;;
1063
# Obsolete; use --with-x.
1066
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1067
| --x-incl | --x-inc | --x-in | --x-i)
1068
ac_prev=x_includes ;;
1069
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1070
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1071
x_includes=$ac_optarg ;;
1073
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1074
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1075
ac_prev=x_libraries ;;
1076
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1077
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1078
x_libraries=$ac_optarg ;;
1080
-*) { echo "$as_me: error: unrecognized option: $ac_option
1081
Try \`$0 --help' for more information." >&2
1082
{ (exit 1); exit 1; }; }
1086
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1087
# Reject names that are not valid shell variable names.
1088
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1089
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1090
{ (exit 1); exit 1; }; }
1091
eval $ac_envvar=\$ac_optarg
1092
export $ac_envvar ;;
1095
# FIXME: should be removed in autoconf 3.0.
1096
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1097
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1098
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1099
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1105
if test -n "$ac_prev"; then
1106
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1107
{ echo "$as_me: error: missing argument to $ac_option" >&2
1108
{ (exit 1); exit 1; }; }
1111
# Be sure to have absolute directory names.
1112
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113
datadir sysconfdir sharedstatedir localstatedir includedir \
1114
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115
libdir localedir mandir
1117
eval ac_val=\$$ac_var
1119
[\\/$]* | ?:[\\/]* ) continue;;
1120
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1123
{ (exit 1); exit 1; }; }
1126
# There might be people who depend on the old broken behavior: `$host'
1127
# used to hold the argument of --host etc.
1128
# FIXME: To remove some day.
1131
target=$target_alias
1133
# FIXME: To remove some day.
1134
if test "x$host_alias" != x; then
1135
if test "x$build_alias" = x; then
1136
cross_compiling=maybe
1137
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1138
If a cross compiler is detected then cross compile mode will be used." >&2
1139
elif test "x$build_alias" != "x$host_alias"; then
1145
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1147
test "$silent" = yes && exec 6>/dev/null
1150
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1151
ac_ls_di=`ls -di .` &&
1152
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1153
{ echo "$as_me: error: Working directory cannot be determined" >&2
1154
{ (exit 1); exit 1; }; }
1155
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1156
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1157
{ (exit 1); exit 1; }; }
1160
# Find the source files, if location was not specified.
1161
if test -z "$srcdir"; then
1162
ac_srcdir_defaulted=yes
1163
# Try the directory containing this script, then the parent directory.
1164
ac_confdir=`$as_dirname -- "$0" ||
1165
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166
X"$0" : 'X\(//\)[^/]' \| \
1167
X"$0" : 'X\(//\)$' \| \
1168
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1170
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188
if test ! -r "$srcdir/$ac_unique_file"; then
1192
ac_srcdir_defaulted=no
1194
if test ! -r "$srcdir/$ac_unique_file"; then
1195
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1197
{ (exit 1); exit 1; }; }
1199
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1202
{ (exit 1); exit 1; }; }
1204
# When building in place, set srcdir=.
1205
if test "$ac_abs_confdir" = "$ac_pwd"; then
1208
# Remove unnecessary trailing slashes from srcdir.
1209
# Double slashes in file names in object file debugging info
1210
# mess up M-x gdb in Emacs.
1212
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214
for ac_var in $ac_precious_vars; do
1215
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216
eval ac_env_${ac_var}_value=\$${ac_var}
1217
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1222
# Report the --help message.
1224
if test "$ac_init_help" = "long"; then
1225
# Omit some internal or obsolete options to make the list less imposing.
1226
# This message is too long to be a string in the A/UX 3.1 sh.
1228
\`configure' configures ltspfs 0.4.2 to adapt to many kinds of systems.
1230
Usage: $0 [OPTION]... [VAR=VALUE]...
1232
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233
VAR=VALUE. See below for descriptions of some of the useful variables.
1235
Defaults for the options are specified in brackets.
1238
-h, --help display this help and exit
1239
--help=short display options specific to this package
1240
--help=recursive display the short help of all the included packages
1241
-V, --version display version information and exit
1242
-q, --quiet, --silent do not print \`checking...' messages
1243
--cache-file=FILE cache test results in FILE [disabled]
1244
-C, --config-cache alias for \`--cache-file=config.cache'
1245
-n, --no-create do not create output files
1246
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1248
Installation directories:
1249
--prefix=PREFIX install architecture-independent files in PREFIX
1250
[$ac_default_prefix]
1251
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254
By default, \`make install' will install all the files in
1255
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257
for instance \`--prefix=\$HOME'.
1259
For better control, use the options below.
1261
Fine tuning of the installation directories:
1262
--bindir=DIR user executables [EPREFIX/bin]
1263
--sbindir=DIR system admin executables [EPREFIX/sbin]
1264
--libexecdir=DIR program executables [EPREFIX/libexec]
1265
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268
--libdir=DIR object code libraries [EPREFIX/lib]
1269
--includedir=DIR C header files [PREFIX/include]
1270
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1271
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273
--infodir=DIR info documentation [DATAROOTDIR/info]
1274
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275
--mandir=DIR man documentation [DATAROOTDIR/man]
1276
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/ltspfs@:>@
1277
--htmldir=DIR html documentation [DOCDIR]
1278
--dvidir=DIR dvi documentation [DOCDIR]
1279
--pdfdir=DIR pdf documentation [DOCDIR]
1280
--psdir=DIR ps documentation [DOCDIR]
1286
--program-prefix=PREFIX prepend PREFIX to installed program names
1287
--program-suffix=SUFFIX append SUFFIX to installed program names
1288
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1292
if test -n "$ac_init_help"; then
1293
case $ac_init_help in
1294
short | recursive ) echo "Configuration of ltspfs 0.4.2:";;
1299
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301
--enable-maintainer-mode enable make rules and dependencies not useful
1302
(and sometimes confusing) to the casual installer
1303
--disable-dependency-tracking speeds up one-time build
1304
--enable-dependency-tracking do not reject slow dependency extractors
1306
Some influential environment variables:
1307
CC C compiler command
1308
CFLAGS C compiler flags
1309
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1310
nonstandard directory <lib dir>
1311
LIBS libraries to pass to the linker, e.g. -l<library>
1312
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1313
you have headers in a nonstandard directory <include dir>
1314
PKG_CONFIG path to pkg-config utility
1316
C compiler flags for LTSPFS, overriding pkg-config
1317
LTSPFS_LIBS linker flags for LTSPFS, overriding pkg-config
1319
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1320
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1322
C compiler flags for GOBJECT, overriding pkg-config
1324
linker flags for GOBJECT, overriding pkg-config
1326
Use these variables to override the choices made by `configure' or to help
1327
it to find libraries and programs with nonstandard names/locations.
1329
Report bugs to <sbalneav@ltsp.org>.
1334
if test "$ac_init_help" = "recursive"; then
1335
# If there are subdirs, report their specific --help.
1336
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1337
test -d "$ac_dir" || continue
1341
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1344
# A ".." for each directory in $ac_dir_suffix.
1345
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1346
case $ac_top_builddir_sub in
1347
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351
ac_abs_top_builddir=$ac_pwd
1352
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353
# for backward compatibility:
1354
ac_top_builddir=$ac_top_build_prefix
1357
.) # We are building in place.
1359
ac_top_srcdir=$ac_top_builddir_sub
1360
ac_abs_top_srcdir=$ac_pwd ;;
1361
[\\/]* | ?:[\\/]* ) # Absolute name.
1362
ac_srcdir=$srcdir$ac_dir_suffix;
1363
ac_top_srcdir=$srcdir
1364
ac_abs_top_srcdir=$srcdir ;;
1366
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367
ac_top_srcdir=$ac_top_build_prefix$srcdir
1368
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1370
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1372
cd "$ac_dir" || { ac_status=$?; continue; }
1373
# Check for guested configure.
1374
if test -f "$ac_srcdir/configure.gnu"; then
1376
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377
elif test -f "$ac_srcdir/configure"; then
1379
$SHELL "$ac_srcdir/configure" --help=recursive
1381
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383
cd "$ac_pwd" || { ac_status=$?; break; }
1387
test -n "$ac_init_help" && exit $ac_status
1388
if $ac_init_version; then
1390
ltspfs configure 0.4.2
1391
generated by GNU Autoconf 2.61
1393
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1394
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1395
This configure script is free software; the Free Software Foundation
1396
gives unlimited permission to copy, distribute and modify it.
1400
cat >config.log <<_ACEOF
1401
This file contains any messages produced by compilers while
1402
running configure, to aid debugging if configure makes a mistake.
1404
It was created by ltspfs $as_me 0.4.2, which was
1405
generated by GNU Autoconf 2.61. Invocation command line was
1413
@%:@@%:@ --------- @%:@@%:@
1414
@%:@@%:@ Platform. @%:@@%:@
1415
@%:@@%:@ --------- @%:@@%:@
1417
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1418
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1419
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1420
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1421
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1423
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1424
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1426
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1427
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1428
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1429
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1430
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1431
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1432
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1440
test -z "$as_dir" && as_dir=.
1441
echo "PATH: $as_dir"
1450
@%:@@%:@ ----------- @%:@@%:@
1451
@%:@@%:@ Core tests. @%:@@%:@
1452
@%:@@%:@ ----------- @%:@@%:@
1457
# Keep a trace of the command line.
1458
# Strip out --no-create and --no-recursion so they do not pile up.
1459
# Strip out --silent because we don't want to record it for future runs.
1460
# Also quote any args containing shell meta-characters.
1461
# Make two passes to allow for proper duplicate-argument suppression.
1465
ac_must_keep_next=false
1471
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1472
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473
| -silent | --silent | --silen | --sile | --sil)
1476
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1479
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1481
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1482
if test $ac_must_keep_next = true; then
1483
ac_must_keep_next=false # Got value, back to normal.
1486
*=* | --config-cache | -C | -disable-* | --disable-* \
1487
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1488
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1489
| -with-* | --with-* | -without-* | --without-* | --x)
1490
case "$ac_configure_args0 " in
1491
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1494
-* ) ac_must_keep_next=true ;;
1497
ac_configure_args="$ac_configure_args '$ac_arg'"
1502
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1503
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1505
# When interrupted or exit'd, cleanup temporary files, and complete
1506
# config.log. We remove comments because anyway the quotes in there
1507
# would cause problems or look ugly.
1508
# WARNING: Use '\'' to represent an apostrophe within the trap.
1509
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1510
trap 'exit_status=$?
1511
# Save into config.log some information that might help in debugging.
1516
@%:@@%:@ ---------------- @%:@@%:@
1517
@%:@@%:@ Cache variables. @%:@@%:@
1518
@%:@@%:@ ---------------- @%:@@%:@
1521
# The following way of writing the cache mishandles newlines in values,
1523
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1524
eval ac_val=\$$ac_var
1528
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1529
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1532
_ | IFS | as_nl) ;; #(
1533
*) $as_unset $ac_var ;;
1538
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1539
*${as_nl}ac_space=\ *)
1541
"s/'\''/'\''\\\\'\'''\''/g;
1542
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1545
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1553
@%:@@%:@ ----------------- @%:@@%:@
1554
@%:@@%:@ Output variables. @%:@@%:@
1555
@%:@@%:@ ----------------- @%:@@%:@
1558
for ac_var in $ac_subst_vars
1560
eval ac_val=\$$ac_var
1562
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1564
echo "$ac_var='\''$ac_val'\''"
1568
if test -n "$ac_subst_files"; then
1570
@%:@@%:@ ------------------- @%:@@%:@
1571
@%:@@%:@ File substitutions. @%:@@%:@
1572
@%:@@%:@ ------------------- @%:@@%:@
1575
for ac_var in $ac_subst_files
1577
eval ac_val=\$$ac_var
1579
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581
echo "$ac_var='\''$ac_val'\''"
1586
if test -s confdefs.h; then
1588
@%:@@%:@ ----------- @%:@@%:@
1589
@%:@@%:@ confdefs.h. @%:@@%:@
1590
@%:@@%:@ ----------- @%:@@%:@
1596
test "$ac_signal" != 0 &&
1597
echo "$as_me: caught signal $ac_signal"
1598
echo "$as_me: exit $exit_status"
1600
rm -f core *.core core.conftest.* &&
1601
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1604
for ac_signal in 1 2 13 15; do
1605
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1609
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1610
rm -f -r conftest* confdefs.h
1612
# Predefined preprocessor variables.
1614
cat >>confdefs.h <<_ACEOF
1615
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1619
cat >>confdefs.h <<_ACEOF
1620
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1624
cat >>confdefs.h <<_ACEOF
1625
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1629
cat >>confdefs.h <<_ACEOF
1630
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1634
cat >>confdefs.h <<_ACEOF
1635
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1639
# Let the site file select an alternate cache file if it wants to.
1640
# Prefer explicitly selected file to automatically selected ones.
1641
if test -n "$CONFIG_SITE"; then
1642
set x "$CONFIG_SITE"
1643
elif test "x$prefix" != xNONE; then
1644
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1646
set x "$ac_default_prefix/share/config.site" \
1647
"$ac_default_prefix/etc/config.site"
1652
if test -r "$ac_site_file"; then
1653
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1654
echo "$as_me: loading site script $ac_site_file" >&6;}
1655
sed 's/^/| /' "$ac_site_file" >&5
1660
if test -r "$cache_file"; then
1661
# Some versions of bash will fail to source /dev/null (special
1662
# files actually), so we avoid doing that.
1663
if test -f "$cache_file"; then
1664
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1665
echo "$as_me: loading cache $cache_file" >&6;}
1667
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1668
*) . "./$cache_file";;
1672
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1673
echo "$as_me: creating cache $cache_file" >&6;}
1677
# Check that the precious variables saved in the cache have kept the same
1679
ac_cache_corrupted=false
1680
for ac_var in $ac_precious_vars; do
1681
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1682
eval ac_new_set=\$ac_env_${ac_var}_set
1683
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1684
eval ac_new_val=\$ac_env_${ac_var}_value
1685
case $ac_old_set,$ac_new_set in
1687
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1688
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1689
ac_cache_corrupted=: ;;
1691
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1692
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1693
ac_cache_corrupted=: ;;
1696
if test "x$ac_old_val" != "x$ac_new_val"; then
1697
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1698
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1699
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1700
echo "$as_me: former value: $ac_old_val" >&2;}
1701
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1702
echo "$as_me: current value: $ac_new_val" >&2;}
1703
ac_cache_corrupted=:
1706
# Pass precious variables to config.status.
1707
if test "$ac_new_set" = set; then
1709
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1710
*) ac_arg=$ac_var=$ac_new_val ;;
1712
case " $ac_configure_args " in
1713
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1714
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1718
if $ac_cache_corrupted; then
1719
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1720
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1721
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1722
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1723
{ (exit 1); exit 1; }; }
1751
ac_cpp='$CPP $CPPFLAGS'
1752
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1753
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1754
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1758
am__api_version="1.9"
1760
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1761
if test -f "$ac_dir/install-sh"; then
1763
ac_install_sh="$ac_aux_dir/install-sh -c"
1765
elif test -f "$ac_dir/install.sh"; then
1767
ac_install_sh="$ac_aux_dir/install.sh -c"
1769
elif test -f "$ac_dir/shtool"; then
1771
ac_install_sh="$ac_aux_dir/shtool install -c"
1775
if test -z "$ac_aux_dir"; then
1776
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1777
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1778
{ (exit 1); exit 1; }; }
1781
# These three variables are undocumented and unsupported,
1782
# and are intended to be withdrawn in a future Autoconf release.
1783
# They can cause serious problems if a builder's source tree is in a directory
1784
# whose full name contains unusual characters.
1785
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1786
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1787
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1790
# Find a good install program. We prefer a C program (faster),
1791
# so one script is as good as another. But avoid the broken or
1792
# incompatible versions:
1793
# SysV /etc/install, /usr/sbin/install
1794
# SunOS /usr/etc/install
1795
# IRIX /sbin/install
1797
# AmigaOS /C/install, which installs bootblocks on floppy discs
1798
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1799
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1800
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1801
# OS/2's system install, which has a completely different semantic
1802
# ./install, which can be erroneously created by make from ./install.sh.
1803
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1804
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1805
if test -z "$INSTALL"; then
1806
if test "${ac_cv_path_install+set}" = set; then
1807
echo $ECHO_N "(cached) $ECHO_C" >&6
1809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813
test -z "$as_dir" && as_dir=.
1814
# Account for people who put trailing slashes in PATH elements.
1816
./ | .// | /cC/* | \
1817
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1818
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1821
# OSF1 and SCO ODT 3.0 have their own names for install.
1822
# Don't use installbsd from OSF since it installs stuff as root
1824
for ac_prog in ginstall scoinst install; do
1825
for ac_exec_ext in '' $ac_executable_extensions; do
1826
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1827
if test $ac_prog = install &&
1828
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1829
# AIX install. It has an incompatible calling convention.
1831
elif test $ac_prog = install &&
1832
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1833
# program-specific install script used by HP pwplus--don't use.
1836
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1849
if test "${ac_cv_path_install+set}" = set; then
1850
INSTALL=$ac_cv_path_install
1852
# As a last resort, use the slow shell script. Don't cache a
1853
# value for INSTALL within a source directory, because that will
1854
# break other packages using the cache if that directory is
1855
# removed, or if the value is a relative name.
1856
INSTALL=$ac_install_sh
1859
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1860
echo "${ECHO_T}$INSTALL" >&6; }
1862
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1863
# It thinks the first close brace ends the variable substitution.
1864
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1866
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1868
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1870
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1871
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1874
echo timestamp > conftest.file
1875
# Do `set' in a subshell so we don't clobber the current shell's
1876
# arguments. Must try -L first in case configure is actually a
1877
# symlink; some systems play weird games with the mod time of symlinks
1878
# (eg FreeBSD returns the mod time of the symlink's containing
1881
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1882
if test "$*" = "X"; then
1884
set X `ls -t $srcdir/configure conftest.file`
1887
if test "$*" != "X $srcdir/configure conftest.file" \
1888
&& test "$*" != "X conftest.file $srcdir/configure"; then
1890
# If neither matched, then we have a broken ls. This can happen
1891
# if, for instance, CONFIG_SHELL is bash and it inherits a
1892
# broken ls alias from the environment. This has actually
1893
# happened. Such a system could not be considered "sane".
1894
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1895
alias in your environment" >&5
1896
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1897
alias in your environment" >&2;}
1898
{ (exit 1); exit 1; }; }
1901
test "$2" = conftest.file
1907
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1908
Check your system clock" >&5
1909
echo "$as_me: error: newly created file is older than distributed files!
1910
Check your system clock" >&2;}
1911
{ (exit 1); exit 1; }; }
1913
{ echo "$as_me:$LINENO: result: yes" >&5
1914
echo "${ECHO_T}yes" >&6; }
1915
test "$program_prefix" != NONE &&
1916
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1917
# Use a double $ so make ignores it.
1918
test "$program_suffix" != NONE &&
1919
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1920
# Double any \ or $. echo might interpret backslashes.
1921
# By default was `s,x,x', remove it if useless.
1922
cat <<\_ACEOF >conftest.sed
1923
s/[\\$]/&&/g;s/;s,x,x,$//
1925
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1928
# expand $ac_aux_dir to an absolute path
1929
am_aux_dir=`cd $ac_aux_dir && pwd`
1931
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1932
# Use eval to expand $SHELL
1933
if eval "$MISSING --run true"; then
1934
am_missing_run="$MISSING --run "
1937
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1938
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1941
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1942
# We used to keeping the `.' as first argument, in order to
1943
# allow $(mkdir_p) to be used without argument. As in
1944
# $(mkdir_p) $(somedir)
1945
# where $(somedir) is conditionally defined. However this is wrong
1947
# 1. if the package is installed by a user who cannot write `.'
1948
# make install will fail,
1949
# 2. the above comment should most certainly read
1950
# $(mkdir_p) $(DESTDIR)$(somedir)
1951
# so it does not work when $(somedir) is undefined and
1952
# $(DESTDIR) is not.
1953
# To support the latter case, we have to write
1954
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1955
# so the `.' trick is pointless.
1956
mkdir_p='mkdir -p --'
1958
# On NextStep and OpenStep, the `mkdir' command does not
1959
# recognize any option. It will interpret all options as
1960
# directories to create, and then abort because `.' already
1962
for d in ./-p ./--version;
1964
test -d $d && rmdir $d
1966
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1967
if test -f "$ac_aux_dir/mkinstalldirs"; then
1968
mkdir_p='$(mkinstalldirs)'
1970
mkdir_p='$(install_sh) -d'
1974
for ac_prog in gawk mawk nawk awk
1976
# Extract the first word of "$ac_prog", so it can be a program name with args.
1977
set dummy $ac_prog; ac_word=$2
1978
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1979
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1980
if test "${ac_cv_prog_AWK+set}" = set; then
1981
echo $ECHO_N "(cached) $ECHO_C" >&6
1983
if test -n "$AWK"; then
1984
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990
test -z "$as_dir" && as_dir=.
1991
for ac_exec_ext in '' $ac_executable_extensions; do
1992
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993
ac_cv_prog_AWK="$ac_prog"
1994
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004
if test -n "$AWK"; then
2005
{ echo "$as_me:$LINENO: result: $AWK" >&5
2006
echo "${ECHO_T}$AWK" >&6; }
2008
{ echo "$as_me:$LINENO: result: no" >&5
2009
echo "${ECHO_T}no" >&6; }
2013
test -n "$AWK" && break
2016
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2017
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2018
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2019
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2020
echo $ECHO_N "(cached) $ECHO_C" >&6
2022
cat >conftest.make <<\_ACEOF
2025
@echo '@@@%%%=$(MAKE)=@@@%%%'
2027
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2028
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2030
eval ac_cv_prog_make_${ac_make}_set=yes;;
2032
eval ac_cv_prog_make_${ac_make}_set=no;;
2036
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2037
{ echo "$as_me:$LINENO: result: yes" >&5
2038
echo "${ECHO_T}yes" >&6; }
2041
{ echo "$as_me:$LINENO: result: no" >&5
2042
echo "${ECHO_T}no" >&6; }
2043
SET_MAKE="MAKE=${MAKE-make}"
2046
rm -rf .tst 2>/dev/null
2047
mkdir .tst 2>/dev/null
2048
if test -d .tst; then
2053
rmdir .tst 2>/dev/null
2055
# test to see if srcdir already configured
2056
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2057
test -f $srcdir/config.status; then
2058
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2059
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2060
{ (exit 1); exit 1; }; }
2063
# test whether we have cygpath
2064
if test -z "$CYGPATH_W"; then
2065
if (cygpath --version) >/dev/null 2>/dev/null; then
2066
CYGPATH_W='cygpath -w'
2073
# Define the identity of the package.
2078
cat >>confdefs.h <<_ACEOF
2079
@%:@define PACKAGE "$PACKAGE"
2083
cat >>confdefs.h <<_ACEOF
2084
@%:@define VERSION "$VERSION"
2087
# Some tools Automake needs.
2089
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2092
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2095
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2098
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2101
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2103
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2105
# Installed binaries are usually stripped using `strip' when the user
2106
# run `make install-strip'. However `strip' might not be the right
2107
# tool to use in cross-compilation environments, therefore Automake
2108
# will honor the `STRIP' environment variable to overrule this program.
2109
if test "$cross_compiling" != no; then
2110
if test -n "$ac_tool_prefix"; then
2111
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112
set dummy ${ac_tool_prefix}strip; ac_word=$2
2113
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2114
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2115
if test "${ac_cv_prog_STRIP+set}" = set; then
2116
echo $ECHO_N "(cached) $ECHO_C" >&6
2118
if test -n "$STRIP"; then
2119
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125
test -z "$as_dir" && as_dir=.
2126
for ac_exec_ext in '' $ac_executable_extensions; do
2127
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2129
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138
STRIP=$ac_cv_prog_STRIP
2139
if test -n "$STRIP"; then
2140
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2141
echo "${ECHO_T}$STRIP" >&6; }
2143
{ echo "$as_me:$LINENO: result: no" >&5
2144
echo "${ECHO_T}no" >&6; }
2149
if test -z "$ac_cv_prog_STRIP"; then
2151
# Extract the first word of "strip", so it can be a program name with args.
2152
set dummy strip; ac_word=$2
2153
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2154
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156
echo $ECHO_N "(cached) $ECHO_C" >&6
2158
if test -n "$ac_ct_STRIP"; then
2159
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165
test -z "$as_dir" && as_dir=.
2166
for ac_exec_ext in '' $ac_executable_extensions; do
2167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168
ac_cv_prog_ac_ct_STRIP="strip"
2169
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2179
if test -n "$ac_ct_STRIP"; then
2180
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2183
{ echo "$as_me:$LINENO: result: no" >&5
2184
echo "${ECHO_T}no" >&6; }
2187
if test "x$ac_ct_STRIP" = x; then
2190
case $cross_compiling:$ac_tool_warned in
2192
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2193
whose name does not start with the host triplet. If you think this
2194
configuration is useful to you, please write to autoconf@gnu.org." >&5
2195
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2196
whose name does not start with the host triplet. If you think this
2197
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2198
ac_tool_warned=yes ;;
2203
STRIP="$ac_cv_prog_STRIP"
2207
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2209
# We need awk for the "check" target. The system "awk" is bad on
2211
# Always define AMTAR for backward compatibility.
2213
AMTAR=${AMTAR-"${am_missing_run}tar"}
2215
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2222
ac_config_headers="$ac_config_headers config.h"
2224
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2225
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2226
# Check whether --enable-maintainer-mode was given.
2227
if test "${enable_maintainer_mode+set}" = set; then
2228
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2230
USE_MAINTAINER_MODE=no
2233
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2234
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2237
if test $USE_MAINTAINER_MODE = yes; then
2238
MAINTAINER_MODE_TRUE=
2239
MAINTAINER_MODE_FALSE='#'
2241
MAINTAINER_MODE_TRUE='#'
2242
MAINTAINER_MODE_FALSE=
2245
MAINT=$MAINTAINER_MODE_TRUE
2248
# Checks for programs.
2250
ac_cpp='$CPP $CPPFLAGS'
2251
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2254
if test -n "$ac_tool_prefix"; then
2255
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2256
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2257
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2258
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259
if test "${ac_cv_prog_CC+set}" = set; then
2260
echo $ECHO_N "(cached) $ECHO_C" >&6
2262
if test -n "$CC"; then
2263
ac_cv_prog_CC="$CC" # Let the user override the test.
2265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269
test -z "$as_dir" && as_dir=.
2270
for ac_exec_ext in '' $ac_executable_extensions; do
2271
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2273
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283
if test -n "$CC"; then
2284
{ echo "$as_me:$LINENO: result: $CC" >&5
2285
echo "${ECHO_T}$CC" >&6; }
2287
{ echo "$as_me:$LINENO: result: no" >&5
2288
echo "${ECHO_T}no" >&6; }
2293
if test -z "$ac_cv_prog_CC"; then
2295
# Extract the first word of "gcc", so it can be a program name with args.
2296
set dummy gcc; ac_word=$2
2297
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2298
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2300
echo $ECHO_N "(cached) $ECHO_C" >&6
2302
if test -n "$ac_ct_CC"; then
2303
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309
test -z "$as_dir" && as_dir=.
2310
for ac_exec_ext in '' $ac_executable_extensions; do
2311
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312
ac_cv_prog_ac_ct_CC="gcc"
2313
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323
if test -n "$ac_ct_CC"; then
2324
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2325
echo "${ECHO_T}$ac_ct_CC" >&6; }
2327
{ echo "$as_me:$LINENO: result: no" >&5
2328
echo "${ECHO_T}no" >&6; }
2331
if test "x$ac_ct_CC" = x; then
2334
case $cross_compiling:$ac_tool_warned in
2336
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2337
whose name does not start with the host triplet. If you think this
2338
configuration is useful to you, please write to autoconf@gnu.org." >&5
2339
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2340
whose name does not start with the host triplet. If you think this
2341
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2342
ac_tool_warned=yes ;;
2350
if test -z "$CC"; then
2351
if test -n "$ac_tool_prefix"; then
2352
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2353
set dummy ${ac_tool_prefix}cc; ac_word=$2
2354
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2355
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356
if test "${ac_cv_prog_CC+set}" = set; then
2357
echo $ECHO_N "(cached) $ECHO_C" >&6
2359
if test -n "$CC"; then
2360
ac_cv_prog_CC="$CC" # Let the user override the test.
2362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366
test -z "$as_dir" && as_dir=.
2367
for ac_exec_ext in '' $ac_executable_extensions; do
2368
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369
ac_cv_prog_CC="${ac_tool_prefix}cc"
2370
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380
if test -n "$CC"; then
2381
{ echo "$as_me:$LINENO: result: $CC" >&5
2382
echo "${ECHO_T}$CC" >&6; }
2384
{ echo "$as_me:$LINENO: result: no" >&5
2385
echo "${ECHO_T}no" >&6; }
2391
if test -z "$CC"; then
2392
# Extract the first word of "cc", so it can be a program name with args.
2393
set dummy cc; ac_word=$2
2394
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2395
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396
if test "${ac_cv_prog_CC+set}" = set; then
2397
echo $ECHO_N "(cached) $ECHO_C" >&6
2399
if test -n "$CC"; then
2400
ac_cv_prog_CC="$CC" # Let the user override the test.
2403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407
test -z "$as_dir" && as_dir=.
2408
for ac_exec_ext in '' $ac_executable_extensions; do
2409
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2411
ac_prog_rejected=yes
2415
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422
if test $ac_prog_rejected = yes; then
2423
# We found a bogon in the path, so make sure we never use it.
2424
set dummy $ac_cv_prog_CC
2426
if test $@%:@ != 0; then
2427
# We chose a different compiler from the bogus one.
2428
# However, it has the same basename, so the bogon will be chosen
2429
# first if we set CC to just the basename; use the full file name.
2431
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2437
if test -n "$CC"; then
2438
{ echo "$as_me:$LINENO: result: $CC" >&5
2439
echo "${ECHO_T}$CC" >&6; }
2441
{ echo "$as_me:$LINENO: result: no" >&5
2442
echo "${ECHO_T}no" >&6; }
2447
if test -z "$CC"; then
2448
if test -n "$ac_tool_prefix"; then
2449
for ac_prog in cl.exe
2451
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2452
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2453
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2454
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455
if test "${ac_cv_prog_CC+set}" = set; then
2456
echo $ECHO_N "(cached) $ECHO_C" >&6
2458
if test -n "$CC"; then
2459
ac_cv_prog_CC="$CC" # Let the user override the test.
2461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465
test -z "$as_dir" && as_dir=.
2466
for ac_exec_ext in '' $ac_executable_extensions; do
2467
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2469
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479
if test -n "$CC"; then
2480
{ echo "$as_me:$LINENO: result: $CC" >&5
2481
echo "${ECHO_T}$CC" >&6; }
2483
{ echo "$as_me:$LINENO: result: no" >&5
2484
echo "${ECHO_T}no" >&6; }
2488
test -n "$CC" && break
2491
if test -z "$CC"; then
2493
for ac_prog in cl.exe
2495
# Extract the first word of "$ac_prog", so it can be a program name with args.
2496
set dummy $ac_prog; ac_word=$2
2497
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2498
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2500
echo $ECHO_N "(cached) $ECHO_C" >&6
2502
if test -n "$ac_ct_CC"; then
2503
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509
test -z "$as_dir" && as_dir=.
2510
for ac_exec_ext in '' $ac_executable_extensions; do
2511
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512
ac_cv_prog_ac_ct_CC="$ac_prog"
2513
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2523
if test -n "$ac_ct_CC"; then
2524
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2525
echo "${ECHO_T}$ac_ct_CC" >&6; }
2527
{ echo "$as_me:$LINENO: result: no" >&5
2528
echo "${ECHO_T}no" >&6; }
2532
test -n "$ac_ct_CC" && break
2535
if test "x$ac_ct_CC" = x; then
2538
case $cross_compiling:$ac_tool_warned in
2540
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2541
whose name does not start with the host triplet. If you think this
2542
configuration is useful to you, please write to autoconf@gnu.org." >&5
2543
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2544
whose name does not start with the host triplet. If you think this
2545
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2546
ac_tool_warned=yes ;;
2555
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2556
See \`config.log' for more details." >&5
2557
echo "$as_me: error: no acceptable C compiler found in \$PATH
2558
See \`config.log' for more details." >&2;}
2559
{ (exit 1); exit 1; }; }
2561
# Provide some information about the compiler.
2562
echo "$as_me:$LINENO: checking for C compiler version" >&5
2563
ac_compiler=`set X $ac_compile; echo $2`
2564
{ (ac_try="$ac_compiler --version >&5"
2566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567
*) ac_try_echo=$ac_try;;
2569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570
(eval "$ac_compiler --version >&5") 2>&5
2572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
(exit $ac_status); }
2574
{ (ac_try="$ac_compiler -v >&5"
2576
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577
*) ac_try_echo=$ac_try;;
2579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580
(eval "$ac_compiler -v >&5") 2>&5
2582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
(exit $ac_status); }
2584
{ (ac_try="$ac_compiler -V >&5"
2586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587
*) ac_try_echo=$ac_try;;
2589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590
(eval "$ac_compiler -V >&5") 2>&5
2592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593
(exit $ac_status); }
2595
cat >conftest.$ac_ext <<_ACEOF
2598
cat confdefs.h >>conftest.$ac_ext
2599
cat >>conftest.$ac_ext <<_ACEOF
2600
/* end confdefs.h. */
2610
ac_clean_files_save=$ac_clean_files
2611
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2612
# Try to create an executable without -o first, disregard a.out.
2613
# It will help us diagnose broken compilers, and finding out an intuition
2615
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2616
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2617
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2619
# List of possible output files, starting from the most likely.
2620
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2621
# only as a last resort. b.out is created by i960 compilers.
2622
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2624
# The IRIX 6 linker writes into existing files which may not be
2625
# executable, retaining their permissions. Remove them first so a
2626
# subsequent execution test works.
2628
for ac_file in $ac_files
2631
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2632
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2637
if { (ac_try="$ac_link_default"
2639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640
*) ac_try_echo=$ac_try;;
2642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2643
(eval "$ac_link_default") 2>&5
2645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646
(exit $ac_status); }; then
2647
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2648
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2649
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2650
# so that the user can short-circuit this test for compilers unknown to
2652
for ac_file in $ac_files ''
2654
test -f "$ac_file" || continue
2656
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2659
# We found the default executable, but exeext='' is most
2663
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2665
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667
# We set ac_cv_exeext here because the later test for it is not
2668
# safe: cross compilers may not add the suffix if given an `-o'
2669
# argument, so we may need to know it at that point already.
2670
# Even if this section looks crufty: it has the advantage of
2677
test "$ac_cv_exeext" = no && ac_cv_exeext=
2683
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2684
echo "${ECHO_T}$ac_file" >&6; }
2685
if test -z "$ac_file"; then
2686
echo "$as_me: failed program was:" >&5
2687
sed 's/^/| /' conftest.$ac_ext >&5
2689
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2690
See \`config.log' for more details." >&5
2691
echo "$as_me: error: C compiler cannot create executables
2692
See \`config.log' for more details." >&2;}
2693
{ (exit 77); exit 77; }; }
2696
ac_exeext=$ac_cv_exeext
2698
# Check that the compiler produces executables we can run. If not, either
2699
# the compiler is broken, or we cross compile.
2700
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2701
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2702
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2703
# If not cross compiling, check that we can run a simple program.
2704
if test "$cross_compiling" != yes; then
2705
if { ac_try='./$ac_file'
2706
{ (case "(($ac_try" in
2707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708
*) ac_try_echo=$ac_try;;
2710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711
(eval "$ac_try") 2>&5
2713
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714
(exit $ac_status); }; }; then
2717
if test "$cross_compiling" = maybe; then
2720
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2721
If you meant to cross compile, use \`--host'.
2722
See \`config.log' for more details." >&5
2723
echo "$as_me: error: cannot run C compiled programs.
2724
If you meant to cross compile, use \`--host'.
2725
See \`config.log' for more details." >&2;}
2726
{ (exit 1); exit 1; }; }
2730
{ echo "$as_me:$LINENO: result: yes" >&5
2731
echo "${ECHO_T}yes" >&6; }
2733
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2734
ac_clean_files=$ac_clean_files_save
2735
# Check that the compiler produces executables we can run. If not, either
2736
# the compiler is broken, or we cross compile.
2737
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2738
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2739
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2740
echo "${ECHO_T}$cross_compiling" >&6; }
2742
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2743
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2744
if { (ac_try="$ac_link"
2746
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747
*) ac_try_echo=$ac_try;;
2749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750
(eval "$ac_link") 2>&5
2752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753
(exit $ac_status); }; then
2754
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2755
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2756
# work properly (i.e., refer to `conftest.exe'), while it won't with
2758
for ac_file in conftest.exe conftest conftest.*; do
2759
test -f "$ac_file" || continue
2761
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2762
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2769
See \`config.log' for more details." >&5
2770
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2771
See \`config.log' for more details." >&2;}
2772
{ (exit 1); exit 1; }; }
2775
rm -f conftest$ac_cv_exeext
2776
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2777
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2779
rm -f conftest.$ac_ext
2780
EXEEXT=$ac_cv_exeext
2782
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2783
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2784
if test "${ac_cv_objext+set}" = set; then
2785
echo $ECHO_N "(cached) $ECHO_C" >&6
2787
cat >conftest.$ac_ext <<_ACEOF
2790
cat confdefs.h >>conftest.$ac_ext
2791
cat >>conftest.$ac_ext <<_ACEOF
2792
/* end confdefs.h. */
2802
rm -f conftest.o conftest.obj
2803
if { (ac_try="$ac_compile"
2805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806
*) ac_try_echo=$ac_try;;
2808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2809
(eval "$ac_compile") 2>&5
2811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812
(exit $ac_status); }; then
2813
for ac_file in conftest.o conftest.obj conftest.*; do
2814
test -f "$ac_file" || continue;
2816
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2817
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2822
echo "$as_me: failed program was:" >&5
2823
sed 's/^/| /' conftest.$ac_ext >&5
2825
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2826
See \`config.log' for more details." >&5
2827
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2828
See \`config.log' for more details." >&2;}
2829
{ (exit 1); exit 1; }; }
2832
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2834
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2835
echo "${ECHO_T}$ac_cv_objext" >&6; }
2836
OBJEXT=$ac_cv_objext
2838
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2839
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2840
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2841
echo $ECHO_N "(cached) $ECHO_C" >&6
2843
cat >conftest.$ac_ext <<_ACEOF
2846
cat confdefs.h >>conftest.$ac_ext
2847
cat >>conftest.$ac_ext <<_ACEOF
2848
/* end confdefs.h. */
2861
rm -f conftest.$ac_objext
2862
if { (ac_try="$ac_compile"
2864
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865
*) ac_try_echo=$ac_try;;
2867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2868
(eval "$ac_compile") 2>conftest.er1
2870
grep -v '^ *+' conftest.er1 >conftest.err
2872
cat conftest.err >&5
2873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
(exit $ac_status); } && {
2875
test -z "$ac_c_werror_flag" ||
2876
test ! -s conftest.err
2877
} && test -s conftest.$ac_objext; then
2880
echo "$as_me: failed program was:" >&5
2881
sed 's/^/| /' conftest.$ac_ext >&5
2886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2890
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2891
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2892
GCC=`test $ac_compiler_gnu = yes && echo yes`
2893
ac_test_CFLAGS=${CFLAGS+set}
2894
ac_save_CFLAGS=$CFLAGS
2895
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2896
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2897
if test "${ac_cv_prog_cc_g+set}" = set; then
2898
echo $ECHO_N "(cached) $ECHO_C" >&6
2900
ac_save_c_werror_flag=$ac_c_werror_flag
2901
ac_c_werror_flag=yes
2904
cat >conftest.$ac_ext <<_ACEOF
2907
cat confdefs.h >>conftest.$ac_ext
2908
cat >>conftest.$ac_ext <<_ACEOF
2909
/* end confdefs.h. */
2919
rm -f conftest.$ac_objext
2920
if { (ac_try="$ac_compile"
2922
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923
*) ac_try_echo=$ac_try;;
2925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926
(eval "$ac_compile") 2>conftest.er1
2928
grep -v '^ *+' conftest.er1 >conftest.err
2930
cat conftest.err >&5
2931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932
(exit $ac_status); } && {
2933
test -z "$ac_c_werror_flag" ||
2934
test ! -s conftest.err
2935
} && test -s conftest.$ac_objext; then
2938
echo "$as_me: failed program was:" >&5
2939
sed 's/^/| /' conftest.$ac_ext >&5
2942
cat >conftest.$ac_ext <<_ACEOF
2945
cat confdefs.h >>conftest.$ac_ext
2946
cat >>conftest.$ac_ext <<_ACEOF
2947
/* end confdefs.h. */
2957
rm -f conftest.$ac_objext
2958
if { (ac_try="$ac_compile"
2960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
*) ac_try_echo=$ac_try;;
2963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964
(eval "$ac_compile") 2>conftest.er1
2966
grep -v '^ *+' conftest.er1 >conftest.err
2968
cat conftest.err >&5
2969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970
(exit $ac_status); } && {
2971
test -z "$ac_c_werror_flag" ||
2972
test ! -s conftest.err
2973
} && test -s conftest.$ac_objext; then
2976
echo "$as_me: failed program was:" >&5
2977
sed 's/^/| /' conftest.$ac_ext >&5
2979
ac_c_werror_flag=$ac_save_c_werror_flag
2981
cat >conftest.$ac_ext <<_ACEOF
2984
cat confdefs.h >>conftest.$ac_ext
2985
cat >>conftest.$ac_ext <<_ACEOF
2986
/* end confdefs.h. */
2996
rm -f conftest.$ac_objext
2997
if { (ac_try="$ac_compile"
2999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000
*) ac_try_echo=$ac_try;;
3002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003
(eval "$ac_compile") 2>conftest.er1
3005
grep -v '^ *+' conftest.er1 >conftest.err
3007
cat conftest.err >&5
3008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009
(exit $ac_status); } && {
3010
test -z "$ac_c_werror_flag" ||
3011
test ! -s conftest.err
3012
} && test -s conftest.$ac_objext; then
3015
echo "$as_me: failed program was:" >&5
3016
sed 's/^/| /' conftest.$ac_ext >&5
3021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028
ac_c_werror_flag=$ac_save_c_werror_flag
3030
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3031
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3032
if test "$ac_test_CFLAGS" = set; then
3033
CFLAGS=$ac_save_CFLAGS
3034
elif test $ac_cv_prog_cc_g = yes; then
3035
if test "$GCC" = yes; then
3041
if test "$GCC" = yes; then
3047
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3048
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3049
if test "${ac_cv_prog_cc_c89+set}" = set; then
3050
echo $ECHO_N "(cached) $ECHO_C" >&6
3052
ac_cv_prog_cc_c89=no
3054
cat >conftest.$ac_ext <<_ACEOF
3057
cat confdefs.h >>conftest.$ac_ext
3058
cat >>conftest.$ac_ext <<_ACEOF
3059
/* end confdefs.h. */
3062
#include <sys/types.h>
3063
#include <sys/stat.h>
3064
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3065
struct buf { int x; };
3066
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3067
static char *e (p, i)
3073
static char *f (char * (*g) (char **, int), char **p, ...)
3078
s = g (p, va_arg (v,int));
3083
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3084
function prototypes and stuff, but not '\xHH' hex character constants.
3085
These don't provoke an error unfortunately, instead are silently treated
3086
as 'x'. The following induces an error, until -std is added to get
3087
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3088
array size at least. It's necessary to write '\x00'==0 to get something
3089
that's true only with -std. */
3090
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3092
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3093
inside strings and character constants. */
3095
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3097
int test (int i, double x);
3098
struct s1 {int (*f) (int a);};
3099
struct s2 {int (*f) (double a);};
3100
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3106
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3111
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3112
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3114
CC="$ac_save_CC $ac_arg"
3115
rm -f conftest.$ac_objext
3116
if { (ac_try="$ac_compile"
3118
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119
*) ac_try_echo=$ac_try;;
3121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122
(eval "$ac_compile") 2>conftest.er1
3124
grep -v '^ *+' conftest.er1 >conftest.err
3126
cat conftest.err >&5
3127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128
(exit $ac_status); } && {
3129
test -z "$ac_c_werror_flag" ||
3130
test ! -s conftest.err
3131
} && test -s conftest.$ac_objext; then
3132
ac_cv_prog_cc_c89=$ac_arg
3134
echo "$as_me: failed program was:" >&5
3135
sed 's/^/| /' conftest.$ac_ext >&5
3140
rm -f core conftest.err conftest.$ac_objext
3141
test "x$ac_cv_prog_cc_c89" != "xno" && break
3143
rm -f conftest.$ac_ext
3148
case "x$ac_cv_prog_cc_c89" in
3150
{ echo "$as_me:$LINENO: result: none needed" >&5
3151
echo "${ECHO_T}none needed" >&6; } ;;
3153
{ echo "$as_me:$LINENO: result: unsupported" >&5
3154
echo "${ECHO_T}unsupported" >&6; } ;;
3156
CC="$CC $ac_cv_prog_cc_c89"
3157
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3158
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3163
ac_cpp='$CPP $CPPFLAGS'
3164
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3167
DEPDIR="${am__leading_dot}deps"
3169
ac_config_commands="$ac_config_commands depfiles"
3172
am_make=${MAKE-make}
3173
cat > confinc << 'END'
3178
# If we don't find an include directive, just comment out the code.
3179
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3180
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3184
# First try GNU make style include.
3185
echo "include confinc" > confmf
3186
# We grep out `Entering directory' and `Leaving directory'
3187
# messages which can occur if `w' ends up in MAKEFLAGS.
3188
# In particular we don't look at `^make:' because GNU make might
3189
# be invoked under some other name (usually "gmake"), in which
3190
# case it prints its new name instead of `make'.
3191
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3196
# Now try BSD make style include.
3197
if test "$am__include" = "#"; then
3198
echo '.include "confinc"' > confmf
3199
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3200
am__include=.include
3207
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3208
echo "${ECHO_T}$_am_result" >&6; }
3209
rm -f confinc confmf
3211
# Check whether --enable-dependency-tracking was given.
3212
if test "${enable_dependency_tracking+set}" = set; then
3213
enableval=$enable_dependency_tracking;
3216
if test "x$enable_dependency_tracking" != xno; then
3217
am_depcomp="$ac_aux_dir/depcomp"
3222
if test "x$enable_dependency_tracking" != xno; then
3233
depcc="$CC" am_compiler_list=
3235
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3236
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3237
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3238
echo $ECHO_N "(cached) $ECHO_C" >&6
3240
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3241
# We make a subdir and do the tests there. Otherwise we can end up
3242
# making bogus files that we don't know about and never remove. For
3243
# instance it was reported that on HP-UX the gcc test will end up
3244
# making a dummy file named `D' -- because `-MD' means `put the output
3247
# Copy depcomp to subdir because otherwise we won't find it if we're
3248
# using a relative directory.
3249
cp "$am_depcomp" conftest.dir
3251
# We will build objects and dependencies in a subdirectory because
3252
# it helps to detect inapplicable dependency modes. For instance
3253
# both Tru64's cc and ICC support -MD to output dependencies as a
3254
# side effect of compilation, but ICC will put the dependencies in
3255
# the current directory while Tru64 will put them in the object
3259
am_cv_CC_dependencies_compiler_type=none
3260
if test "$am_compiler_list" = ""; then
3261
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3263
for depmode in $am_compiler_list; do
3264
# Setup a source with many dependencies, because some compilers
3265
# like to wrap large dependency lists on column 80 (with \), and
3266
# we should not choose a depcomp mode which is confused by this.
3268
# We need to recreate these files for each test, as the compiler may
3269
# overwrite some of them when testing with obscure command lines.
3270
# This happens at least with the AIX C compiler.
3272
for i in 1 2 3 4 5 6; do
3273
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3274
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3275
# Solaris 8's {/usr,}/bin/sh.
3276
touch sub/conftst$i.h
3278
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3282
# after this tag, mechanisms are not by side-effect, so they'll
3283
# only be used when explicitly requested
3284
if test "x$enable_dependency_tracking" = xyes; then
3292
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3293
# mode. It turns out that the SunPro C++ compiler does not properly
3294
# handle `-M -o', and we need to detect this.
3295
if depmode=$depmode \
3296
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3297
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3298
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3299
>/dev/null 2>conftest.err &&
3300
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3301
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3302
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3303
# icc doesn't choke on unknown options, it will just issue warnings
3304
# or remarks (even with -Werror). So we grep stderr for any message
3305
# that says an option was ignored or not supported.
3306
# When given -MP, icc 7.0 and 7.1 complain thusly:
3307
# icc: Command line warning: ignoring option '-M'; no argument required
3308
# The diagnosis changed in icc 8.0:
3309
# icc: Command line remark: option '-MP' not supported
3310
if (grep 'ignoring option' conftest.err ||
3311
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3312
am_cv_CC_dependencies_compiler_type=$depmode
3321
am_cv_CC_dependencies_compiler_type=none
3325
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3326
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3327
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3332
test "x$enable_dependency_tracking" != xno \
3333
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3335
am__fastdepCC_FALSE='#'
3337
am__fastdepCC_TRUE='#'
3338
am__fastdepCC_FALSE=
3342
# Find a good install program. We prefer a C program (faster),
3343
# so one script is as good as another. But avoid the broken or
3344
# incompatible versions:
3345
# SysV /etc/install, /usr/sbin/install
3346
# SunOS /usr/etc/install
3347
# IRIX /sbin/install
3349
# AmigaOS /C/install, which installs bootblocks on floppy discs
3350
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3351
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3352
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3353
# OS/2's system install, which has a completely different semantic
3354
# ./install, which can be erroneously created by make from ./install.sh.
3355
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3356
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3357
if test -z "$INSTALL"; then
3358
if test "${ac_cv_path_install+set}" = set; then
3359
echo $ECHO_N "(cached) $ECHO_C" >&6
3361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365
test -z "$as_dir" && as_dir=.
3366
# Account for people who put trailing slashes in PATH elements.
3368
./ | .// | /cC/* | \
3369
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3370
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3373
# OSF1 and SCO ODT 3.0 have their own names for install.
3374
# Don't use installbsd from OSF since it installs stuff as root
3376
for ac_prog in ginstall scoinst install; do
3377
for ac_exec_ext in '' $ac_executable_extensions; do
3378
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3379
if test $ac_prog = install &&
3380
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381
# AIX install. It has an incompatible calling convention.
3383
elif test $ac_prog = install &&
3384
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3385
# program-specific install script used by HP pwplus--don't use.
3388
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3401
if test "${ac_cv_path_install+set}" = set; then
3402
INSTALL=$ac_cv_path_install
3404
# As a last resort, use the slow shell script. Don't cache a
3405
# value for INSTALL within a source directory, because that will
3406
# break other packages using the cache if that directory is
3407
# removed, or if the value is a relative name.
3408
INSTALL=$ac_install_sh
3411
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3412
echo "${ECHO_T}$INSTALL" >&6; }
3414
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3415
# It thinks the first close brace ends the variable substitution.
3416
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3418
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3420
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3423
# Checks for libraries.
3425
# PKG_CHECK_MODULES(LTSPFSD, [x11])
3428
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3429
if test -n "$ac_tool_prefix"; then
3430
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3431
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3432
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3434
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3435
echo $ECHO_N "(cached) $ECHO_C" >&6
3439
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446
test -z "$as_dir" && as_dir=.
3447
for ac_exec_ext in '' $ac_executable_extensions; do
3448
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3449
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3450
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3460
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3461
if test -n "$PKG_CONFIG"; then
3462
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3463
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3465
{ echo "$as_me:$LINENO: result: no" >&5
3466
echo "${ECHO_T}no" >&6; }
3471
if test -z "$ac_cv_path_PKG_CONFIG"; then
3472
ac_pt_PKG_CONFIG=$PKG_CONFIG
3473
# Extract the first word of "pkg-config", so it can be a program name with args.
3474
set dummy pkg-config; ac_word=$2
3475
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3477
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3478
echo $ECHO_N "(cached) $ECHO_C" >&6
3480
case $ac_pt_PKG_CONFIG in
3482
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3485
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489
test -z "$as_dir" && as_dir=.
3490
for ac_exec_ext in '' $ac_executable_extensions; do
3491
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3493
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3503
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3504
if test -n "$ac_pt_PKG_CONFIG"; then
3505
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3506
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3508
{ echo "$as_me:$LINENO: result: no" >&5
3509
echo "${ECHO_T}no" >&6; }
3512
if test "x$ac_pt_PKG_CONFIG" = x; then
3515
case $cross_compiling:$ac_tool_warned in
3517
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3518
whose name does not start with the host triplet. If you think this
3519
configuration is useful to you, please write to autoconf@gnu.org." >&5
3520
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3521
whose name does not start with the host triplet. If you think this
3522
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3523
ac_tool_warned=yes ;;
3525
PKG_CONFIG=$ac_pt_PKG_CONFIG
3528
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3532
if test -n "$PKG_CONFIG"; then
3533
_pkg_min_version=0.9.0
3534
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3535
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3536
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3537
{ echo "$as_me:$LINENO: result: yes" >&5
3538
echo "${ECHO_T}yes" >&6; }
3540
{ echo "$as_me:$LINENO: result: no" >&5
3541
echo "${ECHO_T}no" >&6; }
3548
{ echo "$as_me:$LINENO: checking for LTSPFS" >&5
3549
echo $ECHO_N "checking for LTSPFS... $ECHO_C" >&6; }
3551
if test -n "$PKG_CONFIG"; then
3552
if test -n "$LTSPFS_CFLAGS"; then
3553
pkg_cv_LTSPFS_CFLAGS="$LTSPFS_CFLAGS"
3555
if test -n "$PKG_CONFIG" && \
3556
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse, x11\"") >&5
3557
($PKG_CONFIG --exists --print-errors "fuse, x11") 2>&5
3559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560
(exit $ac_status); }; then
3561
pkg_cv_LTSPFS_CFLAGS=`$PKG_CONFIG --cflags "fuse, x11" 2>/dev/null`
3569
if test -n "$PKG_CONFIG"; then
3570
if test -n "$LTSPFS_LIBS"; then
3571
pkg_cv_LTSPFS_LIBS="$LTSPFS_LIBS"
3573
if test -n "$PKG_CONFIG" && \
3574
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse, x11\"") >&5
3575
($PKG_CONFIG --exists --print-errors "fuse, x11") 2>&5
3577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578
(exit $ac_status); }; then
3579
pkg_cv_LTSPFS_LIBS=`$PKG_CONFIG --libs "fuse, x11" 2>/dev/null`
3590
if test $pkg_failed = yes; then
3592
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3593
_pkg_short_errors_supported=yes
3595
_pkg_short_errors_supported=no
3597
if test $_pkg_short_errors_supported = yes; then
3598
LTSPFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fuse, x11"`
3600
LTSPFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fuse, x11"`
3602
# Put the nasty error message in config.log where it belongs
3603
echo "$LTSPFS_PKG_ERRORS" >&5
3605
{ { echo "$as_me:$LINENO: error: Package requirements (fuse, x11) were not met:
3609
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3610
installed software in a non-standard prefix.
3612
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3613
and LTSPFS_LIBS to avoid the need to call pkg-config.
3614
See the pkg-config man page for more details.
3616
echo "$as_me: error: Package requirements (fuse, x11) were not met:
3620
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3621
installed software in a non-standard prefix.
3623
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3624
and LTSPFS_LIBS to avoid the need to call pkg-config.
3625
See the pkg-config man page for more details.
3627
{ (exit 1); exit 1; }; }
3628
elif test $pkg_failed = untried; then
3629
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3630
is in your PATH or set the PKG_CONFIG environment variable to the full
3633
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3634
and LTSPFS_LIBS to avoid the need to call pkg-config.
3635
See the pkg-config man page for more details.
3637
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3638
See \`config.log' for more details." >&5
3639
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3640
is in your PATH or set the PKG_CONFIG environment variable to the full
3643
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3644
and LTSPFS_LIBS to avoid the need to call pkg-config.
3645
See the pkg-config man page for more details.
3647
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3648
See \`config.log' for more details." >&2;}
3649
{ (exit 1); exit 1; }; }
3651
LTSPFS_CFLAGS=$pkg_cv_LTSPFS_CFLAGS
3652
LTSPFS_LIBS=$pkg_cv_LTSPFS_LIBS
3653
{ echo "$as_me:$LINENO: result: yes" >&5
3654
echo "${ECHO_T}yes" >&6; }
3658
# Checks for header files.
3661
ac_cpp='$CPP $CPPFLAGS'
3662
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3666
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3667
# On Suns, sometimes $CPP names a directory.
3668
if test -n "$CPP" && test -d "$CPP"; then
3671
if test -z "$CPP"; then
3672
if test "${ac_cv_prog_CPP+set}" = set; then
3673
echo $ECHO_N "(cached) $ECHO_C" >&6
3675
# Double quotes because CPP needs to be expanded
3676
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3679
for ac_c_preproc_warn_flag in '' yes
3681
# Use a header file that comes with gcc, so configuring glibc
3682
# with a fresh cross-compiler works.
3683
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3684
# <limits.h> exists even on freestanding compilers.
3685
# On the NeXT, cc -E runs the code through the compiler's parser,
3686
# not just through cpp. "Syntax error" is here to catch this case.
3687
cat >conftest.$ac_ext <<_ACEOF
3690
cat confdefs.h >>conftest.$ac_ext
3691
cat >>conftest.$ac_ext <<_ACEOF
3692
/* end confdefs.h. */
3694
@%:@ include <limits.h>
3696
@%:@ include <assert.h>
3700
if { (ac_try="$ac_cpp conftest.$ac_ext"
3702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703
*) ac_try_echo=$ac_try;;
3705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3708
grep -v '^ *+' conftest.er1 >conftest.err
3710
cat conftest.err >&5
3711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712
(exit $ac_status); } >/dev/null && {
3713
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3714
test ! -s conftest.err
3718
echo "$as_me: failed program was:" >&5
3719
sed 's/^/| /' conftest.$ac_ext >&5
3721
# Broken: fails on valid input.
3725
rm -f conftest.err conftest.$ac_ext
3727
# OK, works on sane cases. Now check whether nonexistent headers
3728
# can be detected and how.
3729
cat >conftest.$ac_ext <<_ACEOF
3732
cat confdefs.h >>conftest.$ac_ext
3733
cat >>conftest.$ac_ext <<_ACEOF
3734
/* end confdefs.h. */
3735
@%:@include <ac_nonexistent.h>
3737
if { (ac_try="$ac_cpp conftest.$ac_ext"
3739
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740
*) ac_try_echo=$ac_try;;
3742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3743
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3745
grep -v '^ *+' conftest.er1 >conftest.err
3747
cat conftest.err >&5
3748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749
(exit $ac_status); } >/dev/null && {
3750
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3751
test ! -s conftest.err
3753
# Broken: success on invalid input.
3756
echo "$as_me: failed program was:" >&5
3757
sed 's/^/| /' conftest.$ac_ext >&5
3759
# Passes both tests.
3764
rm -f conftest.err conftest.$ac_ext
3767
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3768
rm -f conftest.err conftest.$ac_ext
3769
if $ac_preproc_ok; then
3781
{ echo "$as_me:$LINENO: result: $CPP" >&5
3782
echo "${ECHO_T}$CPP" >&6; }
3784
for ac_c_preproc_warn_flag in '' yes
3786
# Use a header file that comes with gcc, so configuring glibc
3787
# with a fresh cross-compiler works.
3788
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3789
# <limits.h> exists even on freestanding compilers.
3790
# On the NeXT, cc -E runs the code through the compiler's parser,
3791
# not just through cpp. "Syntax error" is here to catch this case.
3792
cat >conftest.$ac_ext <<_ACEOF
3795
cat confdefs.h >>conftest.$ac_ext
3796
cat >>conftest.$ac_ext <<_ACEOF
3797
/* end confdefs.h. */
3799
@%:@ include <limits.h>
3801
@%:@ include <assert.h>
3805
if { (ac_try="$ac_cpp conftest.$ac_ext"
3807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
*) ac_try_echo=$ac_try;;
3810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3813
grep -v '^ *+' conftest.er1 >conftest.err
3815
cat conftest.err >&5
3816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817
(exit $ac_status); } >/dev/null && {
3818
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819
test ! -s conftest.err
3823
echo "$as_me: failed program was:" >&5
3824
sed 's/^/| /' conftest.$ac_ext >&5
3826
# Broken: fails on valid input.
3830
rm -f conftest.err conftest.$ac_ext
3832
# OK, works on sane cases. Now check whether nonexistent headers
3833
# can be detected and how.
3834
cat >conftest.$ac_ext <<_ACEOF
3837
cat confdefs.h >>conftest.$ac_ext
3838
cat >>conftest.$ac_ext <<_ACEOF
3839
/* end confdefs.h. */
3840
@%:@include <ac_nonexistent.h>
3842
if { (ac_try="$ac_cpp conftest.$ac_ext"
3844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845
*) ac_try_echo=$ac_try;;
3847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3850
grep -v '^ *+' conftest.er1 >conftest.err
3852
cat conftest.err >&5
3853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854
(exit $ac_status); } >/dev/null && {
3855
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3856
test ! -s conftest.err
3858
# Broken: success on invalid input.
3861
echo "$as_me: failed program was:" >&5
3862
sed 's/^/| /' conftest.$ac_ext >&5
3864
# Passes both tests.
3869
rm -f conftest.err conftest.$ac_ext
3872
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3873
rm -f conftest.err conftest.$ac_ext
3874
if $ac_preproc_ok; then
3877
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3878
See \`config.log' for more details." >&5
3879
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3880
See \`config.log' for more details." >&2;}
3881
{ (exit 1); exit 1; }; }
3885
ac_cpp='$CPP $CPPFLAGS'
3886
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3892
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3893
if test "${ac_cv_path_GREP+set}" = set; then
3894
echo $ECHO_N "(cached) $ECHO_C" >&6
3896
# Extract the first word of "grep ggrep" to use in msg output
3897
if test -z "$GREP"; then
3898
set dummy grep ggrep; ac_prog_name=$2
3899
if test "${ac_cv_path_GREP+set}" = set; then
3900
echo $ECHO_N "(cached) $ECHO_C" >&6
3902
ac_path_GREP_found=false
3903
# Loop through the user's path and test for each of PROGNAME-LIST
3904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3908
test -z "$as_dir" && as_dir=.
3909
for ac_prog in grep ggrep; do
3910
for ac_exec_ext in '' $ac_executable_extensions; do
3911
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3912
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3913
# Check for GNU ac_path_GREP and select it if it is found.
3914
# Check for GNU $ac_path_GREP
3915
case `"$ac_path_GREP" --version 2>&1` in
3917
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3920
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3923
cat "conftest.in" "conftest.in" >"conftest.tmp"
3924
mv "conftest.tmp" "conftest.in"
3925
cp "conftest.in" "conftest.nl"
3926
echo 'GREP' >> "conftest.nl"
3927
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3928
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3929
ac_count=`expr $ac_count + 1`
3930
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3931
# Best one so far, save it but keep looking for a better one
3932
ac_cv_path_GREP="$ac_path_GREP"
3933
ac_path_GREP_max=$ac_count
3935
# 10*(2^10) chars as input seems more than enough
3936
test $ac_count -gt 10 && break
3938
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3942
$ac_path_GREP_found && break 3
3952
GREP="$ac_cv_path_GREP"
3953
if test -z "$GREP"; then
3954
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3955
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3956
{ (exit 1); exit 1; }; }
3960
ac_cv_path_GREP=$GREP
3965
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3966
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3967
GREP="$ac_cv_path_GREP"
3970
{ echo "$as_me:$LINENO: checking for egrep" >&5
3971
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3972
if test "${ac_cv_path_EGREP+set}" = set; then
3973
echo $ECHO_N "(cached) $ECHO_C" >&6
3975
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3976
then ac_cv_path_EGREP="$GREP -E"
3978
# Extract the first word of "egrep" to use in msg output
3979
if test -z "$EGREP"; then
3980
set dummy egrep; ac_prog_name=$2
3981
if test "${ac_cv_path_EGREP+set}" = set; then
3982
echo $ECHO_N "(cached) $ECHO_C" >&6
3984
ac_path_EGREP_found=false
3985
# Loop through the user's path and test for each of PROGNAME-LIST
3986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3990
test -z "$as_dir" && as_dir=.
3991
for ac_prog in egrep; do
3992
for ac_exec_ext in '' $ac_executable_extensions; do
3993
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3994
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3995
# Check for GNU ac_path_EGREP and select it if it is found.
3996
# Check for GNU $ac_path_EGREP
3997
case `"$ac_path_EGREP" --version 2>&1` in
3999
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4002
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4005
cat "conftest.in" "conftest.in" >"conftest.tmp"
4006
mv "conftest.tmp" "conftest.in"
4007
cp "conftest.in" "conftest.nl"
4008
echo 'EGREP' >> "conftest.nl"
4009
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4010
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4011
ac_count=`expr $ac_count + 1`
4012
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4013
# Best one so far, save it but keep looking for a better one
4014
ac_cv_path_EGREP="$ac_path_EGREP"
4015
ac_path_EGREP_max=$ac_count
4017
# 10*(2^10) chars as input seems more than enough
4018
test $ac_count -gt 10 && break
4020
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4024
$ac_path_EGREP_found && break 3
4034
EGREP="$ac_cv_path_EGREP"
4035
if test -z "$EGREP"; then
4036
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4037
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4038
{ (exit 1); exit 1; }; }
4042
ac_cv_path_EGREP=$EGREP
4048
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4049
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4050
EGREP="$ac_cv_path_EGREP"
4053
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4054
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4055
if test "${ac_cv_header_stdc+set}" = set; then
4056
echo $ECHO_N "(cached) $ECHO_C" >&6
4058
cat >conftest.$ac_ext <<_ACEOF
4061
cat confdefs.h >>conftest.$ac_ext
4062
cat >>conftest.$ac_ext <<_ACEOF
4063
/* end confdefs.h. */
4077
rm -f conftest.$ac_objext
4078
if { (ac_try="$ac_compile"
4080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081
*) ac_try_echo=$ac_try;;
4083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084
(eval "$ac_compile") 2>conftest.er1
4086
grep -v '^ *+' conftest.er1 >conftest.err
4088
cat conftest.err >&5
4089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
(exit $ac_status); } && {
4091
test -z "$ac_c_werror_flag" ||
4092
test ! -s conftest.err
4093
} && test -s conftest.$ac_objext; then
4094
ac_cv_header_stdc=yes
4096
echo "$as_me: failed program was:" >&5
4097
sed 's/^/| /' conftest.$ac_ext >&5
4099
ac_cv_header_stdc=no
4102
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104
if test $ac_cv_header_stdc = yes; then
4105
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4106
cat >conftest.$ac_ext <<_ACEOF
4109
cat confdefs.h >>conftest.$ac_ext
4110
cat >>conftest.$ac_ext <<_ACEOF
4111
/* end confdefs.h. */
4115
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4116
$EGREP "memchr" >/dev/null 2>&1; then
4119
ac_cv_header_stdc=no
4125
if test $ac_cv_header_stdc = yes; then
4126
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4127
cat >conftest.$ac_ext <<_ACEOF
4130
cat confdefs.h >>conftest.$ac_ext
4131
cat >>conftest.$ac_ext <<_ACEOF
4132
/* end confdefs.h. */
4136
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4137
$EGREP "free" >/dev/null 2>&1; then
4140
ac_cv_header_stdc=no
4146
if test $ac_cv_header_stdc = yes; then
4147
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4148
if test "$cross_compiling" = yes; then
4151
cat >conftest.$ac_ext <<_ACEOF
4154
cat confdefs.h >>conftest.$ac_ext
4155
cat >>conftest.$ac_ext <<_ACEOF
4156
/* end confdefs.h. */
4159
#if ((' ' & 0x0FF) == 0x020)
4160
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4161
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4163
# define ISLOWER(c) \
4164
(('a' <= (c) && (c) <= 'i') \
4165
|| ('j' <= (c) && (c) <= 'r') \
4166
|| ('s' <= (c) && (c) <= 'z'))
4167
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4170
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4175
for (i = 0; i < 256; i++)
4176
if (XOR (islower (i), ISLOWER (i))
4177
|| toupper (i) != TOUPPER (i))
4182
rm -f conftest$ac_exeext
4183
if { (ac_try="$ac_link"
4185
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186
*) ac_try_echo=$ac_try;;
4188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4189
(eval "$ac_link") 2>&5
4191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4193
{ (case "(($ac_try" in
4194
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195
*) ac_try_echo=$ac_try;;
4197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198
(eval "$ac_try") 2>&5
4200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
(exit $ac_status); }; }; then
4204
echo "$as_me: program exited with status $ac_status" >&5
4205
echo "$as_me: failed program was:" >&5
4206
sed 's/^/| /' conftest.$ac_ext >&5
4209
ac_cv_header_stdc=no
4211
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4217
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4218
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4219
if test $ac_cv_header_stdc = yes; then
4221
cat >>confdefs.h <<\_ACEOF
4222
@%:@define STDC_HEADERS 1
4233
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4234
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4235
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4236
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4237
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4238
echo $ECHO_N "(cached) $ECHO_C" >&6
4240
cat >conftest.$ac_ext <<_ACEOF
4243
cat confdefs.h >>conftest.$ac_ext
4244
cat >>conftest.$ac_ext <<_ACEOF
4245
/* end confdefs.h. */
4246
#include <sys/types.h>
4258
rm -f conftest.$ac_objext
4259
if { (ac_try="$ac_compile"
4261
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262
*) ac_try_echo=$ac_try;;
4264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4265
(eval "$ac_compile") 2>conftest.er1
4267
grep -v '^ *+' conftest.er1 >conftest.err
4269
cat conftest.err >&5
4270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271
(exit $ac_status); } && {
4272
test -z "$ac_c_werror_flag" ||
4273
test ! -s conftest.err
4274
} && test -s conftest.$ac_objext; then
4275
eval "$as_ac_Header=yes"
4277
echo "$as_me: failed program was:" >&5
4278
sed 's/^/| /' conftest.$ac_ext >&5
4280
eval "$as_ac_Header=no"
4283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285
ac_res=`eval echo '${'$as_ac_Header'}'`
4286
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4287
echo "${ECHO_T}$ac_res" >&6; }
4288
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4289
cat >>confdefs.h <<_ACEOF
4290
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4293
ac_header_dirent=$ac_hdr; break
4297
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4298
if test $ac_header_dirent = dirent.h; then
4299
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
4300
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4301
if test "${ac_cv_search_opendir+set}" = set; then
4302
echo $ECHO_N "(cached) $ECHO_C" >&6
4304
ac_func_search_save_LIBS=$LIBS
4305
cat >conftest.$ac_ext <<_ACEOF
4308
cat confdefs.h >>conftest.$ac_ext
4309
cat >>conftest.$ac_ext <<_ACEOF
4310
/* end confdefs.h. */
4312
/* Override any GCC internal prototype to avoid an error.
4313
Use char because int might match the return type of a GCC
4314
builtin and then its argument prototype would still apply. */
4327
for ac_lib in '' dir; do
4328
if test -z "$ac_lib"; then
4329
ac_res="none required"
4332
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4334
rm -f conftest.$ac_objext conftest$ac_exeext
4335
if { (ac_try="$ac_link"
4337
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338
*) ac_try_echo=$ac_try;;
4340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4341
(eval "$ac_link") 2>conftest.er1
4343
grep -v '^ *+' conftest.er1 >conftest.err
4345
cat conftest.err >&5
4346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347
(exit $ac_status); } && {
4348
test -z "$ac_c_werror_flag" ||
4349
test ! -s conftest.err
4350
} && test -s conftest$ac_exeext &&
4351
$as_test_x conftest$ac_exeext; then
4352
ac_cv_search_opendir=$ac_res
4354
echo "$as_me: failed program was:" >&5
4355
sed 's/^/| /' conftest.$ac_ext >&5
4360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4362
if test "${ac_cv_search_opendir+set}" = set; then
4366
if test "${ac_cv_search_opendir+set}" = set; then
4369
ac_cv_search_opendir=no
4372
LIBS=$ac_func_search_save_LIBS
4374
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4375
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4376
ac_res=$ac_cv_search_opendir
4377
if test "$ac_res" != no; then
4378
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4383
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
4384
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4385
if test "${ac_cv_search_opendir+set}" = set; then
4386
echo $ECHO_N "(cached) $ECHO_C" >&6
4388
ac_func_search_save_LIBS=$LIBS
4389
cat >conftest.$ac_ext <<_ACEOF
4392
cat confdefs.h >>conftest.$ac_ext
4393
cat >>conftest.$ac_ext <<_ACEOF
4394
/* end confdefs.h. */
4396
/* Override any GCC internal prototype to avoid an error.
4397
Use char because int might match the return type of a GCC
4398
builtin and then its argument prototype would still apply. */
4411
for ac_lib in '' x; do
4412
if test -z "$ac_lib"; then
4413
ac_res="none required"
4416
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4418
rm -f conftest.$ac_objext conftest$ac_exeext
4419
if { (ac_try="$ac_link"
4421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422
*) ac_try_echo=$ac_try;;
4424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425
(eval "$ac_link") 2>conftest.er1
4427
grep -v '^ *+' conftest.er1 >conftest.err
4429
cat conftest.err >&5
4430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
(exit $ac_status); } && {
4432
test -z "$ac_c_werror_flag" ||
4433
test ! -s conftest.err
4434
} && test -s conftest$ac_exeext &&
4435
$as_test_x conftest$ac_exeext; then
4436
ac_cv_search_opendir=$ac_res
4438
echo "$as_me: failed program was:" >&5
4439
sed 's/^/| /' conftest.$ac_ext >&5
4444
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4446
if test "${ac_cv_search_opendir+set}" = set; then
4450
if test "${ac_cv_search_opendir+set}" = set; then
4453
ac_cv_search_opendir=no
4456
LIBS=$ac_func_search_save_LIBS
4458
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4459
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4460
ac_res=$ac_cv_search_opendir
4461
if test "$ac_res" != no; then
4462
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4468
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4469
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4470
if test "${ac_cv_header_sys_wait_h+set}" = set; then
4471
echo $ECHO_N "(cached) $ECHO_C" >&6
4473
cat >conftest.$ac_ext <<_ACEOF
4476
cat confdefs.h >>conftest.$ac_ext
4477
cat >>conftest.$ac_ext <<_ACEOF
4478
/* end confdefs.h. */
4479
#include <sys/types.h>
4480
#include <sys/wait.h>
4482
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4485
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4493
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4498
rm -f conftest.$ac_objext
4499
if { (ac_try="$ac_compile"
4501
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502
*) ac_try_echo=$ac_try;;
4504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4505
(eval "$ac_compile") 2>conftest.er1
4507
grep -v '^ *+' conftest.er1 >conftest.err
4509
cat conftest.err >&5
4510
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
(exit $ac_status); } && {
4512
test -z "$ac_c_werror_flag" ||
4513
test ! -s conftest.err
4514
} && test -s conftest.$ac_objext; then
4515
ac_cv_header_sys_wait_h=yes
4517
echo "$as_me: failed program was:" >&5
4518
sed 's/^/| /' conftest.$ac_ext >&5
4520
ac_cv_header_sys_wait_h=no
4523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4526
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4527
if test $ac_cv_header_sys_wait_h = yes; then
4529
cat >>confdefs.h <<\_ACEOF
4530
@%:@define HAVE_SYS_WAIT_H 1
4535
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4545
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4546
inttypes.h stdint.h unistd.h
4548
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4549
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4552
echo $ECHO_N "(cached) $ECHO_C" >&6
4554
cat >conftest.$ac_ext <<_ACEOF
4557
cat confdefs.h >>conftest.$ac_ext
4558
cat >>conftest.$ac_ext <<_ACEOF
4559
/* end confdefs.h. */
4560
$ac_includes_default
4562
@%:@include <$ac_header>
4564
rm -f conftest.$ac_objext
4565
if { (ac_try="$ac_compile"
4567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568
*) ac_try_echo=$ac_try;;
4570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571
(eval "$ac_compile") 2>conftest.er1
4573
grep -v '^ *+' conftest.er1 >conftest.err
4575
cat conftest.err >&5
4576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
(exit $ac_status); } && {
4578
test -z "$ac_c_werror_flag" ||
4579
test ! -s conftest.err
4580
} && test -s conftest.$ac_objext; then
4581
eval "$as_ac_Header=yes"
4583
echo "$as_me: failed program was:" >&5
4584
sed 's/^/| /' conftest.$ac_ext >&5
4586
eval "$as_ac_Header=no"
4589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591
ac_res=`eval echo '${'$as_ac_Header'}'`
4592
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4593
echo "${ECHO_T}$ac_res" >&6; }
4594
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4595
cat >>confdefs.h <<_ACEOF
4596
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4606
for ac_header in linux/cdrom.h fcntl.h
4608
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4609
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4610
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4611
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4612
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4613
echo $ECHO_N "(cached) $ECHO_C" >&6
4615
ac_res=`eval echo '${'$as_ac_Header'}'`
4616
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4617
echo "${ECHO_T}$ac_res" >&6; }
4619
# Is the header compilable?
4620
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4621
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4622
cat >conftest.$ac_ext <<_ACEOF
4625
cat confdefs.h >>conftest.$ac_ext
4626
cat >>conftest.$ac_ext <<_ACEOF
4627
/* end confdefs.h. */
4628
$ac_includes_default
4629
@%:@include <$ac_header>
4631
rm -f conftest.$ac_objext
4632
if { (ac_try="$ac_compile"
4634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635
*) ac_try_echo=$ac_try;;
4637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4638
(eval "$ac_compile") 2>conftest.er1
4640
grep -v '^ *+' conftest.er1 >conftest.err
4642
cat conftest.err >&5
4643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644
(exit $ac_status); } && {
4645
test -z "$ac_c_werror_flag" ||
4646
test ! -s conftest.err
4647
} && test -s conftest.$ac_objext; then
4648
ac_header_compiler=yes
4650
echo "$as_me: failed program was:" >&5
4651
sed 's/^/| /' conftest.$ac_ext >&5
4653
ac_header_compiler=no
4656
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4657
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4658
echo "${ECHO_T}$ac_header_compiler" >&6; }
4660
# Is the header present?
4661
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4662
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4663
cat >conftest.$ac_ext <<_ACEOF
4666
cat confdefs.h >>conftest.$ac_ext
4667
cat >>conftest.$ac_ext <<_ACEOF
4668
/* end confdefs.h. */
4669
@%:@include <$ac_header>
4671
if { (ac_try="$ac_cpp conftest.$ac_ext"
4673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674
*) ac_try_echo=$ac_try;;
4676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4679
grep -v '^ *+' conftest.er1 >conftest.err
4681
cat conftest.err >&5
4682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
(exit $ac_status); } >/dev/null && {
4684
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4685
test ! -s conftest.err
4687
ac_header_preproc=yes
4689
echo "$as_me: failed program was:" >&5
4690
sed 's/^/| /' conftest.$ac_ext >&5
4692
ac_header_preproc=no
4695
rm -f conftest.err conftest.$ac_ext
4696
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4697
echo "${ECHO_T}$ac_header_preproc" >&6; }
4699
# So? What about this header?
4700
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4702
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4703
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4704
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4705
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4706
ac_header_preproc=yes
4709
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4710
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4711
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4712
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4713
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4714
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4715
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4716
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4717
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4718
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4719
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4720
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4722
@%:@@%:@ -------------------------------- @%:@@%:@
4723
@%:@@%:@ Report this to sbalneav@ltsp.org @%:@@%:@
4724
@%:@@%:@ -------------------------------- @%:@@%:@
4726
) | sed "s/^/$as_me: WARNING: /" >&2
4729
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4730
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4731
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4732
echo $ECHO_N "(cached) $ECHO_C" >&6
4734
eval "$as_ac_Header=\$ac_header_preproc"
4736
ac_res=`eval echo '${'$as_ac_Header'}'`
4737
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4738
echo "${ECHO_T}$ac_res" >&6; }
4741
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4742
cat >>confdefs.h <<_ACEOF
4743
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4747
{ { echo "$as_me:$LINENO: error: Required header missing" >&5
4748
echo "$as_me: error: Required header missing" >&2;}
4749
{ (exit 1); exit 1; }; }
4755
if test -z "$UDEV_RULES_PATH"; then
4756
UDEV_RULES_PATH=/etc/udev/rules.d
4760
if test -z "$UDEV_LIB_PATH"; then
4761
UDEV_LIB_PATH=/lib/udev
4767
{ echo "$as_me:$LINENO: checking for GLIB" >&5
4768
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
4770
if test -n "$PKG_CONFIG"; then
4771
if test -n "$GLIB_CFLAGS"; then
4772
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4774
if test -n "$PKG_CONFIG" && \
4775
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
4776
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779
(exit $ac_status); }; then
4780
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6.0" 2>/dev/null`
4788
if test -n "$PKG_CONFIG"; then
4789
if test -n "$GLIB_LIBS"; then
4790
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4792
if test -n "$PKG_CONFIG" && \
4793
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
4794
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
(exit $ac_status); }; then
4798
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6.0" 2>/dev/null`
4809
if test $pkg_failed = yes; then
4811
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4812
_pkg_short_errors_supported=yes
4814
_pkg_short_errors_supported=no
4816
if test $_pkg_short_errors_supported = yes; then
4817
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
4819
GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
4821
# Put the nasty error message in config.log where it belongs
4822
echo "$GLIB_PKG_ERRORS" >&5
4824
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4828
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4829
installed software in a non-standard prefix.
4831
Alternatively, you may set the environment variables GLIB_CFLAGS
4832
and GLIB_LIBS to avoid the need to call pkg-config.
4833
See the pkg-config man page for more details.
4835
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4839
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4840
installed software in a non-standard prefix.
4842
Alternatively, you may set the environment variables GLIB_CFLAGS
4843
and GLIB_LIBS to avoid the need to call pkg-config.
4844
See the pkg-config man page for more details.
4846
{ (exit 1); exit 1; }; }
4847
elif test $pkg_failed = untried; then
4848
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4849
is in your PATH or set the PKG_CONFIG environment variable to the full
4852
Alternatively, you may set the environment variables GLIB_CFLAGS
4853
and GLIB_LIBS to avoid the need to call pkg-config.
4854
See the pkg-config man page for more details.
4856
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4857
See \`config.log' for more details." >&5
4858
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4859
is in your PATH or set the PKG_CONFIG environment variable to the full
4862
Alternatively, you may set the environment variables GLIB_CFLAGS
4863
and GLIB_LIBS to avoid the need to call pkg-config.
4864
See the pkg-config man page for more details.
4866
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4867
See \`config.log' for more details." >&2;}
4868
{ (exit 1); exit 1; }; }
4870
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4871
GLIB_LIBS=$pkg_cv_GLIB_LIBS
4872
{ echo "$as_me:$LINENO: result: yes" >&5
4873
echo "${ECHO_T}yes" >&6; }
4878
{ echo "$as_me:$LINENO: checking for GOBJECT" >&5
4879
echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
4881
if test -n "$PKG_CONFIG"; then
4882
if test -n "$GOBJECT_CFLAGS"; then
4883
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
4885
if test -n "$PKG_CONFIG" && \
4886
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
4887
($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890
(exit $ac_status); }; then
4891
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.6.0" 2>/dev/null`
4899
if test -n "$PKG_CONFIG"; then
4900
if test -n "$GOBJECT_LIBS"; then
4901
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
4903
if test -n "$PKG_CONFIG" && \
4904
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
4905
($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908
(exit $ac_status); }; then
4909
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.6.0" 2>/dev/null`
4920
if test $pkg_failed = yes; then
4922
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4923
_pkg_short_errors_supported=yes
4925
_pkg_short_errors_supported=no
4927
if test $_pkg_short_errors_supported = yes; then
4928
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
4930
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
4932
# Put the nasty error message in config.log where it belongs
4933
echo "$GOBJECT_PKG_ERRORS" >&5
4935
{ { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4939
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4940
installed software in a non-standard prefix.
4942
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4943
and GOBJECT_LIBS to avoid the need to call pkg-config.
4944
See the pkg-config man page for more details.
4946
echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4950
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4951
installed software in a non-standard prefix.
4953
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4954
and GOBJECT_LIBS to avoid the need to call pkg-config.
4955
See the pkg-config man page for more details.
4957
{ (exit 1); exit 1; }; }
4958
elif test $pkg_failed = untried; then
4959
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4960
is in your PATH or set the PKG_CONFIG environment variable to the full
4963
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4964
and GOBJECT_LIBS to avoid the need to call pkg-config.
4965
See the pkg-config man page for more details.
4967
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4968
See \`config.log' for more details." >&5
4969
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4970
is in your PATH or set the PKG_CONFIG environment variable to the full
4973
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4974
and GOBJECT_LIBS to avoid the need to call pkg-config.
4975
See the pkg-config man page for more details.
4977
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4978
See \`config.log' for more details." >&2;}
4979
{ (exit 1); exit 1; }; }
4981
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
4982
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
4983
{ echo "$as_me:$LINENO: result: yes" >&5
4984
echo "${ECHO_T}yes" >&6; }
4993
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile scripts/Makefile udev/Makefile"
4995
cat >confcache <<\_ACEOF
4996
# This file is a shell script that caches the results of configure
4997
# tests run on this system so they can be shared between configure
4998
# scripts and configure runs, see configure's option --config-cache.
4999
# It is not useful on other systems. If it contains results you don't
5000
# want to keep, you may remove or edit it.
5002
# config.status only pays attention to the cache file if you give it
5003
# the --recheck option to rerun configure.
5005
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5006
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5011
# The following way of writing the cache mishandles newlines in values,
5012
# but we know of no workaround that is simple, portable, and efficient.
5013
# So, we kill variables containing newlines.
5014
# Ultrix sh set writes to stderr and can't be redirected directly,
5015
# and sets the high bit in the cache file unless we assign to the vars.
5017
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5018
eval ac_val=\$$ac_var
5022
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5023
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5026
_ | IFS | as_nl) ;; #(
5027
*) $as_unset $ac_var ;;
5033
case $as_nl`(ac_space=' '; set) 2>&1` in #(
5034
*${as_nl}ac_space=\ *)
5035
# `set' does not quote correctly, so add quotes (double-quote
5036
# substitution turns \\\\ into \\, and sed turns \\ into \).
5039
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5042
# `set' quotes correctly as required by POSIX, so do not add quotes.
5043
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5052
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5054
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5056
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5057
if test -w "$cache_file"; then
5058
test "x$cache_file" != "x/dev/null" &&
5059
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
5060
echo "$as_me: updating cache $cache_file" >&6;}
5061
cat confcache >$cache_file
5063
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5064
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5069
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5070
# Let make expand exec_prefix.
5071
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5073
DEFS=-DHAVE_CONFIG_H
5077
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5078
# 1. Remove the extension, and $U if already installed.
5079
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5080
ac_i=`echo "$ac_i" | sed "$ac_script"`
5081
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5082
# will be set to the directory where LIBOBJS objects are built.
5083
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5084
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5086
LIB@&t@OBJS=$ac_libobjs
5088
LTLIBOBJS=$ac_ltlibobjs
5091
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5092
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5093
Usually this means the macro was only invoked conditionally." >&5
5094
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5095
Usually this means the macro was only invoked conditionally." >&2;}
5096
{ (exit 1); exit 1; }; }
5098
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5099
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5100
Usually this means the macro was only invoked conditionally." >&5
5101
echo "$as_me: error: conditional \"AMDEP\" was never defined.
5102
Usually this means the macro was only invoked conditionally." >&2;}
5103
{ (exit 1); exit 1; }; }
5105
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5106
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5107
Usually this means the macro was only invoked conditionally." >&5
5108
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5109
Usually this means the macro was only invoked conditionally." >&2;}
5110
{ (exit 1); exit 1; }; }
5113
: ${CONFIG_STATUS=./config.status}
5114
ac_clean_files_save=$ac_clean_files
5115
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5116
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5117
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5118
cat >$CONFIG_STATUS <<_ACEOF
5120
# Generated by $as_me.
5121
# Run this file to recreate the current configuration.
5122
# Compiler output produced by configure, useful for debugging
5123
# configure, is in config.log if it exists.
5128
SHELL=\${CONFIG_SHELL-$SHELL}
5131
cat >>$CONFIG_STATUS <<\_ACEOF
5132
## --------------------- ##
5133
## M4sh Initialization. ##
5134
## --------------------- ##
5136
# Be more Bourne compatible
5137
DUALCASE=1; export DUALCASE # for MKS sh
5138
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5141
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5142
# is contrary to our usage. Disable this feature.
5143
alias -g '${1+"$@"}'='"$@"'
5144
setopt NO_GLOB_SUBST
5146
case `(set -o) 2>/dev/null` in
5147
*posix*) set -o posix ;;
5156
# Avoid depending upon Character Ranges.
5157
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5158
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5159
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5160
as_cr_digits='0123456789'
5161
as_cr_alnum=$as_cr_Letters$as_cr_digits
5163
# The user is always right.
5164
if test "${PATH_SEPARATOR+set}" != set; then
5165
echo "#! /bin/sh" >conf$$.sh
5166
echo "exit 0" >>conf$$.sh
5168
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5176
# Support unset when possible.
5177
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5185
# We need space, tab and new line, in precisely that order. Quoting is
5186
# there to prevent editors from complaining about space-tab.
5187
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5188
# splitting by setting IFS to empty value.)
5193
# Find who we are. Look in the path if we contain no directory separator.
5195
*[\\/]* ) as_myself=$0 ;;
5196
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200
test -z "$as_dir" && as_dir=.
5201
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5207
# We did not find ourselves, most probably we were run as `sh COMMAND'
5208
# in which case we are not to be found in the path.
5209
if test "x$as_myself" = x; then
5212
if test ! -f "$as_myself"; then
5213
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5214
{ (exit 1); exit 1; }
5217
# Work around bugs in pre-3.0 UWIN ksh.
5218
for as_var in ENV MAIL MAILPATH
5219
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5227
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5228
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5229
LC_TELEPHONE LC_TIME
5231
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5232
eval $as_var=C; export $as_var
5234
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5238
# Required to use basename.
5239
if expr a : '\(a\)' >/dev/null 2>&1 &&
5240
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5246
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5247
as_basename=basename
5253
# Name of the executable.
5254
as_me=`$as_basename -- "$0" ||
5255
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5256
X"$0" : 'X\(//\)$' \| \
5257
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5259
sed '/^.*\/\([^/][^/]*\)\/*$/{
5280
test "x$as_lineno_1" != "x$as_lineno_2" &&
5281
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5283
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5284
# uniformly replaced by the line number. The first 'sed' inserts a
5285
# line-number line after each line using $LINENO; the second 'sed'
5286
# does the real work. The second script uses 'N' to pair each
5287
# line-number line with the line containing $LINENO, and appends
5288
# trailing '-' during substitution so that $LINENO is not a special
5290
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5291
# scripts with optimization help from Paolo Bonzini. Blame Lee
5292
# E. McMahon (1931-1989) for sed's syntax. :-)
5304
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5308
chmod +x "$as_me.lineno" ||
5309
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5310
{ (exit 1); exit 1; }; }
5312
# Don't try to exec as it changes $[0], causing all sort of problems
5313
# (the dirname of $[0] is not the place where we might find the
5314
# original and so on. Autoconf is especially sensitive to this).
5316
# Exit status is that of the last command.
5321
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5327
ECHO_C= ECHO_N= ECHO_T=
5330
case `echo 'x\c'` in
5331
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5338
if expr a : '\(a\)' >/dev/null 2>&1 &&
5339
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5345
rm -f conf$$ conf$$.exe conf$$.file
5346
if test -d conf$$.dir; then
5347
rm -f conf$$.dir/conf$$.file
5353
if ln -s conf$$.file conf$$ 2>/dev/null; then
5355
# ... but there are two gotchas:
5356
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5357
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5358
# In both cases, we have to default to `cp -p'.
5359
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5361
elif ln conf$$.file conf$$ 2>/dev/null; then
5366
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5367
rmdir conf$$.dir 2>/dev/null
5369
if mkdir -p . 2>/dev/null; then
5372
test -d ./-p && rmdir ./-p
5376
if test -x / >/dev/null 2>&1; then
5379
if ls -dL / >/dev/null 2>&1; then
5386
if test -d "$1"; then
5392
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5393
???[sx]*):;;*)false;;esac;fi
5397
as_executable_p=$as_test_x
5399
# Sed expression to map a string onto a valid CPP name.
5400
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5402
# Sed expression to map a string onto a valid variable name.
5403
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5408
# Save the log message, to keep $[0] and so on meaningful, and to
5409
# report actual input values of CONFIG_FILES etc. instead of their
5410
# values after options handling.
5412
This file was extended by ltspfs $as_me 0.4.2, which was
5413
generated by GNU Autoconf 2.61. Invocation command line was
5415
CONFIG_FILES = $CONFIG_FILES
5416
CONFIG_HEADERS = $CONFIG_HEADERS
5417
CONFIG_LINKS = $CONFIG_LINKS
5418
CONFIG_COMMANDS = $CONFIG_COMMANDS
5421
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5426
cat >>$CONFIG_STATUS <<_ACEOF
5427
# Files that config.status was made for.
5428
config_files="$ac_config_files"
5429
config_headers="$ac_config_headers"
5430
config_commands="$ac_config_commands"
5434
cat >>$CONFIG_STATUS <<\_ACEOF
5436
\`$as_me' instantiates files from templates according to the
5437
current configuration.
5439
Usage: $0 [OPTIONS] [FILE]...
5441
-h, --help print this help, then exit
5442
-V, --version print version number and configuration settings, then exit
5443
-q, --quiet do not print progress messages
5444
-d, --debug don't remove temporary files
5445
--recheck update $as_me by reconfiguring in the same conditions
5446
--file=FILE[:TEMPLATE]
5447
instantiate the configuration file FILE
5448
--header=FILE[:TEMPLATE]
5449
instantiate the configuration header FILE
5451
Configuration files:
5454
Configuration headers:
5457
Configuration commands:
5460
Report bugs to <bug-autoconf@gnu.org>."
5463
cat >>$CONFIG_STATUS <<_ACEOF
5465
ltspfs config.status 0.4.2
5466
configured by $0, generated by GNU Autoconf 2.61,
5467
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5469
Copyright (C) 2006 Free Software Foundation, Inc.
5470
This config.status script is free software; the Free Software Foundation
5471
gives unlimited permission to copy, distribute and modify it."
5478
cat >>$CONFIG_STATUS <<\_ACEOF
5479
# If no file are specified by the user, then we need to provide default
5480
# value. By we need to know if files were specified by the user.
5486
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5487
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5498
# Handling of the options.
5499
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5501
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5502
echo "$ac_cs_version"; exit ;;
5503
--debug | --debu | --deb | --de | --d | -d )
5505
--file | --fil | --fi | --f )
5507
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5508
ac_need_defaults=false;;
5509
--header | --heade | --head | --hea )
5511
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5512
ac_need_defaults=false;;
5514
# Conflict between --help and --header
5515
{ echo "$as_me: error: ambiguous option: $1
5516
Try \`$0 --help' for more information." >&2
5517
{ (exit 1); exit 1; }; };;
5518
--help | --hel | -h )
5519
echo "$ac_cs_usage"; exit ;;
5520
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5521
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5525
-*) { echo "$as_me: error: unrecognized option: $1
5526
Try \`$0 --help' for more information." >&2
5527
{ (exit 1); exit 1; }; } ;;
5529
*) ac_config_targets="$ac_config_targets $1"
5530
ac_need_defaults=false ;;
5536
ac_configure_extra_args=
5538
if $ac_cs_silent; then
5540
ac_configure_extra_args="$ac_configure_extra_args --silent"
5544
cat >>$CONFIG_STATUS <<_ACEOF
5545
if \$ac_cs_recheck; then
5546
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5549
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5553
cat >>$CONFIG_STATUS <<\_ACEOF
5557
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5558
@%:@@%:@ Running $as_me. @%:@@%:@
5564
cat >>$CONFIG_STATUS <<_ACEOF
5568
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5572
cat >>$CONFIG_STATUS <<\_ACEOF
5574
# Handling of arguments.
5575
for ac_config_target in $ac_config_targets
5577
case $ac_config_target in
5578
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5579
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5580
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5581
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5582
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5583
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5584
"udev/Makefile") CONFIG_FILES="$CONFIG_FILES udev/Makefile" ;;
5586
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5587
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5588
{ (exit 1); exit 1; }; };;
5593
# If the user did not use the arguments to specify the items to instantiate,
5594
# then the envvar interface is used. Set only those that are not.
5595
# We use the long form for the default assignment because of an extremely
5596
# bizarre bug on SunOS 4.1.3.
5597
if $ac_need_defaults; then
5598
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5599
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5600
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5603
# Have a temporary directory for convenience. Make it in the build tree
5604
# simply because there is no reason against having it here, and in addition,
5605
# creating and moving files from /tmp can sometimes cause problems.
5606
# Hook for its removal unless debugging.
5607
# Note that there is a small window in which the directory will not be cleaned:
5608
# after its creation but before its name has been assigned to `$tmp'.
5612
trap 'exit_status=$?
5613
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5615
trap '{ (exit 1); exit 1; }' 1 2 13 15
5617
# Create a (secure) tmp directory for tmp files.
5620
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5621
test -n "$tmp" && test -d "$tmp"
5624
tmp=./conf$$-$RANDOM
5625
(umask 077 && mkdir "$tmp")
5628
echo "$me: cannot create a temporary directory in ." >&2
5629
{ (exit 1); exit 1; }
5633
# Set up the sed scripts for CONFIG_FILES section.
5636
# No need to generate the scripts if there are no CONFIG_FILES.
5637
# This happens for instance when ./config.status config.h
5638
if test -n "$CONFIG_FILES"; then
5645
for ac_last_try in false false false false false :; do
5646
cat >conf$$subs.sed <<_ACEOF
5647
SHELL!$SHELL$ac_delim
5648
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5649
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5650
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5651
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5652
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5653
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5654
exec_prefix!$exec_prefix$ac_delim
5655
prefix!$prefix$ac_delim
5656
program_transform_name!$program_transform_name$ac_delim
5657
bindir!$bindir$ac_delim
5658
sbindir!$sbindir$ac_delim
5659
libexecdir!$libexecdir$ac_delim
5660
datarootdir!$datarootdir$ac_delim
5661
datadir!$datadir$ac_delim
5662
sysconfdir!$sysconfdir$ac_delim
5663
sharedstatedir!$sharedstatedir$ac_delim
5664
localstatedir!$localstatedir$ac_delim
5665
includedir!$includedir$ac_delim
5666
oldincludedir!$oldincludedir$ac_delim
5667
docdir!$docdir$ac_delim
5668
infodir!$infodir$ac_delim
5669
htmldir!$htmldir$ac_delim
5670
dvidir!$dvidir$ac_delim
5671
pdfdir!$pdfdir$ac_delim
5672
psdir!$psdir$ac_delim
5673
libdir!$libdir$ac_delim
5674
localedir!$localedir$ac_delim
5675
mandir!$mandir$ac_delim
5677
ECHO_C!$ECHO_C$ac_delim
5678
ECHO_N!$ECHO_N$ac_delim
5679
ECHO_T!$ECHO_T$ac_delim
5681
build_alias!$build_alias$ac_delim
5682
host_alias!$host_alias$ac_delim
5683
target_alias!$target_alias$ac_delim
5684
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5685
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5686
INSTALL_DATA!$INSTALL_DATA$ac_delim
5687
CYGPATH_W!$CYGPATH_W$ac_delim
5688
PACKAGE!$PACKAGE$ac_delim
5689
VERSION!$VERSION$ac_delim
5690
ACLOCAL!$ACLOCAL$ac_delim
5691
AUTOCONF!$AUTOCONF$ac_delim
5692
AUTOMAKE!$AUTOMAKE$ac_delim
5693
AUTOHEADER!$AUTOHEADER$ac_delim
5694
MAKEINFO!$MAKEINFO$ac_delim
5695
install_sh!$install_sh$ac_delim
5696
STRIP!$STRIP$ac_delim
5697
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5698
mkdir_p!$mkdir_p$ac_delim
5700
SET_MAKE!$SET_MAKE$ac_delim
5701
am__leading_dot!$am__leading_dot$ac_delim
5702
AMTAR!$AMTAR$ac_delim
5703
am__tar!$am__tar$ac_delim
5704
am__untar!$am__untar$ac_delim
5705
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5706
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5707
MAINT!$MAINT$ac_delim
5709
CFLAGS!$CFLAGS$ac_delim
5710
LDFLAGS!$LDFLAGS$ac_delim
5711
CPPFLAGS!$CPPFLAGS$ac_delim
5712
ac_ct_CC!$ac_ct_CC$ac_delim
5713
EXEEXT!$EXEEXT$ac_delim
5714
OBJEXT!$OBJEXT$ac_delim
5715
DEPDIR!$DEPDIR$ac_delim
5716
am__include!$am__include$ac_delim
5717
am__quote!$am__quote$ac_delim
5718
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5719
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5720
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5721
CCDEPMODE!$CCDEPMODE$ac_delim
5722
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5723
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5724
PKG_CONFIG!$PKG_CONFIG$ac_delim
5725
LTSPFS_CFLAGS!$LTSPFS_CFLAGS$ac_delim
5726
LTSPFS_LIBS!$LTSPFS_LIBS$ac_delim
5729
EGREP!$EGREP$ac_delim
5730
UDEV_RULES_PATH!$UDEV_RULES_PATH$ac_delim
5731
UDEV_LIB_PATH!$UDEV_LIB_PATH$ac_delim
5732
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
5733
GLIB_LIBS!$GLIB_LIBS$ac_delim
5734
GOBJECT_CFLAGS!$GOBJECT_CFLAGS$ac_delim
5735
GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
5736
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5737
LTLIBOBJS!$LTLIBOBJS$ac_delim
5740
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
5742
elif $ac_last_try; then
5743
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5744
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5745
{ (exit 1); exit 1; }; }
5747
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5751
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5752
if test -n "$ac_eof"; then
5753
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5754
ac_eof=`expr $ac_eof + 1`
5757
cat >>$CONFIG_STATUS <<_ACEOF
5758
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5759
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5762
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5763
s/^/s,@/; s/!/@,|#_!!_#|/
5766
s/'"$ac_delim"'$/,g/; t
5768
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5769
' >>$CONFIG_STATUS <conf$$subs.sed
5770
rm -f conf$$subs.sed
5771
cat >>$CONFIG_STATUS <<_ACEOF
5778
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5779
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5780
# trailing colons and then remove the whole line if VPATH becomes empty
5781
# (actually we leave an empty line to preserve line numbers).
5782
if test "x$srcdir" = x.; then
5783
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5787
s/^\([^=]*=[ ]*\):*/\1/
5793
cat >>$CONFIG_STATUS <<\_ACEOF
5794
fi # test -n "$CONFIG_FILES"
5797
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5800
:[FHLC]) ac_mode=$ac_tag; continue;;
5802
case $ac_mode$ac_tag in
5804
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5805
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5806
{ (exit 1); exit 1; }; };;
5807
:[FH]-) ac_tag=-:-;;
5808
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5825
-) ac_f="$tmp/stdin";;
5826
*) # Look for the file first in the build tree, then in the source tree
5827
# (if the path is not absolute). The absolute path cannot be DOS-style,
5828
# because $ac_f cannot contain `:'.
5832
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5834
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5835
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5836
{ (exit 1); exit 1; }; };;
5838
ac_file_inputs="$ac_file_inputs $ac_f"
5841
# Let's still pretend it is `configure' which instantiates (i.e., don't
5842
# use $as_me), people would be surprised to read:
5843
# /* config.h. Generated by config.status. */
5844
configure_input="Generated from "`IFS=:
5845
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5846
if test x"$ac_file" != x-; then
5847
configure_input="$ac_file. $configure_input"
5848
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5849
echo "$as_me: creating $ac_file" >&6;}
5853
*:-:* | *:-) cat >"$tmp/stdin";;
5858
ac_dir=`$as_dirname -- "$ac_file" ||
5859
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5860
X"$ac_file" : 'X\(//\)[^/]' \| \
5861
X"$ac_file" : 'X\(//\)$' \| \
5862
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5864
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5883
-*) as_dir=./$as_dir;;
5885
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5889
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5890
*) as_qdir=$as_dir;;
5892
as_dirs="'$as_qdir' $as_dirs"
5893
as_dir=`$as_dirname -- "$as_dir" ||
5894
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5895
X"$as_dir" : 'X\(//\)[^/]' \| \
5896
X"$as_dir" : 'X\(//\)$' \| \
5897
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5899
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5916
test -d "$as_dir" && break
5918
test -z "$as_dirs" || eval "mkdir $as_dirs"
5919
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5920
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5921
{ (exit 1); exit 1; }; }; }
5925
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5927
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5928
# A ".." for each directory in $ac_dir_suffix.
5929
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5930
case $ac_top_builddir_sub in
5931
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5932
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5935
ac_abs_top_builddir=$ac_pwd
5936
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5937
# for backward compatibility:
5938
ac_top_builddir=$ac_top_build_prefix
5941
.) # We are building in place.
5943
ac_top_srcdir=$ac_top_builddir_sub
5944
ac_abs_top_srcdir=$ac_pwd ;;
5945
[\\/]* | ?:[\\/]* ) # Absolute name.
5946
ac_srcdir=$srcdir$ac_dir_suffix;
5947
ac_top_srcdir=$srcdir
5948
ac_abs_top_srcdir=$srcdir ;;
5950
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5951
ac_top_srcdir=$ac_top_build_prefix$srcdir
5952
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5954
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5964
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5965
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5969
cat >>$CONFIG_STATUS <<\_ACEOF
5970
# If the template does not know about datarootdir, expand it.
5971
# FIXME: This hack should be removed a few years after 2.60.
5972
ac_datarootdir_hack=; ac_datarootdir_seen=
5974
case `sed -n '/datarootdir/ {
5983
' $ac_file_inputs` in
5984
*datarootdir*) ac_datarootdir_seen=yes;;
5985
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5986
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5987
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5989
cat >>$CONFIG_STATUS <<_ACEOF
5990
ac_datarootdir_hack='
5991
s&@datadir@&$datadir&g
5992
s&@docdir@&$docdir&g
5993
s&@infodir@&$infodir&g
5994
s&@localedir@&$localedir&g
5995
s&@mandir@&$mandir&g
5996
s&\\\${datarootdir}&$datarootdir&g' ;;
6000
# Neutralize VPATH when `$srcdir' = `.'.
6001
# Shell code in configure.ac might set extrasub.
6002
# FIXME: do we really want to maintain this feature?
6003
cat >>$CONFIG_STATUS <<_ACEOF
6007
cat >>$CONFIG_STATUS <<\_ACEOF
6009
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6010
s&@configure_input@&$configure_input&;t t
6011
s&@top_builddir@&$ac_top_builddir_sub&;t t
6012
s&@srcdir@&$ac_srcdir&;t t
6013
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6014
s&@top_srcdir@&$ac_top_srcdir&;t t
6015
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6016
s&@builddir@&$ac_builddir&;t t
6017
s&@abs_builddir@&$ac_abs_builddir&;t t
6018
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6019
s&@INSTALL@&$ac_INSTALL&;t t
6020
$ac_datarootdir_hack
6021
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6023
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6024
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6025
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6026
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6027
which seems to be undefined. Please make sure it is defined." >&5
6028
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6029
which seems to be undefined. Please make sure it is defined." >&2;}
6033
-) cat "$tmp/out"; rm -f "$tmp/out";;
6034
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6043
# Transform confdefs.h into a sed script `conftest.defines', that
6044
# substitutes the proper values into config.h.in to produce config.h.
6045
rm -f conftest.defines conftest.tail
6046
# First, append a space to every undef/define line, to ease matching.
6047
echo 's/$/ /' >conftest.defines
6048
# Then, protect against being on the right side of a sed subst, or in
6049
# an unquoted here document, in config.status. If some macros were
6050
# called several times there might be several #defines for the same
6051
# symbol, which is useless. But do not sort them, since the last
6052
# AC_DEFINE must be honored.
6053
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6054
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6055
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6056
# PARAMS is the parameter list in the macro definition--in most cases, it's
6057
# just an empty string.
6058
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6059
ac_dB='\\)[ (].*,\\1define\\2'
6067
s/^[ ]*#[ ]*define[ ][ ]*//
6072
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6073
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6074
' >>conftest.defines
6076
# Remove the space that was appended to ease matching.
6077
# Then replace #undef with comments. This is necessary, for
6078
# example, in the case of _POSIX_SOURCE, which is predefined and required
6079
# on some systems where configure will not decide to define it.
6080
# (The regexp can be short, since the line contains either #define or #undef.)
6082
s,^[ #]*u.*,/* & */,' >>conftest.defines
6084
# Break up conftest.defines:
6087
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6088
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6089
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6091
ac_in='$ac_file_inputs'
6092
ac_out='"$tmp/out1"'
6093
ac_nxt='"$tmp/out2"'
6097
# Write a here document:
6098
cat >>$CONFIG_STATUS <<_ACEOF
6099
# First, check the format of the line:
6100
cat >"\$tmp/defines.sed" <<\\CEOF
6101
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6102
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6106
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6108
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6109
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6110
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6111
grep . conftest.tail >/dev/null || break
6112
rm -f conftest.defines
6113
mv conftest.tail conftest.defines
6115
rm -f conftest.defines conftest.tail
6117
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6118
cat >>$CONFIG_STATUS <<\_ACEOF
6119
if test x"$ac_file" != x-; then
6120
echo "/* $configure_input */" >"$tmp/config.h"
6121
cat "$ac_result" >>"$tmp/config.h"
6122
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6123
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6124
echo "$as_me: $ac_file is unchanged" >&6;}
6127
mv "$tmp/config.h" $ac_file
6130
echo "/* $configure_input */"
6134
# Compute $ac_file's index in $config_headers.
6136
for _am_header in $config_headers :; do
6138
$ac_file | $ac_file:* )
6141
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6144
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6145
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6146
X$ac_file : 'X\(//\)[^/]' \| \
6147
X$ac_file : 'X\(//\)$' \| \
6148
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6150
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6166
s/.*/./; q'`/stamp-h$_am_stamp_count
6169
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6170
echo "$as_me: executing $ac_file commands" >&6;}
6175
case $ac_file$ac_mode in
6176
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6177
# Strip MF so we end up with the name of the file.
6178
mf=`echo "$mf" | sed -e 's/:.*$//'`
6179
# Check whether this is an Automake generated Makefile or not.
6180
# We used to match only the files named `Makefile.in', but
6181
# some people rename them; so instead we look at the file content.
6182
# Grep'ing the first line is not enough: some people post-process
6183
# each Makefile.in and add a new line on top of each file to say so.
6184
# So let's grep whole file.
6185
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6186
dirpart=`$as_dirname -- "$mf" ||
6187
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6188
X"$mf" : 'X\(//\)[^/]' \| \
6189
X"$mf" : 'X\(//\)$' \| \
6190
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6192
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6212
# Extract the definition of DEPDIR, am__include, and am__quote
6213
# from the Makefile without running `make'.
6214
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6215
test -z "$DEPDIR" && continue
6216
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6217
test -z "am__include" && continue
6218
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6219
# When using ansi2knr, U may be empty or an underscore; expand it
6220
U=`sed -n 's/^U = //p' < "$mf"`
6221
# Find all dependency output files, they are included files with
6222
# $(DEPDIR) in their names. We invoke sed twice because it is the
6223
# simplest approach to changing $(DEPDIR) to its actual value in the
6225
for file in `sed -n "
6226
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6227
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6228
# Make sure the directory exists.
6229
test -f "$dirpart/$file" && continue
6230
fdir=`$as_dirname -- "$file" ||
6231
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6232
X"$file" : 'X\(//\)[^/]' \| \
6233
X"$file" : 'X\(//\)$' \| \
6234
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6236
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6253
{ as_dir=$dirpart/$fdir
6255
-*) as_dir=./$as_dir;;
6257
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6261
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6262
*) as_qdir=$as_dir;;
6264
as_dirs="'$as_qdir' $as_dirs"
6265
as_dir=`$as_dirname -- "$as_dir" ||
6266
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6267
X"$as_dir" : 'X\(//\)[^/]' \| \
6268
X"$as_dir" : 'X\(//\)$' \| \
6269
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6271
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6288
test -d "$as_dir" && break
6290
test -z "$as_dirs" || eval "mkdir $as_dirs"
6291
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6292
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6293
{ (exit 1); exit 1; }; }; }
6294
# echo "creating $dirpart/$file"
6295
echo '# dummy' > "$dirpart/$file"
6304
{ (exit 0); exit 0; }
6306
chmod +x $CONFIG_STATUS
6307
ac_clean_files=$ac_clean_files_save
6310
# configure is writing to config.log, and then calls config.status.
6311
# config.status does its own redirection, appending to config.log.
6312
# Unfortunately, on DOS this fails, as config.log is still kept open
6313
# by configure, so config.status won't be able to write to it; its
6314
# output is simply discarded. So we exec the FD to /dev/null,
6315
# effectively closing config.log, so it can be properly (re)opened and
6316
# appended to by config.status. When coming back to configure, we
6317
# need to make the FD available again.
6318
if test "$no_create" != yes; then
6320
ac_config_status_args=
6321
test "$silent" = yes &&
6322
ac_config_status_args="$ac_config_status_args --quiet"
6324
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6326
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6327
# would make configure fail if this is the last instruction.
6328
$ac_cs_success || { (exit 1); exit 1; }