2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for isight-firmware-tools 1.2.
5
# Report bugs to <https://bugs.launchpad.net/isight-firmware-tools/+filebug>.
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='isight-firmware-tools'
576
PACKAGE_TARNAME='isight-firmware-tools'
577
PACKAGE_VERSION='1.2'
578
PACKAGE_STRING='isight-firmware-tools 1.2'
579
PACKAGE_BUGREPORT='https://bugs.launchpad.net/isight-firmware-tools/+filebug'
581
# Factoring default headers for most tests.
582
ac_includes_default="\
584
#ifdef HAVE_SYS_TYPES_H
585
# include <sys/types.h>
587
#ifdef HAVE_SYS_STAT_H
588
# include <sys/stat.h>
594
# ifdef HAVE_STDLIB_H
599
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604
#ifdef HAVE_STRINGS_H
605
# include <strings.h>
607
#ifdef HAVE_INTTYPES_H
608
# include <inttypes.h>
626
program_transform_name
668
INSTALL_STRIP_PROGRAM
677
MAINTAINER_MODE_FALSE
727
INTLTOOL_DESKTOP_RULE
728
INTLTOOL_DIRECTORY_RULE
735
INTLTOOL_SOUNDLIST_RULE
740
INTLTOOL_XML_NOMERGE_RULE
742
INTLTOOL_SCHEMAS_RULE
744
INTLTOOL_SERVICE_RULE
755
ac_precious_vars='build_alias
773
# Initialize some variables set by options.
775
ac_init_version=false
776
# The variables have the same names as the options, with
777
# dashes changed to underlines.
785
program_transform_name=s,x,x,
793
# Installation directory options.
794
# These are left unexpanded so users can "make install exec_prefix=/foo"
795
# and all the variables that are supposed to be based on exec_prefix
796
# by default will actually change.
797
# Use braces instead of parens because sh, perl, etc. also accept them.
798
# (The list follows the same order as the GNU Coding Standards.)
799
bindir='${exec_prefix}/bin'
800
sbindir='${exec_prefix}/sbin'
801
libexecdir='${exec_prefix}/libexec'
802
datarootdir='${prefix}/share'
803
datadir='${datarootdir}'
804
sysconfdir='${prefix}/etc'
805
sharedstatedir='${prefix}/com'
806
localstatedir='${prefix}/var'
807
includedir='${prefix}/include'
808
oldincludedir='/usr/include'
809
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810
infodir='${datarootdir}/info'
815
libdir='${exec_prefix}/lib'
816
localedir='${datarootdir}/locale'
817
mandir='${datarootdir}/man'
823
# If the previous option needs an argument, assign it.
824
if test -n "$ac_prev"; then
825
eval $ac_prev=\$ac_option
831
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
835
# Accept the important Cygnus configure options, so we can diagnose typos.
837
case $ac_dashdash$ac_option in
841
-bindir | --bindir | --bindi | --bind | --bin | --bi)
843
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846
-build | --build | --buil | --bui | --bu)
847
ac_prev=build_alias ;;
848
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
849
build_alias=$ac_optarg ;;
851
-cache-file | --cache-file | --cache-fil | --cache-fi \
852
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853
ac_prev=cache_file ;;
854
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856
cache_file=$ac_optarg ;;
859
cache_file=config.cache ;;
861
-datadir | --datadir | --datadi | --datad)
863
-datadir=* | --datadir=* | --datadi=* | --datad=*)
864
datadir=$ac_optarg ;;
866
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
867
| --dataroo | --dataro | --datar)
868
ac_prev=datarootdir ;;
869
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
870
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
871
datarootdir=$ac_optarg ;;
873
-disable-* | --disable-*)
874
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
875
# Reject names that are not valid shell variable names.
876
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
877
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
878
{ (exit 1); exit 1; }; }
879
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
880
eval enable_$ac_feature=no ;;
882
-docdir | --docdir | --docdi | --doc | --do)
884
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
889
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892
-enable-* | --enable-*)
893
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894
# Reject names that are not valid shell variable names.
895
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
897
{ (exit 1); exit 1; }; }
898
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899
eval enable_$ac_feature=\$ac_optarg ;;
901
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903
| --exec | --exe | --ex)
904
ac_prev=exec_prefix ;;
905
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907
| --exec=* | --exe=* | --ex=*)
908
exec_prefix=$ac_optarg ;;
910
-gas | --gas | --ga | --g)
911
# Obsolete; use --with-gas.
914
-help | --help | --hel | --he | -h)
916
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917
ac_init_help=recursive ;;
918
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919
ac_init_help=short ;;
921
-host | --host | --hos | --ho)
922
ac_prev=host_alias ;;
923
-host=* | --host=* | --hos=* | --ho=*)
924
host_alias=$ac_optarg ;;
926
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930
htmldir=$ac_optarg ;;
932
-includedir | --includedir | --includedi | --included | --include \
933
| --includ | --inclu | --incl | --inc)
934
ac_prev=includedir ;;
935
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936
| --includ=* | --inclu=* | --incl=* | --inc=*)
937
includedir=$ac_optarg ;;
939
-infodir | --infodir | --infodi | --infod | --info | --inf)
941
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942
infodir=$ac_optarg ;;
944
-libdir | --libdir | --libdi | --libd)
946
-libdir=* | --libdir=* | --libdi=* | --libd=*)
949
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950
| --libexe | --libex | --libe)
951
ac_prev=libexecdir ;;
952
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953
| --libexe=* | --libex=* | --libe=*)
954
libexecdir=$ac_optarg ;;
956
-localedir | --localedir | --localedi | --localed | --locale)
958
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959
localedir=$ac_optarg ;;
961
-localstatedir | --localstatedir | --localstatedi | --localstated \
962
| --localstate | --localstat | --localsta | --localst | --locals)
963
ac_prev=localstatedir ;;
964
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966
localstatedir=$ac_optarg ;;
968
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
974
# Obsolete; use --without-fp.
977
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
978
| --no-cr | --no-c | -n)
981
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
982
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
985
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987
| --oldin | --oldi | --old | --ol | --o)
988
ac_prev=oldincludedir ;;
989
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992
oldincludedir=$ac_optarg ;;
994
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
999
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1000
| --program-pre | --program-pr | --program-p)
1001
ac_prev=program_prefix ;;
1002
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1003
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004
program_prefix=$ac_optarg ;;
1006
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1007
| --program-suf | --program-su | --program-s)
1008
ac_prev=program_suffix ;;
1009
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1010
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011
program_suffix=$ac_optarg ;;
1013
-program-transform-name | --program-transform-name \
1014
| --program-transform-nam | --program-transform-na \
1015
| --program-transform-n | --program-transform- \
1016
| --program-transform | --program-transfor \
1017
| --program-transfo | --program-transf \
1018
| --program-trans | --program-tran \
1019
| --progr-tra | --program-tr | --program-t)
1020
ac_prev=program_transform_name ;;
1021
-program-transform-name=* | --program-transform-name=* \
1022
| --program-transform-nam=* | --program-transform-na=* \
1023
| --program-transform-n=* | --program-transform-=* \
1024
| --program-transform=* | --program-transfor=* \
1025
| --program-transfo=* | --program-transf=* \
1026
| --program-trans=* | --program-tran=* \
1027
| --progr-tra=* | --program-tr=* | --program-t=*)
1028
program_transform_name=$ac_optarg ;;
1030
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033
pdfdir=$ac_optarg ;;
1035
-psdir | --psdir | --psdi | --psd | --ps)
1037
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1040
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041
| -silent | --silent | --silen | --sile | --sil)
1044
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048
sbindir=$ac_optarg ;;
1050
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1051
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052
| --sharedst | --shareds | --shared | --share | --shar \
1054
ac_prev=sharedstatedir ;;
1055
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059
sharedstatedir=$ac_optarg ;;
1061
-site | --site | --sit)
1063
-site=* | --site=* | --sit=*)
1066
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069
srcdir=$ac_optarg ;;
1071
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072
| --syscon | --sysco | --sysc | --sys | --sy)
1073
ac_prev=sysconfdir ;;
1074
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076
sysconfdir=$ac_optarg ;;
1078
-target | --target | --targe | --targ | --tar | --ta | --t)
1079
ac_prev=target_alias ;;
1080
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081
target_alias=$ac_optarg ;;
1083
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1086
-version | --version | --versio | --versi | --vers | -V)
1087
ac_init_version=: ;;
1090
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091
# Reject names that are not valid shell variable names.
1092
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1093
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1094
{ (exit 1); exit 1; }; }
1095
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1096
eval with_$ac_package=\$ac_optarg ;;
1098
-without-* | --without-*)
1099
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100
# Reject names that are not valid shell variable names.
1101
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1103
{ (exit 1); exit 1; }; }
1104
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1105
eval with_$ac_package=no ;;
1108
# Obsolete; use --with-x.
1111
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1112
| --x-incl | --x-inc | --x-in | --x-i)
1113
ac_prev=x_includes ;;
1114
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1115
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1116
x_includes=$ac_optarg ;;
1118
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1119
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1120
ac_prev=x_libraries ;;
1121
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1122
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1123
x_libraries=$ac_optarg ;;
1125
-*) { echo "$as_me: error: unrecognized option: $ac_option
1126
Try \`$0 --help' for more information." >&2
1127
{ (exit 1); exit 1; }; }
1131
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132
# Reject names that are not valid shell variable names.
1133
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1134
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1135
{ (exit 1); exit 1; }; }
1136
eval $ac_envvar=\$ac_optarg
1137
export $ac_envvar ;;
1140
# FIXME: should be removed in autoconf 3.0.
1141
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1144
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1150
if test -n "$ac_prev"; then
1151
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1152
{ echo "$as_me: error: missing argument to $ac_option" >&2
1153
{ (exit 1); exit 1; }; }
1156
# Be sure to have absolute directory names.
1157
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1158
datadir sysconfdir sharedstatedir localstatedir includedir \
1159
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1160
libdir localedir mandir
1162
eval ac_val=\$$ac_var
1164
[\\/$]* | ?:[\\/]* ) continue;;
1165
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1167
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1168
{ (exit 1); exit 1; }; }
1171
# There might be people who depend on the old broken behavior: `$host'
1172
# used to hold the argument of --host etc.
1173
# FIXME: To remove some day.
1176
target=$target_alias
1178
# FIXME: To remove some day.
1179
if test "x$host_alias" != x; then
1180
if test "x$build_alias" = x; then
1181
cross_compiling=maybe
1182
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1183
If a cross compiler is detected then cross compile mode will be used." >&2
1184
elif test "x$build_alias" != "x$host_alias"; then
1190
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192
test "$silent" = yes && exec 6>/dev/null
1195
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1196
ac_ls_di=`ls -di .` &&
1197
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1198
{ echo "$as_me: error: Working directory cannot be determined" >&2
1199
{ (exit 1); exit 1; }; }
1200
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1201
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1202
{ (exit 1); exit 1; }; }
1205
# Find the source files, if location was not specified.
1206
if test -z "$srcdir"; then
1207
ac_srcdir_defaulted=yes
1208
# Try the directory containing this script, then the parent directory.
1209
ac_confdir=`$as_dirname -- "$0" ||
1210
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1211
X"$0" : 'X\(//\)[^/]' \| \
1212
X"$0" : 'X\(//\)$' \| \
1213
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1215
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1233
if test ! -r "$srcdir/$ac_unique_file"; then
1237
ac_srcdir_defaulted=no
1239
if test ! -r "$srcdir/$ac_unique_file"; then
1240
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1241
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1242
{ (exit 1); exit 1; }; }
1244
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1246
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1247
{ (exit 1); exit 1; }; }
1249
# When building in place, set srcdir=.
1250
if test "$ac_abs_confdir" = "$ac_pwd"; then
1253
# Remove unnecessary trailing slashes from srcdir.
1254
# Double slashes in file names in object file debugging info
1255
# mess up M-x gdb in Emacs.
1257
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1259
for ac_var in $ac_precious_vars; do
1260
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1261
eval ac_env_${ac_var}_value=\$${ac_var}
1262
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1263
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1267
# Report the --help message.
1269
if test "$ac_init_help" = "long"; then
1270
# Omit some internal or obsolete options to make the list less imposing.
1271
# This message is too long to be a string in the A/UX 3.1 sh.
1273
\`configure' configures isight-firmware-tools 1.2 to adapt to many kinds of systems.
1275
Usage: $0 [OPTION]... [VAR=VALUE]...
1277
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1278
VAR=VALUE. See below for descriptions of some of the useful variables.
1280
Defaults for the options are specified in brackets.
1283
-h, --help display this help and exit
1284
--help=short display options specific to this package
1285
--help=recursive display the short help of all the included packages
1286
-V, --version display version information and exit
1287
-q, --quiet, --silent do not print \`checking...' messages
1288
--cache-file=FILE cache test results in FILE [disabled]
1289
-C, --config-cache alias for \`--cache-file=config.cache'
1290
-n, --no-create do not create output files
1291
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1293
Installation directories:
1294
--prefix=PREFIX install architecture-independent files in PREFIX
1295
[$ac_default_prefix]
1296
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1299
By default, \`make install' will install all the files in
1300
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1301
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1302
for instance \`--prefix=\$HOME'.
1304
For better control, use the options below.
1306
Fine tuning of the installation directories:
1307
--bindir=DIR user executables [EPREFIX/bin]
1308
--sbindir=DIR system admin executables [EPREFIX/sbin]
1309
--libexecdir=DIR program executables [EPREFIX/libexec]
1310
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1311
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1312
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1313
--libdir=DIR object code libraries [EPREFIX/lib]
1314
--includedir=DIR C header files [PREFIX/include]
1315
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1316
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318
--infodir=DIR info documentation [DATAROOTDIR/info]
1319
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320
--mandir=DIR man documentation [DATAROOTDIR/man]
1321
--docdir=DIR documentation root [DATAROOTDIR/doc/isight-firmware-tools]
1322
--htmldir=DIR html documentation [DOCDIR]
1323
--dvidir=DIR dvi documentation [DOCDIR]
1324
--pdfdir=DIR pdf documentation [DOCDIR]
1325
--psdir=DIR ps documentation [DOCDIR]
1331
--program-prefix=PREFIX prepend PREFIX to installed program names
1332
--program-suffix=SUFFIX append SUFFIX to installed program names
1333
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1337
if test -n "$ac_init_help"; then
1338
case $ac_init_help in
1339
short | recursive ) echo "Configuration of isight-firmware-tools 1.2:";;
1344
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1345
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1346
--enable-maintainer-mode enable make rules and dependencies not useful
1347
(and sometimes confusing) to the casual installer
1348
--disable-dependency-tracking speeds up one-time build
1349
--enable-dependency-tracking do not reject slow dependency extractors
1350
--enable-udev Enable udev firmware loader
1351
--disable-hal Disable HAL callout
1353
Some influential environment variables:
1354
CC C compiler command
1355
CFLAGS C compiler flags
1356
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1357
nonstandard directory <lib dir>
1358
LIBS libraries to pass to the linker, e.g. -l<library>
1359
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1360
you have headers in a nonstandard directory <include dir>
1362
PKG_CONFIG path to pkg-config utility
1363
IFT_CFLAGS C compiler flags for IFT, overriding pkg-config
1364
IFT_LIBS linker flags for IFT, overriding pkg-config
1365
LOAD_CFLAGS C compiler flags for LOAD, overriding pkg-config
1366
LOAD_LIBS linker flags for LOAD, overriding pkg-config
1367
HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
1368
HAL_LIBS linker flags for HAL, overriding pkg-config
1370
Use these variables to override the choices made by `configure' or to help
1371
it to find libraries and programs with nonstandard names/locations.
1373
Report bugs to <https://bugs.launchpad.net/isight-firmware-tools/+filebug>.
1378
if test "$ac_init_help" = "recursive"; then
1379
# If there are subdirs, report their specific --help.
1380
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1381
test -d "$ac_dir" || continue
1385
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1388
# A ".." for each directory in $ac_dir_suffix.
1389
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1390
case $ac_top_builddir_sub in
1391
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1395
ac_abs_top_builddir=$ac_pwd
1396
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397
# for backward compatibility:
1398
ac_top_builddir=$ac_top_build_prefix
1401
.) # We are building in place.
1403
ac_top_srcdir=$ac_top_builddir_sub
1404
ac_abs_top_srcdir=$ac_pwd ;;
1405
[\\/]* | ?:[\\/]* ) # Absolute name.
1406
ac_srcdir=$srcdir$ac_dir_suffix;
1407
ac_top_srcdir=$srcdir
1408
ac_abs_top_srcdir=$srcdir ;;
1410
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411
ac_top_srcdir=$ac_top_build_prefix$srcdir
1412
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1414
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1416
cd "$ac_dir" || { ac_status=$?; continue; }
1417
# Check for guested configure.
1418
if test -f "$ac_srcdir/configure.gnu"; then
1420
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1421
elif test -f "$ac_srcdir/configure"; then
1423
$SHELL "$ac_srcdir/configure" --help=recursive
1425
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427
cd "$ac_pwd" || { ac_status=$?; break; }
1431
test -n "$ac_init_help" && exit $ac_status
1432
if $ac_init_version; then
1434
isight-firmware-tools configure 1.2
1435
generated by GNU Autoconf 2.61
1437
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1438
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1439
This configure script is free software; the Free Software Foundation
1440
gives unlimited permission to copy, distribute and modify it.
1444
cat >config.log <<_ACEOF
1445
This file contains any messages produced by compilers while
1446
running configure, to aid debugging if configure makes a mistake.
1448
It was created by isight-firmware-tools $as_me 1.2, which was
1449
generated by GNU Autoconf 2.61. Invocation command line was
1461
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1462
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1463
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1464
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1465
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1467
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1468
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1470
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1471
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1472
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1473
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1474
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1475
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1476
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1484
test -z "$as_dir" && as_dir=.
1485
echo "PATH: $as_dir"
1501
# Keep a trace of the command line.
1502
# Strip out --no-create and --no-recursion so they do not pile up.
1503
# Strip out --silent because we don't want to record it for future runs.
1504
# Also quote any args containing shell meta-characters.
1505
# Make two passes to allow for proper duplicate-argument suppression.
1509
ac_must_keep_next=false
1515
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1516
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1517
| -silent | --silent | --silen | --sile | --sil)
1520
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1523
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1525
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1526
if test $ac_must_keep_next = true; then
1527
ac_must_keep_next=false # Got value, back to normal.
1530
*=* | --config-cache | -C | -disable-* | --disable-* \
1531
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1532
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1533
| -with-* | --with-* | -without-* | --without-* | --x)
1534
case "$ac_configure_args0 " in
1535
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1538
-* ) ac_must_keep_next=true ;;
1541
ac_configure_args="$ac_configure_args '$ac_arg'"
1546
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1547
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1549
# When interrupted or exit'd, cleanup temporary files, and complete
1550
# config.log. We remove comments because anyway the quotes in there
1551
# would cause problems or look ugly.
1552
# WARNING: Use '\'' to represent an apostrophe within the trap.
1553
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1554
trap 'exit_status=$?
1555
# Save into config.log some information that might help in debugging.
1560
## ---------------- ##
1561
## Cache variables. ##
1562
## ---------------- ##
1565
# The following way of writing the cache mishandles newlines in values,
1567
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1568
eval ac_val=\$$ac_var
1572
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1573
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1576
_ | IFS | as_nl) ;; #(
1577
*) $as_unset $ac_var ;;
1582
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1583
*${as_nl}ac_space=\ *)
1585
"s/'\''/'\''\\\\'\'''\''/g;
1586
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1589
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1597
## ----------------- ##
1598
## Output variables. ##
1599
## ----------------- ##
1602
for ac_var in $ac_subst_vars
1604
eval ac_val=\$$ac_var
1606
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1608
echo "$ac_var='\''$ac_val'\''"
1612
if test -n "$ac_subst_files"; then
1614
## ------------------- ##
1615
## File substitutions. ##
1616
## ------------------- ##
1619
for ac_var in $ac_subst_files
1621
eval ac_val=\$$ac_var
1623
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1625
echo "$ac_var='\''$ac_val'\''"
1630
if test -s confdefs.h; then
1640
test "$ac_signal" != 0 &&
1641
echo "$as_me: caught signal $ac_signal"
1642
echo "$as_me: exit $exit_status"
1644
rm -f core *.core core.conftest.* &&
1645
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1648
for ac_signal in 1 2 13 15; do
1649
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1653
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1654
rm -f -r conftest* confdefs.h
1656
# Predefined preprocessor variables.
1658
cat >>confdefs.h <<_ACEOF
1659
#define PACKAGE_NAME "$PACKAGE_NAME"
1663
cat >>confdefs.h <<_ACEOF
1664
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1668
cat >>confdefs.h <<_ACEOF
1669
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1673
cat >>confdefs.h <<_ACEOF
1674
#define PACKAGE_STRING "$PACKAGE_STRING"
1678
cat >>confdefs.h <<_ACEOF
1679
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1683
# Let the site file select an alternate cache file if it wants to.
1684
# Prefer explicitly selected file to automatically selected ones.
1685
if test -n "$CONFIG_SITE"; then
1686
set x "$CONFIG_SITE"
1687
elif test "x$prefix" != xNONE; then
1688
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1690
set x "$ac_default_prefix/share/config.site" \
1691
"$ac_default_prefix/etc/config.site"
1696
if test -r "$ac_site_file"; then
1697
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1698
echo "$as_me: loading site script $ac_site_file" >&6;}
1699
sed 's/^/| /' "$ac_site_file" >&5
1704
if test -r "$cache_file"; then
1705
# Some versions of bash will fail to source /dev/null (special
1706
# files actually), so we avoid doing that.
1707
if test -f "$cache_file"; then
1708
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1709
echo "$as_me: loading cache $cache_file" >&6;}
1711
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1712
*) . "./$cache_file";;
1716
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1717
echo "$as_me: creating cache $cache_file" >&6;}
1721
# Check that the precious variables saved in the cache have kept the same
1723
ac_cache_corrupted=false
1724
for ac_var in $ac_precious_vars; do
1725
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1726
eval ac_new_set=\$ac_env_${ac_var}_set
1727
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1728
eval ac_new_val=\$ac_env_${ac_var}_value
1729
case $ac_old_set,$ac_new_set in
1731
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1732
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1733
ac_cache_corrupted=: ;;
1735
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1736
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1737
ac_cache_corrupted=: ;;
1740
if test "x$ac_old_val" != "x$ac_new_val"; then
1741
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1742
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1743
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1744
echo "$as_me: former value: $ac_old_val" >&2;}
1745
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1746
echo "$as_me: current value: $ac_new_val" >&2;}
1747
ac_cache_corrupted=:
1750
# Pass precious variables to config.status.
1751
if test "$ac_new_set" = set; then
1753
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1754
*) ac_arg=$ac_var=$ac_new_val ;;
1756
case " $ac_configure_args " in
1757
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1758
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1762
if $ac_cache_corrupted; then
1763
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1764
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1765
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1766
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1767
{ (exit 1); exit 1; }; }
1795
ac_cpp='$CPP $CPPFLAGS'
1796
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1797
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1798
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1801
am__api_version='1.10'
1804
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1805
if test -f "$ac_dir/install-sh"; then
1807
ac_install_sh="$ac_aux_dir/install-sh -c"
1809
elif test -f "$ac_dir/install.sh"; then
1811
ac_install_sh="$ac_aux_dir/install.sh -c"
1813
elif test -f "$ac_dir/shtool"; then
1815
ac_install_sh="$ac_aux_dir/shtool install -c"
1819
if test -z "$ac_aux_dir"; then
1820
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1821
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1822
{ (exit 1); exit 1; }; }
1825
# These three variables are undocumented and unsupported,
1826
# and are intended to be withdrawn in a future Autoconf release.
1827
# They can cause serious problems if a builder's source tree is in a directory
1828
# whose full name contains unusual characters.
1829
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1830
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1831
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1834
# Find a good install program. We prefer a C program (faster),
1835
# so one script is as good as another. But avoid the broken or
1836
# incompatible versions:
1837
# SysV /etc/install, /usr/sbin/install
1838
# SunOS /usr/etc/install
1839
# IRIX /sbin/install
1841
# AmigaOS /C/install, which installs bootblocks on floppy discs
1842
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1843
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1844
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1845
# OS/2's system install, which has a completely different semantic
1846
# ./install, which can be erroneously created by make from ./install.sh.
1847
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1848
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1849
if test -z "$INSTALL"; then
1850
if test "${ac_cv_path_install+set}" = set; then
1851
echo $ECHO_N "(cached) $ECHO_C" >&6
1853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857
test -z "$as_dir" && as_dir=.
1858
# Account for people who put trailing slashes in PATH elements.
1860
./ | .// | /cC/* | \
1861
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1862
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1865
# OSF1 and SCO ODT 3.0 have their own names for install.
1866
# Don't use installbsd from OSF since it installs stuff as root
1868
for ac_prog in ginstall scoinst install; do
1869
for ac_exec_ext in '' $ac_executable_extensions; do
1870
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1871
if test $ac_prog = install &&
1872
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1873
# AIX install. It has an incompatible calling convention.
1875
elif test $ac_prog = install &&
1876
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1877
# program-specific install script used by HP pwplus--don't use.
1880
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1893
if test "${ac_cv_path_install+set}" = set; then
1894
INSTALL=$ac_cv_path_install
1896
# As a last resort, use the slow shell script. Don't cache a
1897
# value for INSTALL within a source directory, because that will
1898
# break other packages using the cache if that directory is
1899
# removed, or if the value is a relative name.
1900
INSTALL=$ac_install_sh
1903
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1904
echo "${ECHO_T}$INSTALL" >&6; }
1906
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1907
# It thinks the first close brace ends the variable substitution.
1908
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1910
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1912
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1914
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1915
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1918
echo timestamp > conftest.file
1919
# Do `set' in a subshell so we don't clobber the current shell's
1920
# arguments. Must try -L first in case configure is actually a
1921
# symlink; some systems play weird games with the mod time of symlinks
1922
# (eg FreeBSD returns the mod time of the symlink's containing
1925
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1926
if test "$*" = "X"; then
1928
set X `ls -t $srcdir/configure conftest.file`
1931
if test "$*" != "X $srcdir/configure conftest.file" \
1932
&& test "$*" != "X conftest.file $srcdir/configure"; then
1934
# If neither matched, then we have a broken ls. This can happen
1935
# if, for instance, CONFIG_SHELL is bash and it inherits a
1936
# broken ls alias from the environment. This has actually
1937
# happened. Such a system could not be considered "sane".
1938
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1939
alias in your environment" >&5
1940
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1941
alias in your environment" >&2;}
1942
{ (exit 1); exit 1; }; }
1945
test "$2" = conftest.file
1951
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1952
Check your system clock" >&5
1953
echo "$as_me: error: newly created file is older than distributed files!
1954
Check your system clock" >&2;}
1955
{ (exit 1); exit 1; }; }
1957
{ echo "$as_me:$LINENO: result: yes" >&5
1958
echo "${ECHO_T}yes" >&6; }
1959
test "$program_prefix" != NONE &&
1960
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1961
# Use a double $ so make ignores it.
1962
test "$program_suffix" != NONE &&
1963
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1964
# Double any \ or $. echo might interpret backslashes.
1965
# By default was `s,x,x', remove it if useless.
1966
cat <<\_ACEOF >conftest.sed
1967
s/[\\$]/&&/g;s/;s,x,x,$//
1969
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1972
# expand $ac_aux_dir to an absolute path
1973
am_aux_dir=`cd $ac_aux_dir && pwd`
1975
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1976
# Use eval to expand $SHELL
1977
if eval "$MISSING --run true"; then
1978
am_missing_run="$MISSING --run "
1981
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1982
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1985
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1986
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1987
if test -z "$MKDIR_P"; then
1988
if test "${ac_cv_path_mkdir+set}" = set; then
1989
echo $ECHO_N "(cached) $ECHO_C" >&6
1991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1992
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1995
test -z "$as_dir" && as_dir=.
1996
for ac_prog in mkdir gmkdir; do
1997
for ac_exec_ext in '' $ac_executable_extensions; do
1998
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1999
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2000
'mkdir (GNU coreutils) '* | \
2001
'mkdir (coreutils) '* | \
2002
'mkdir (fileutils) '4.1*)
2003
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2013
if test "${ac_cv_path_mkdir+set}" = set; then
2014
MKDIR_P="$ac_cv_path_mkdir -p"
2016
# As a last resort, use the slow shell script. Don't cache a
2017
# value for MKDIR_P within a source directory, because that will
2018
# break other packages using the cache if that directory is
2019
# removed, or if the value is a relative name.
2020
test -d ./--version && rmdir ./--version
2021
MKDIR_P="$ac_install_sh -d"
2024
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2025
echo "${ECHO_T}$MKDIR_P" >&6; }
2029
[\\/$]* | ?:[\\/]*) ;;
2030
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2033
for ac_prog in gawk mawk nawk awk
2035
# Extract the first word of "$ac_prog", so it can be a program name with args.
2036
set dummy $ac_prog; ac_word=$2
2037
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2038
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2039
if test "${ac_cv_prog_AWK+set}" = set; then
2040
echo $ECHO_N "(cached) $ECHO_C" >&6
2042
if test -n "$AWK"; then
2043
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049
test -z "$as_dir" && as_dir=.
2050
for ac_exec_ext in '' $ac_executable_extensions; do
2051
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2052
ac_cv_prog_AWK="$ac_prog"
2053
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063
if test -n "$AWK"; then
2064
{ echo "$as_me:$LINENO: result: $AWK" >&5
2065
echo "${ECHO_T}$AWK" >&6; }
2067
{ echo "$as_me:$LINENO: result: no" >&5
2068
echo "${ECHO_T}no" >&6; }
2072
test -n "$AWK" && break
2075
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2076
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2077
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2078
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2079
echo $ECHO_N "(cached) $ECHO_C" >&6
2081
cat >conftest.make <<\_ACEOF
2084
@echo '@@@%%%=$(MAKE)=@@@%%%'
2086
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2087
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2089
eval ac_cv_prog_make_${ac_make}_set=yes;;
2091
eval ac_cv_prog_make_${ac_make}_set=no;;
2095
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2096
{ echo "$as_me:$LINENO: result: yes" >&5
2097
echo "${ECHO_T}yes" >&6; }
2100
{ echo "$as_me:$LINENO: result: no" >&5
2101
echo "${ECHO_T}no" >&6; }
2102
SET_MAKE="MAKE=${MAKE-make}"
2105
rm -rf .tst 2>/dev/null
2106
mkdir .tst 2>/dev/null
2107
if test -d .tst; then
2112
rmdir .tst 2>/dev/null
2114
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2115
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2116
# is not polluted with repeated "-I."
2117
am__isrc=' -I$(srcdir)'
2118
# test to see if srcdir already configured
2119
if test -f $srcdir/config.status; then
2120
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2121
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2122
{ (exit 1); exit 1; }; }
2126
# test whether we have cygpath
2127
if test -z "$CYGPATH_W"; then
2128
if (cygpath --version) >/dev/null 2>/dev/null; then
2129
CYGPATH_W='cygpath -w'
2136
# Define the identity of the package.
2137
PACKAGE=isight-firmware-tools
2141
cat >>confdefs.h <<_ACEOF
2142
#define PACKAGE "$PACKAGE"
2146
cat >>confdefs.h <<_ACEOF
2147
#define VERSION "$VERSION"
2150
# Some tools Automake needs.
2152
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2155
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2158
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2161
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2164
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2166
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2168
# Installed binaries are usually stripped using `strip' when the user
2169
# run `make install-strip'. However `strip' might not be the right
2170
# tool to use in cross-compilation environments, therefore Automake
2171
# will honor the `STRIP' environment variable to overrule this program.
2172
if test "$cross_compiling" != no; then
2173
if test -n "$ac_tool_prefix"; then
2174
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2175
set dummy ${ac_tool_prefix}strip; ac_word=$2
2176
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2177
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178
if test "${ac_cv_prog_STRIP+set}" = set; then
2179
echo $ECHO_N "(cached) $ECHO_C" >&6
2181
if test -n "$STRIP"; then
2182
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188
test -z "$as_dir" && as_dir=.
2189
for ac_exec_ext in '' $ac_executable_extensions; do
2190
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2192
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201
STRIP=$ac_cv_prog_STRIP
2202
if test -n "$STRIP"; then
2203
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2204
echo "${ECHO_T}$STRIP" >&6; }
2206
{ echo "$as_me:$LINENO: result: no" >&5
2207
echo "${ECHO_T}no" >&6; }
2212
if test -z "$ac_cv_prog_STRIP"; then
2214
# Extract the first word of "strip", so it can be a program name with args.
2215
set dummy strip; ac_word=$2
2216
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2217
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2219
echo $ECHO_N "(cached) $ECHO_C" >&6
2221
if test -n "$ac_ct_STRIP"; then
2222
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228
test -z "$as_dir" && as_dir=.
2229
for ac_exec_ext in '' $ac_executable_extensions; do
2230
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231
ac_cv_prog_ac_ct_STRIP="strip"
2232
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2242
if test -n "$ac_ct_STRIP"; then
2243
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2244
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2246
{ echo "$as_me:$LINENO: result: no" >&5
2247
echo "${ECHO_T}no" >&6; }
2250
if test "x$ac_ct_STRIP" = x; then
2253
case $cross_compiling:$ac_tool_warned in
2255
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2256
whose name does not start with the host triplet. If you think this
2257
configuration is useful to you, please write to autoconf@gnu.org." >&5
2258
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2259
whose name does not start with the host triplet. If you think this
2260
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2261
ac_tool_warned=yes ;;
2266
STRIP="$ac_cv_prog_STRIP"
2270
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2272
# We need awk for the "check" target. The system "awk" is bad on
2274
# Always define AMTAR for backward compatibility.
2276
AMTAR=${AMTAR-"${am_missing_run}tar"}
2278
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2284
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2285
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2286
# Check whether --enable-maintainer-mode was given.
2287
if test "${enable_maintainer_mode+set}" = set; then
2288
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2290
USE_MAINTAINER_MODE=no
2293
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2294
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2295
if test $USE_MAINTAINER_MODE = yes; then
2296
MAINTAINER_MODE_TRUE=
2297
MAINTAINER_MODE_FALSE='#'
2299
MAINTAINER_MODE_TRUE='#'
2300
MAINTAINER_MODE_FALSE=
2303
MAINT=$MAINTAINER_MODE_TRUE
2306
ac_config_headers="$ac_config_headers config.h"
2308
ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile src/isight.rules po/Makefile.in"
2312
ac_cpp='$CPP $CPPFLAGS'
2313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2316
if test -n "$ac_tool_prefix"; then
2317
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2318
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2319
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2320
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2321
if test "${ac_cv_prog_CC+set}" = set; then
2322
echo $ECHO_N "(cached) $ECHO_C" >&6
2324
if test -n "$CC"; then
2325
ac_cv_prog_CC="$CC" # Let the user override the test.
2327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331
test -z "$as_dir" && as_dir=.
2332
for ac_exec_ext in '' $ac_executable_extensions; do
2333
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2335
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345
if test -n "$CC"; then
2346
{ echo "$as_me:$LINENO: result: $CC" >&5
2347
echo "${ECHO_T}$CC" >&6; }
2349
{ echo "$as_me:$LINENO: result: no" >&5
2350
echo "${ECHO_T}no" >&6; }
2355
if test -z "$ac_cv_prog_CC"; then
2357
# Extract the first word of "gcc", so it can be a program name with args.
2358
set dummy gcc; ac_word=$2
2359
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2360
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2361
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362
echo $ECHO_N "(cached) $ECHO_C" >&6
2364
if test -n "$ac_ct_CC"; then
2365
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371
test -z "$as_dir" && as_dir=.
2372
for ac_exec_ext in '' $ac_executable_extensions; do
2373
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374
ac_cv_prog_ac_ct_CC="gcc"
2375
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2385
if test -n "$ac_ct_CC"; then
2386
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2387
echo "${ECHO_T}$ac_ct_CC" >&6; }
2389
{ echo "$as_me:$LINENO: result: no" >&5
2390
echo "${ECHO_T}no" >&6; }
2393
if test "x$ac_ct_CC" = x; then
2396
case $cross_compiling:$ac_tool_warned in
2398
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2399
whose name does not start with the host triplet. If you think this
2400
configuration is useful to you, please write to autoconf@gnu.org." >&5
2401
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2402
whose name does not start with the host triplet. If you think this
2403
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2404
ac_tool_warned=yes ;;
2412
if test -z "$CC"; then
2413
if test -n "$ac_tool_prefix"; then
2414
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2415
set dummy ${ac_tool_prefix}cc; ac_word=$2
2416
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2418
if test "${ac_cv_prog_CC+set}" = set; then
2419
echo $ECHO_N "(cached) $ECHO_C" >&6
2421
if test -n "$CC"; then
2422
ac_cv_prog_CC="$CC" # Let the user override the test.
2424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428
test -z "$as_dir" && as_dir=.
2429
for ac_exec_ext in '' $ac_executable_extensions; do
2430
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431
ac_cv_prog_CC="${ac_tool_prefix}cc"
2432
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442
if test -n "$CC"; then
2443
{ echo "$as_me:$LINENO: result: $CC" >&5
2444
echo "${ECHO_T}$CC" >&6; }
2446
{ echo "$as_me:$LINENO: result: no" >&5
2447
echo "${ECHO_T}no" >&6; }
2453
if test -z "$CC"; then
2454
# Extract the first word of "cc", so it can be a program name with args.
2455
set dummy cc; ac_word=$2
2456
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2457
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458
if test "${ac_cv_prog_CC+set}" = set; then
2459
echo $ECHO_N "(cached) $ECHO_C" >&6
2461
if test -n "$CC"; then
2462
ac_cv_prog_CC="$CC" # Let the user override the test.
2465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469
test -z "$as_dir" && as_dir=.
2470
for ac_exec_ext in '' $ac_executable_extensions; do
2471
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2473
ac_prog_rejected=yes
2477
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484
if test $ac_prog_rejected = yes; then
2485
# We found a bogon in the path, so make sure we never use it.
2486
set dummy $ac_cv_prog_CC
2488
if test $# != 0; then
2489
# We chose a different compiler from the bogus one.
2490
# However, it has the same basename, so the bogon will be chosen
2491
# first if we set CC to just the basename; use the full file name.
2493
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2499
if test -n "$CC"; then
2500
{ echo "$as_me:$LINENO: result: $CC" >&5
2501
echo "${ECHO_T}$CC" >&6; }
2503
{ echo "$as_me:$LINENO: result: no" >&5
2504
echo "${ECHO_T}no" >&6; }
2509
if test -z "$CC"; then
2510
if test -n "$ac_tool_prefix"; then
2511
for ac_prog in cl.exe
2513
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2514
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2515
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2516
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2517
if test "${ac_cv_prog_CC+set}" = set; then
2518
echo $ECHO_N "(cached) $ECHO_C" >&6
2520
if test -n "$CC"; then
2521
ac_cv_prog_CC="$CC" # Let the user override the test.
2523
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527
test -z "$as_dir" && as_dir=.
2528
for ac_exec_ext in '' $ac_executable_extensions; do
2529
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2530
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2531
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541
if test -n "$CC"; then
2542
{ echo "$as_me:$LINENO: result: $CC" >&5
2543
echo "${ECHO_T}$CC" >&6; }
2545
{ echo "$as_me:$LINENO: result: no" >&5
2546
echo "${ECHO_T}no" >&6; }
2550
test -n "$CC" && break
2553
if test -z "$CC"; then
2555
for ac_prog in cl.exe
2557
# Extract the first word of "$ac_prog", so it can be a program name with args.
2558
set dummy $ac_prog; ac_word=$2
2559
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2560
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562
echo $ECHO_N "(cached) $ECHO_C" >&6
2564
if test -n "$ac_ct_CC"; then
2565
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2567
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571
test -z "$as_dir" && as_dir=.
2572
for ac_exec_ext in '' $ac_executable_extensions; do
2573
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574
ac_cv_prog_ac_ct_CC="$ac_prog"
2575
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2585
if test -n "$ac_ct_CC"; then
2586
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2587
echo "${ECHO_T}$ac_ct_CC" >&6; }
2589
{ echo "$as_me:$LINENO: result: no" >&5
2590
echo "${ECHO_T}no" >&6; }
2594
test -n "$ac_ct_CC" && break
2597
if test "x$ac_ct_CC" = x; then
2600
case $cross_compiling:$ac_tool_warned in
2602
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2603
whose name does not start with the host triplet. If you think this
2604
configuration is useful to you, please write to autoconf@gnu.org." >&5
2605
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2606
whose name does not start with the host triplet. If you think this
2607
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2608
ac_tool_warned=yes ;;
2617
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2618
See \`config.log' for more details." >&5
2619
echo "$as_me: error: no acceptable C compiler found in \$PATH
2620
See \`config.log' for more details." >&2;}
2621
{ (exit 1); exit 1; }; }
2623
# Provide some information about the compiler.
2624
echo "$as_me:$LINENO: checking for C compiler version" >&5
2625
ac_compiler=`set X $ac_compile; echo $2`
2626
{ (ac_try="$ac_compiler --version >&5"
2628
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629
*) ac_try_echo=$ac_try;;
2631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2632
(eval "$ac_compiler --version >&5") 2>&5
2634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635
(exit $ac_status); }
2636
{ (ac_try="$ac_compiler -v >&5"
2638
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639
*) ac_try_echo=$ac_try;;
2641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2642
(eval "$ac_compiler -v >&5") 2>&5
2644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645
(exit $ac_status); }
2646
{ (ac_try="$ac_compiler -V >&5"
2648
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649
*) ac_try_echo=$ac_try;;
2651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2652
(eval "$ac_compiler -V >&5") 2>&5
2654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655
(exit $ac_status); }
2657
cat >conftest.$ac_ext <<_ACEOF
2660
cat confdefs.h >>conftest.$ac_ext
2661
cat >>conftest.$ac_ext <<_ACEOF
2662
/* end confdefs.h. */
2672
ac_clean_files_save=$ac_clean_files
2673
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2674
# Try to create an executable without -o first, disregard a.out.
2675
# It will help us diagnose broken compilers, and finding out an intuition
2677
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2678
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2679
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2681
# List of possible output files, starting from the most likely.
2682
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2683
# only as a last resort. b.out is created by i960 compilers.
2684
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2686
# The IRIX 6 linker writes into existing files which may not be
2687
# executable, retaining their permissions. Remove them first so a
2688
# subsequent execution test works.
2690
for ac_file in $ac_files
2693
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2694
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2699
if { (ac_try="$ac_link_default"
2701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702
*) ac_try_echo=$ac_try;;
2704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705
(eval "$ac_link_default") 2>&5
2707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708
(exit $ac_status); }; then
2709
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2710
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2711
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2712
# so that the user can short-circuit this test for compilers unknown to
2714
for ac_file in $ac_files ''
2716
test -f "$ac_file" || continue
2718
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2721
# We found the default executable, but exeext='' is most
2725
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2727
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2729
# We set ac_cv_exeext here because the later test for it is not
2730
# safe: cross compilers may not add the suffix if given an `-o'
2731
# argument, so we may need to know it at that point already.
2732
# Even if this section looks crufty: it has the advantage of
2739
test "$ac_cv_exeext" = no && ac_cv_exeext=
2745
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2746
echo "${ECHO_T}$ac_file" >&6; }
2747
if test -z "$ac_file"; then
2748
echo "$as_me: failed program was:" >&5
2749
sed 's/^/| /' conftest.$ac_ext >&5
2751
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2752
See \`config.log' for more details." >&5
2753
echo "$as_me: error: C compiler cannot create executables
2754
See \`config.log' for more details." >&2;}
2755
{ (exit 77); exit 77; }; }
2758
ac_exeext=$ac_cv_exeext
2760
# Check that the compiler produces executables we can run. If not, either
2761
# the compiler is broken, or we cross compile.
2762
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2763
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2764
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2765
# If not cross compiling, check that we can run a simple program.
2766
if test "$cross_compiling" != yes; then
2767
if { ac_try='./$ac_file'
2768
{ (case "(($ac_try" in
2769
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770
*) ac_try_echo=$ac_try;;
2772
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773
(eval "$ac_try") 2>&5
2775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
(exit $ac_status); }; }; then
2779
if test "$cross_compiling" = maybe; then
2782
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2783
If you meant to cross compile, use \`--host'.
2784
See \`config.log' for more details." >&5
2785
echo "$as_me: error: cannot run C compiled programs.
2786
If you meant to cross compile, use \`--host'.
2787
See \`config.log' for more details." >&2;}
2788
{ (exit 1); exit 1; }; }
2792
{ echo "$as_me:$LINENO: result: yes" >&5
2793
echo "${ECHO_T}yes" >&6; }
2795
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2796
ac_clean_files=$ac_clean_files_save
2797
# Check that the compiler produces executables we can run. If not, either
2798
# the compiler is broken, or we cross compile.
2799
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2800
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2801
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2802
echo "${ECHO_T}$cross_compiling" >&6; }
2804
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2805
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2806
if { (ac_try="$ac_link"
2808
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809
*) ac_try_echo=$ac_try;;
2811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812
(eval "$ac_link") 2>&5
2814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815
(exit $ac_status); }; then
2816
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2817
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2818
# work properly (i.e., refer to `conftest.exe'), while it won't with
2820
for ac_file in conftest.exe conftest conftest.*; do
2821
test -f "$ac_file" || continue
2823
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2824
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2830
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2831
See \`config.log' for more details." >&5
2832
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2833
See \`config.log' for more details." >&2;}
2834
{ (exit 1); exit 1; }; }
2837
rm -f conftest$ac_cv_exeext
2838
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2839
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2841
rm -f conftest.$ac_ext
2842
EXEEXT=$ac_cv_exeext
2844
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2845
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2846
if test "${ac_cv_objext+set}" = set; then
2847
echo $ECHO_N "(cached) $ECHO_C" >&6
2849
cat >conftest.$ac_ext <<_ACEOF
2852
cat confdefs.h >>conftest.$ac_ext
2853
cat >>conftest.$ac_ext <<_ACEOF
2854
/* end confdefs.h. */
2864
rm -f conftest.o conftest.obj
2865
if { (ac_try="$ac_compile"
2867
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868
*) ac_try_echo=$ac_try;;
2870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871
(eval "$ac_compile") 2>&5
2873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
(exit $ac_status); }; then
2875
for ac_file in conftest.o conftest.obj conftest.*; do
2876
test -f "$ac_file" || continue;
2878
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2879
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2884
echo "$as_me: failed program was:" >&5
2885
sed 's/^/| /' conftest.$ac_ext >&5
2887
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2888
See \`config.log' for more details." >&5
2889
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2890
See \`config.log' for more details." >&2;}
2891
{ (exit 1); exit 1; }; }
2894
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2896
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2897
echo "${ECHO_T}$ac_cv_objext" >&6; }
2898
OBJEXT=$ac_cv_objext
2900
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2901
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2902
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2903
echo $ECHO_N "(cached) $ECHO_C" >&6
2905
cat >conftest.$ac_ext <<_ACEOF
2908
cat confdefs.h >>conftest.$ac_ext
2909
cat >>conftest.$ac_ext <<_ACEOF
2910
/* end confdefs.h. */
2923
rm -f conftest.$ac_objext
2924
if { (ac_try="$ac_compile"
2926
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927
*) ac_try_echo=$ac_try;;
2929
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930
(eval "$ac_compile") 2>conftest.er1
2932
grep -v '^ *+' conftest.er1 >conftest.err
2934
cat conftest.err >&5
2935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936
(exit $ac_status); } && {
2937
test -z "$ac_c_werror_flag" ||
2938
test ! -s conftest.err
2939
} && test -s conftest.$ac_objext; then
2942
echo "$as_me: failed program was:" >&5
2943
sed 's/^/| /' conftest.$ac_ext >&5
2948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2952
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2953
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2954
GCC=`test $ac_compiler_gnu = yes && echo yes`
2955
ac_test_CFLAGS=${CFLAGS+set}
2956
ac_save_CFLAGS=$CFLAGS
2957
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2958
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2959
if test "${ac_cv_prog_cc_g+set}" = set; then
2960
echo $ECHO_N "(cached) $ECHO_C" >&6
2962
ac_save_c_werror_flag=$ac_c_werror_flag
2963
ac_c_werror_flag=yes
2966
cat >conftest.$ac_ext <<_ACEOF
2969
cat confdefs.h >>conftest.$ac_ext
2970
cat >>conftest.$ac_ext <<_ACEOF
2971
/* end confdefs.h. */
2981
rm -f conftest.$ac_objext
2982
if { (ac_try="$ac_compile"
2984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985
*) ac_try_echo=$ac_try;;
2987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988
(eval "$ac_compile") 2>conftest.er1
2990
grep -v '^ *+' conftest.er1 >conftest.err
2992
cat conftest.err >&5
2993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994
(exit $ac_status); } && {
2995
test -z "$ac_c_werror_flag" ||
2996
test ! -s conftest.err
2997
} && test -s conftest.$ac_objext; then
3000
echo "$as_me: failed program was:" >&5
3001
sed 's/^/| /' conftest.$ac_ext >&5
3004
cat >conftest.$ac_ext <<_ACEOF
3007
cat confdefs.h >>conftest.$ac_ext
3008
cat >>conftest.$ac_ext <<_ACEOF
3009
/* end confdefs.h. */
3019
rm -f conftest.$ac_objext
3020
if { (ac_try="$ac_compile"
3022
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023
*) ac_try_echo=$ac_try;;
3025
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026
(eval "$ac_compile") 2>conftest.er1
3028
grep -v '^ *+' conftest.er1 >conftest.err
3030
cat conftest.err >&5
3031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032
(exit $ac_status); } && {
3033
test -z "$ac_c_werror_flag" ||
3034
test ! -s conftest.err
3035
} && test -s conftest.$ac_objext; then
3038
echo "$as_me: failed program was:" >&5
3039
sed 's/^/| /' conftest.$ac_ext >&5
3041
ac_c_werror_flag=$ac_save_c_werror_flag
3043
cat >conftest.$ac_ext <<_ACEOF
3046
cat confdefs.h >>conftest.$ac_ext
3047
cat >>conftest.$ac_ext <<_ACEOF
3048
/* end confdefs.h. */
3058
rm -f conftest.$ac_objext
3059
if { (ac_try="$ac_compile"
3061
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062
*) ac_try_echo=$ac_try;;
3064
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3065
(eval "$ac_compile") 2>conftest.er1
3067
grep -v '^ *+' conftest.er1 >conftest.err
3069
cat conftest.err >&5
3070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071
(exit $ac_status); } && {
3072
test -z "$ac_c_werror_flag" ||
3073
test ! -s conftest.err
3074
} && test -s conftest.$ac_objext; then
3077
echo "$as_me: failed program was:" >&5
3078
sed 's/^/| /' conftest.$ac_ext >&5
3083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090
ac_c_werror_flag=$ac_save_c_werror_flag
3092
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3093
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3094
if test "$ac_test_CFLAGS" = set; then
3095
CFLAGS=$ac_save_CFLAGS
3096
elif test $ac_cv_prog_cc_g = yes; then
3097
if test "$GCC" = yes; then
3103
if test "$GCC" = yes; then
3109
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3110
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3111
if test "${ac_cv_prog_cc_c89+set}" = set; then
3112
echo $ECHO_N "(cached) $ECHO_C" >&6
3114
ac_cv_prog_cc_c89=no
3116
cat >conftest.$ac_ext <<_ACEOF
3119
cat confdefs.h >>conftest.$ac_ext
3120
cat >>conftest.$ac_ext <<_ACEOF
3121
/* end confdefs.h. */
3124
#include <sys/types.h>
3125
#include <sys/stat.h>
3126
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3127
struct buf { int x; };
3128
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3129
static char *e (p, i)
3135
static char *f (char * (*g) (char **, int), char **p, ...)
3140
s = g (p, va_arg (v,int));
3145
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3146
function prototypes and stuff, but not '\xHH' hex character constants.
3147
These don't provoke an error unfortunately, instead are silently treated
3148
as 'x'. The following induces an error, until -std is added to get
3149
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3150
array size at least. It's necessary to write '\x00'==0 to get something
3151
that's true only with -std. */
3152
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3154
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3155
inside strings and character constants. */
3157
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3159
int test (int i, double x);
3160
struct s1 {int (*f) (int a);};
3161
struct s2 {int (*f) (double a);};
3162
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3168
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3173
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3174
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3176
CC="$ac_save_CC $ac_arg"
3177
rm -f conftest.$ac_objext
3178
if { (ac_try="$ac_compile"
3180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181
*) ac_try_echo=$ac_try;;
3183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3184
(eval "$ac_compile") 2>conftest.er1
3186
grep -v '^ *+' conftest.er1 >conftest.err
3188
cat conftest.err >&5
3189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190
(exit $ac_status); } && {
3191
test -z "$ac_c_werror_flag" ||
3192
test ! -s conftest.err
3193
} && test -s conftest.$ac_objext; then
3194
ac_cv_prog_cc_c89=$ac_arg
3196
echo "$as_me: failed program was:" >&5
3197
sed 's/^/| /' conftest.$ac_ext >&5
3202
rm -f core conftest.err conftest.$ac_objext
3203
test "x$ac_cv_prog_cc_c89" != "xno" && break
3205
rm -f conftest.$ac_ext
3210
case "x$ac_cv_prog_cc_c89" in
3212
{ echo "$as_me:$LINENO: result: none needed" >&5
3213
echo "${ECHO_T}none needed" >&6; } ;;
3215
{ echo "$as_me:$LINENO: result: unsupported" >&5
3216
echo "${ECHO_T}unsupported" >&6; } ;;
3218
CC="$CC $ac_cv_prog_cc_c89"
3219
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3220
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3225
ac_cpp='$CPP $CPPFLAGS'
3226
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3229
DEPDIR="${am__leading_dot}deps"
3231
ac_config_commands="$ac_config_commands depfiles"
3234
am_make=${MAKE-make}
3235
cat > confinc << 'END'
3240
# If we don't find an include directive, just comment out the code.
3241
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3242
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3246
# First try GNU make style include.
3247
echo "include confinc" > confmf
3248
# We grep out `Entering directory' and `Leaving directory'
3249
# messages which can occur if `w' ends up in MAKEFLAGS.
3250
# In particular we don't look at `^make:' because GNU make might
3251
# be invoked under some other name (usually "gmake"), in which
3252
# case it prints its new name instead of `make'.
3253
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3258
# Now try BSD make style include.
3259
if test "$am__include" = "#"; then
3260
echo '.include "confinc"' > confmf
3261
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3262
am__include=.include
3269
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3270
echo "${ECHO_T}$_am_result" >&6; }
3271
rm -f confinc confmf
3273
# Check whether --enable-dependency-tracking was given.
3274
if test "${enable_dependency_tracking+set}" = set; then
3275
enableval=$enable_dependency_tracking;
3278
if test "x$enable_dependency_tracking" != xno; then
3279
am_depcomp="$ac_aux_dir/depcomp"
3282
if test "x$enable_dependency_tracking" != xno; then
3292
depcc="$CC" am_compiler_list=
3294
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3295
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3296
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3297
echo $ECHO_N "(cached) $ECHO_C" >&6
3299
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3300
# We make a subdir and do the tests there. Otherwise we can end up
3301
# making bogus files that we don't know about and never remove. For
3302
# instance it was reported that on HP-UX the gcc test will end up
3303
# making a dummy file named `D' -- because `-MD' means `put the output
3306
# Copy depcomp to subdir because otherwise we won't find it if we're
3307
# using a relative directory.
3308
cp "$am_depcomp" conftest.dir
3310
# We will build objects and dependencies in a subdirectory because
3311
# it helps to detect inapplicable dependency modes. For instance
3312
# both Tru64's cc and ICC support -MD to output dependencies as a
3313
# side effect of compilation, but ICC will put the dependencies in
3314
# the current directory while Tru64 will put them in the object
3318
am_cv_CC_dependencies_compiler_type=none
3319
if test "$am_compiler_list" = ""; then
3320
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3322
for depmode in $am_compiler_list; do
3323
# Setup a source with many dependencies, because some compilers
3324
# like to wrap large dependency lists on column 80 (with \), and
3325
# we should not choose a depcomp mode which is confused by this.
3327
# We need to recreate these files for each test, as the compiler may
3328
# overwrite some of them when testing with obscure command lines.
3329
# This happens at least with the AIX C compiler.
3331
for i in 1 2 3 4 5 6; do
3332
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3333
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3334
# Solaris 8's {/usr,}/bin/sh.
3335
touch sub/conftst$i.h
3337
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3341
# after this tag, mechanisms are not by side-effect, so they'll
3342
# only be used when explicitly requested
3343
if test "x$enable_dependency_tracking" = xyes; then
3351
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3352
# mode. It turns out that the SunPro C++ compiler does not properly
3353
# handle `-M -o', and we need to detect this.
3354
if depmode=$depmode \
3355
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3356
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3357
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3358
>/dev/null 2>conftest.err &&
3359
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3360
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3361
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3362
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3363
# icc doesn't choke on unknown options, it will just issue warnings
3364
# or remarks (even with -Werror). So we grep stderr for any message
3365
# that says an option was ignored or not supported.
3366
# When given -MP, icc 7.0 and 7.1 complain thusly:
3367
# icc: Command line warning: ignoring option '-M'; no argument required
3368
# The diagnosis changed in icc 8.0:
3369
# icc: Command line remark: option '-MP' not supported
3370
if (grep 'ignoring option' conftest.err ||
3371
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3372
am_cv_CC_dependencies_compiler_type=$depmode
3381
am_cv_CC_dependencies_compiler_type=none
3385
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3386
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3387
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3390
test "x$enable_dependency_tracking" != xno \
3391
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3393
am__fastdepCC_FALSE='#'
3395
am__fastdepCC_TRUE='#'
3396
am__fastdepCC_FALSE=
3400
if test "x$CC" != xcc; then
3401
{ echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3402
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3404
{ echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3405
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3407
set dummy $CC; ac_cc=`echo $2 |
3408
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3409
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3410
echo $ECHO_N "(cached) $ECHO_C" >&6
3412
cat >conftest.$ac_ext <<_ACEOF
3415
cat confdefs.h >>conftest.$ac_ext
3416
cat >>conftest.$ac_ext <<_ACEOF
3417
/* end confdefs.h. */
3427
# Make sure it works both with $CC and with simple cc.
3428
# We do the test twice because some compilers refuse to overwrite an
3429
# existing .o file with -o, though they will create one.
3430
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3432
if { (case "(($ac_try" in
3433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434
*) ac_try_echo=$ac_try;;
3436
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3437
(eval "$ac_try") 2>&5
3439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440
(exit $ac_status); } &&
3441
test -f conftest2.$ac_objext && { (case "(($ac_try" in
3442
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443
*) ac_try_echo=$ac_try;;
3445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446
(eval "$ac_try") 2>&5
3448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449
(exit $ac_status); };
3451
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3452
if test "x$CC" != xcc; then
3453
# Test first that cc exists at all.
3454
if { ac_try='cc -c conftest.$ac_ext >&5'
3455
{ (case "(($ac_try" in
3456
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457
*) ac_try_echo=$ac_try;;
3459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3460
(eval "$ac_try") 2>&5
3462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
(exit $ac_status); }; }; then
3464
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3466
if { (case "(($ac_try" in
3467
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468
*) ac_try_echo=$ac_try;;
3470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3471
(eval "$ac_try") 2>&5
3473
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474
(exit $ac_status); } &&
3475
test -f conftest2.$ac_objext && { (case "(($ac_try" in
3476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
*) ac_try_echo=$ac_try;;
3479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480
(eval "$ac_try") 2>&5
3482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
(exit $ac_status); };
3488
# cc exists but doesn't like -o.
3489
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3494
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3496
rm -f core conftest*
3499
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3500
{ echo "$as_me:$LINENO: result: yes" >&5
3501
echo "${ECHO_T}yes" >&6; }
3503
{ echo "$as_me:$LINENO: result: no" >&5
3504
echo "${ECHO_T}no" >&6; }
3506
cat >>confdefs.h <<\_ACEOF
3507
#define NO_MINUS_C_MINUS_O 1
3512
# FIXME: we rely on the cache variable name because
3513
# there is no other way.
3515
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3516
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3517
# Losing compiler, so override with the script.
3518
# FIXME: It is wrong to rewrite CC.
3519
# But if we don't then we get into trouble of one sort or another.
3520
# A longer-term fix would be to have automake use am__CC in this case,
3521
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3522
CC="$am_aux_dir/compile $CC"
3529
ac_cpp='$CPP $CPPFLAGS'
3530
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3533
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3534
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3535
# On Suns, sometimes $CPP names a directory.
3536
if test -n "$CPP" && test -d "$CPP"; then
3539
if test -z "$CPP"; then
3540
if test "${ac_cv_prog_CPP+set}" = set; then
3541
echo $ECHO_N "(cached) $ECHO_C" >&6
3543
# Double quotes because CPP needs to be expanded
3544
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3547
for ac_c_preproc_warn_flag in '' yes
3549
# Use a header file that comes with gcc, so configuring glibc
3550
# with a fresh cross-compiler works.
3551
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3552
# <limits.h> exists even on freestanding compilers.
3553
# On the NeXT, cc -E runs the code through the compiler's parser,
3554
# not just through cpp. "Syntax error" is here to catch this case.
3555
cat >conftest.$ac_ext <<_ACEOF
3558
cat confdefs.h >>conftest.$ac_ext
3559
cat >>conftest.$ac_ext <<_ACEOF
3560
/* end confdefs.h. */
3562
# include <limits.h>
3564
# include <assert.h>
3568
if { (ac_try="$ac_cpp conftest.$ac_ext"
3570
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571
*) ac_try_echo=$ac_try;;
3573
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3576
grep -v '^ *+' conftest.er1 >conftest.err
3578
cat conftest.err >&5
3579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
(exit $ac_status); } >/dev/null && {
3581
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3582
test ! -s conftest.err
3586
echo "$as_me: failed program was:" >&5
3587
sed 's/^/| /' conftest.$ac_ext >&5
3589
# Broken: fails on valid input.
3593
rm -f conftest.err conftest.$ac_ext
3595
# OK, works on sane cases. Now check whether nonexistent headers
3596
# can be detected and how.
3597
cat >conftest.$ac_ext <<_ACEOF
3600
cat confdefs.h >>conftest.$ac_ext
3601
cat >>conftest.$ac_ext <<_ACEOF
3602
/* end confdefs.h. */
3603
#include <ac_nonexistent.h>
3605
if { (ac_try="$ac_cpp conftest.$ac_ext"
3607
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608
*) ac_try_echo=$ac_try;;
3610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3611
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3613
grep -v '^ *+' conftest.er1 >conftest.err
3615
cat conftest.err >&5
3616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
(exit $ac_status); } >/dev/null && {
3618
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3619
test ! -s conftest.err
3621
# Broken: success on invalid input.
3624
echo "$as_me: failed program was:" >&5
3625
sed 's/^/| /' conftest.$ac_ext >&5
3627
# Passes both tests.
3632
rm -f conftest.err conftest.$ac_ext
3635
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3636
rm -f conftest.err conftest.$ac_ext
3637
if $ac_preproc_ok; then
3649
{ echo "$as_me:$LINENO: result: $CPP" >&5
3650
echo "${ECHO_T}$CPP" >&6; }
3652
for ac_c_preproc_warn_flag in '' yes
3654
# Use a header file that comes with gcc, so configuring glibc
3655
# with a fresh cross-compiler works.
3656
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3657
# <limits.h> exists even on freestanding compilers.
3658
# On the NeXT, cc -E runs the code through the compiler's parser,
3659
# not just through cpp. "Syntax error" is here to catch this case.
3660
cat >conftest.$ac_ext <<_ACEOF
3663
cat confdefs.h >>conftest.$ac_ext
3664
cat >>conftest.$ac_ext <<_ACEOF
3665
/* end confdefs.h. */
3667
# include <limits.h>
3669
# include <assert.h>
3673
if { (ac_try="$ac_cpp conftest.$ac_ext"
3675
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676
*) ac_try_echo=$ac_try;;
3678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3679
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3681
grep -v '^ *+' conftest.er1 >conftest.err
3683
cat conftest.err >&5
3684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685
(exit $ac_status); } >/dev/null && {
3686
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3687
test ! -s conftest.err
3691
echo "$as_me: failed program was:" >&5
3692
sed 's/^/| /' conftest.$ac_ext >&5
3694
# Broken: fails on valid input.
3698
rm -f conftest.err conftest.$ac_ext
3700
# OK, works on sane cases. Now check whether nonexistent headers
3701
# can be detected and how.
3702
cat >conftest.$ac_ext <<_ACEOF
3705
cat confdefs.h >>conftest.$ac_ext
3706
cat >>conftest.$ac_ext <<_ACEOF
3707
/* end confdefs.h. */
3708
#include <ac_nonexistent.h>
3710
if { (ac_try="$ac_cpp conftest.$ac_ext"
3712
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713
*) ac_try_echo=$ac_try;;
3715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3718
grep -v '^ *+' conftest.er1 >conftest.err
3720
cat conftest.err >&5
3721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722
(exit $ac_status); } >/dev/null && {
3723
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3724
test ! -s conftest.err
3726
# Broken: success on invalid input.
3729
echo "$as_me: failed program was:" >&5
3730
sed 's/^/| /' conftest.$ac_ext >&5
3732
# Passes both tests.
3737
rm -f conftest.err conftest.$ac_ext
3740
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3741
rm -f conftest.err conftest.$ac_ext
3742
if $ac_preproc_ok; then
3745
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3746
See \`config.log' for more details." >&5
3747
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3748
See \`config.log' for more details." >&2;}
3749
{ (exit 1); exit 1; }; }
3753
ac_cpp='$CPP $CPPFLAGS'
3754
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3755
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3756
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3759
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3760
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3761
if test "${ac_cv_path_GREP+set}" = set; then
3762
echo $ECHO_N "(cached) $ECHO_C" >&6
3764
# Extract the first word of "grep ggrep" to use in msg output
3765
if test -z "$GREP"; then
3766
set dummy grep ggrep; ac_prog_name=$2
3767
if test "${ac_cv_path_GREP+set}" = set; then
3768
echo $ECHO_N "(cached) $ECHO_C" >&6
3770
ac_path_GREP_found=false
3771
# Loop through the user's path and test for each of PROGNAME-LIST
3772
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3776
test -z "$as_dir" && as_dir=.
3777
for ac_prog in grep ggrep; do
3778
for ac_exec_ext in '' $ac_executable_extensions; do
3779
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3780
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3781
# Check for GNU ac_path_GREP and select it if it is found.
3782
# Check for GNU $ac_path_GREP
3783
case `"$ac_path_GREP" --version 2>&1` in
3785
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3788
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3791
cat "conftest.in" "conftest.in" >"conftest.tmp"
3792
mv "conftest.tmp" "conftest.in"
3793
cp "conftest.in" "conftest.nl"
3794
echo 'GREP' >> "conftest.nl"
3795
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3796
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3797
ac_count=`expr $ac_count + 1`
3798
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3799
# Best one so far, save it but keep looking for a better one
3800
ac_cv_path_GREP="$ac_path_GREP"
3801
ac_path_GREP_max=$ac_count
3803
# 10*(2^10) chars as input seems more than enough
3804
test $ac_count -gt 10 && break
3806
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3810
$ac_path_GREP_found && break 3
3820
GREP="$ac_cv_path_GREP"
3821
if test -z "$GREP"; then
3822
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3823
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3824
{ (exit 1); exit 1; }; }
3828
ac_cv_path_GREP=$GREP
3833
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3834
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3835
GREP="$ac_cv_path_GREP"
3838
{ echo "$as_me:$LINENO: checking for egrep" >&5
3839
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3840
if test "${ac_cv_path_EGREP+set}" = set; then
3841
echo $ECHO_N "(cached) $ECHO_C" >&6
3843
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3844
then ac_cv_path_EGREP="$GREP -E"
3846
# Extract the first word of "egrep" to use in msg output
3847
if test -z "$EGREP"; then
3848
set dummy egrep; ac_prog_name=$2
3849
if test "${ac_cv_path_EGREP+set}" = set; then
3850
echo $ECHO_N "(cached) $ECHO_C" >&6
3852
ac_path_EGREP_found=false
3853
# Loop through the user's path and test for each of PROGNAME-LIST
3854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3858
test -z "$as_dir" && as_dir=.
3859
for ac_prog in egrep; do
3860
for ac_exec_ext in '' $ac_executable_extensions; do
3861
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3862
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3863
# Check for GNU ac_path_EGREP and select it if it is found.
3864
# Check for GNU $ac_path_EGREP
3865
case `"$ac_path_EGREP" --version 2>&1` in
3867
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3870
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3873
cat "conftest.in" "conftest.in" >"conftest.tmp"
3874
mv "conftest.tmp" "conftest.in"
3875
cp "conftest.in" "conftest.nl"
3876
echo 'EGREP' >> "conftest.nl"
3877
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3878
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3879
ac_count=`expr $ac_count + 1`
3880
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3881
# Best one so far, save it but keep looking for a better one
3882
ac_cv_path_EGREP="$ac_path_EGREP"
3883
ac_path_EGREP_max=$ac_count
3885
# 10*(2^10) chars as input seems more than enough
3886
test $ac_count -gt 10 && break
3888
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3892
$ac_path_EGREP_found && break 3
3902
EGREP="$ac_cv_path_EGREP"
3903
if test -z "$EGREP"; then
3904
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3905
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3906
{ (exit 1); exit 1; }; }
3910
ac_cv_path_EGREP=$EGREP
3916
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3917
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3918
EGREP="$ac_cv_path_EGREP"
3921
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3922
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3923
if test "${ac_cv_header_stdc+set}" = set; then
3924
echo $ECHO_N "(cached) $ECHO_C" >&6
3926
cat >conftest.$ac_ext <<_ACEOF
3929
cat confdefs.h >>conftest.$ac_ext
3930
cat >>conftest.$ac_ext <<_ACEOF
3931
/* end confdefs.h. */
3945
rm -f conftest.$ac_objext
3946
if { (ac_try="$ac_compile"
3948
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949
*) ac_try_echo=$ac_try;;
3951
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952
(eval "$ac_compile") 2>conftest.er1
3954
grep -v '^ *+' conftest.er1 >conftest.err
3956
cat conftest.err >&5
3957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958
(exit $ac_status); } && {
3959
test -z "$ac_c_werror_flag" ||
3960
test ! -s conftest.err
3961
} && test -s conftest.$ac_objext; then
3962
ac_cv_header_stdc=yes
3964
echo "$as_me: failed program was:" >&5
3965
sed 's/^/| /' conftest.$ac_ext >&5
3967
ac_cv_header_stdc=no
3970
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972
if test $ac_cv_header_stdc = yes; then
3973
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3974
cat >conftest.$ac_ext <<_ACEOF
3977
cat confdefs.h >>conftest.$ac_ext
3978
cat >>conftest.$ac_ext <<_ACEOF
3979
/* end confdefs.h. */
3983
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3984
$EGREP "memchr" >/dev/null 2>&1; then
3987
ac_cv_header_stdc=no
3993
if test $ac_cv_header_stdc = yes; then
3994
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3995
cat >conftest.$ac_ext <<_ACEOF
3998
cat confdefs.h >>conftest.$ac_ext
3999
cat >>conftest.$ac_ext <<_ACEOF
4000
/* end confdefs.h. */
4004
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4005
$EGREP "free" >/dev/null 2>&1; then
4008
ac_cv_header_stdc=no
4014
if test $ac_cv_header_stdc = yes; then
4015
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4016
if test "$cross_compiling" = yes; then
4019
cat >conftest.$ac_ext <<_ACEOF
4022
cat confdefs.h >>conftest.$ac_ext
4023
cat >>conftest.$ac_ext <<_ACEOF
4024
/* end confdefs.h. */
4027
#if ((' ' & 0x0FF) == 0x020)
4028
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4029
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4031
# define ISLOWER(c) \
4032
(('a' <= (c) && (c) <= 'i') \
4033
|| ('j' <= (c) && (c) <= 'r') \
4034
|| ('s' <= (c) && (c) <= 'z'))
4035
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4038
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4043
for (i = 0; i < 256; i++)
4044
if (XOR (islower (i), ISLOWER (i))
4045
|| toupper (i) != TOUPPER (i))
4050
rm -f conftest$ac_exeext
4051
if { (ac_try="$ac_link"
4053
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054
*) ac_try_echo=$ac_try;;
4056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4057
(eval "$ac_link") 2>&5
4059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4061
{ (case "(($ac_try" in
4062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063
*) ac_try_echo=$ac_try;;
4065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066
(eval "$ac_try") 2>&5
4068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069
(exit $ac_status); }; }; then
4072
echo "$as_me: program exited with status $ac_status" >&5
4073
echo "$as_me: failed program was:" >&5
4074
sed 's/^/| /' conftest.$ac_ext >&5
4077
ac_cv_header_stdc=no
4079
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4085
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4086
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4087
if test $ac_cv_header_stdc = yes; then
4089
cat >>confdefs.h <<\_ACEOF
4090
#define STDC_HEADERS 1
4095
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4105
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4106
inttypes.h stdint.h unistd.h
4108
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4110
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4111
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4112
echo $ECHO_N "(cached) $ECHO_C" >&6
4114
cat >conftest.$ac_ext <<_ACEOF
4117
cat confdefs.h >>conftest.$ac_ext
4118
cat >>conftest.$ac_ext <<_ACEOF
4119
/* end confdefs.h. */
4120
$ac_includes_default
4122
#include <$ac_header>
4124
rm -f conftest.$ac_objext
4125
if { (ac_try="$ac_compile"
4127
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128
*) ac_try_echo=$ac_try;;
4130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131
(eval "$ac_compile") 2>conftest.er1
4133
grep -v '^ *+' conftest.er1 >conftest.err
4135
cat conftest.err >&5
4136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137
(exit $ac_status); } && {
4138
test -z "$ac_c_werror_flag" ||
4139
test ! -s conftest.err
4140
} && test -s conftest.$ac_objext; then
4141
eval "$as_ac_Header=yes"
4143
echo "$as_me: failed program was:" >&5
4144
sed 's/^/| /' conftest.$ac_ext >&5
4146
eval "$as_ac_Header=no"
4149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151
ac_res=`eval echo '${'$as_ac_Header'}'`
4152
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4153
echo "${ECHO_T}$ac_res" >&6; }
4154
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4155
cat >>confdefs.h <<_ACEOF
4156
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4165
for ac_header in gcrypt.h
4167
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4168
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4169
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4170
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4171
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4172
echo $ECHO_N "(cached) $ECHO_C" >&6
4174
ac_res=`eval echo '${'$as_ac_Header'}'`
4175
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4176
echo "${ECHO_T}$ac_res" >&6; }
4178
# Is the header compilable?
4179
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4180
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4181
cat >conftest.$ac_ext <<_ACEOF
4184
cat confdefs.h >>conftest.$ac_ext
4185
cat >>conftest.$ac_ext <<_ACEOF
4186
/* end confdefs.h. */
4187
$ac_includes_default
4188
#include <$ac_header>
4190
rm -f conftest.$ac_objext
4191
if { (ac_try="$ac_compile"
4193
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194
*) ac_try_echo=$ac_try;;
4196
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197
(eval "$ac_compile") 2>conftest.er1
4199
grep -v '^ *+' conftest.er1 >conftest.err
4201
cat conftest.err >&5
4202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203
(exit $ac_status); } && {
4204
test -z "$ac_c_werror_flag" ||
4205
test ! -s conftest.err
4206
} && test -s conftest.$ac_objext; then
4207
ac_header_compiler=yes
4209
echo "$as_me: failed program was:" >&5
4210
sed 's/^/| /' conftest.$ac_ext >&5
4212
ac_header_compiler=no
4215
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4217
echo "${ECHO_T}$ac_header_compiler" >&6; }
4219
# Is the header present?
4220
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4221
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4222
cat >conftest.$ac_ext <<_ACEOF
4225
cat confdefs.h >>conftest.$ac_ext
4226
cat >>conftest.$ac_ext <<_ACEOF
4227
/* end confdefs.h. */
4228
#include <$ac_header>
4230
if { (ac_try="$ac_cpp conftest.$ac_ext"
4232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4233
*) ac_try_echo=$ac_try;;
4235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4236
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4238
grep -v '^ *+' conftest.er1 >conftest.err
4240
cat conftest.err >&5
4241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242
(exit $ac_status); } >/dev/null && {
4243
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4244
test ! -s conftest.err
4246
ac_header_preproc=yes
4248
echo "$as_me: failed program was:" >&5
4249
sed 's/^/| /' conftest.$ac_ext >&5
4251
ac_header_preproc=no
4254
rm -f conftest.err conftest.$ac_ext
4255
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4256
echo "${ECHO_T}$ac_header_preproc" >&6; }
4258
# So? What about this header?
4259
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4261
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4262
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4263
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4264
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4265
ac_header_preproc=yes
4268
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4269
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4270
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4271
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4272
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4273
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4274
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4275
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4276
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4277
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4278
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4279
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4281
## ------------------------------------------------------------------------ ##
4282
## Report this to https://bugs.launchpad.net/isight-firmware-tools/+filebug ##
4283
## ------------------------------------------------------------------------ ##
4285
) | sed "s/^/$as_me: WARNING: /" >&2
4288
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4289
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4290
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4291
echo $ECHO_N "(cached) $ECHO_C" >&6
4293
eval "$as_ac_Header=\$ac_header_preproc"
4295
ac_res=`eval echo '${'$as_ac_Header'}'`
4296
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4297
echo "${ECHO_T}$ac_res" >&6; }
4300
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4301
cat >>confdefs.h <<_ACEOF
4302
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4306
{ { echo "$as_me:$LINENO: error: libgcrypt not found" >&5
4307
echo "$as_me: error: libgcrypt not found" >&2;}
4308
{ (exit 1); exit 1; }; }
4313
# Extract the first word of "makeinfo", so it can be a program name with args.
4314
set dummy makeinfo; ac_word=$2
4315
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4316
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4317
if test "${ac_cv_prog_MAKEINFO+set}" = set; then
4318
echo $ECHO_N "(cached) $ECHO_C" >&6
4320
if test -n "$MAKEINFO"; then
4321
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327
test -z "$as_dir" && as_dir=.
4328
for ac_exec_ext in '' $ac_executable_extensions; do
4329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330
ac_cv_prog_MAKEINFO="makeinfo"
4331
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4340
MAKEINFO=$ac_cv_prog_MAKEINFO
4341
if test -n "$MAKEINFO"; then
4342
{ echo "$as_me:$LINENO: result: $MAKEINFO" >&5
4343
echo "${ECHO_T}$MAKEINFO" >&6; }
4345
{ echo "$as_me:$LINENO: result: no" >&5
4346
echo "${ECHO_T}no" >&6; }
4353
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4354
if test -n "$ac_tool_prefix"; then
4355
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4356
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4357
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4359
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4360
echo $ECHO_N "(cached) $ECHO_C" >&6
4364
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371
test -z "$as_dir" && as_dir=.
4372
for ac_exec_ext in '' $ac_executable_extensions; do
4373
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4375
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4386
if test -n "$PKG_CONFIG"; then
4387
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4388
echo "${ECHO_T}$PKG_CONFIG" >&6; }
4390
{ echo "$as_me:$LINENO: result: no" >&5
4391
echo "${ECHO_T}no" >&6; }
4396
if test -z "$ac_cv_path_PKG_CONFIG"; then
4397
ac_pt_PKG_CONFIG=$PKG_CONFIG
4398
# Extract the first word of "pkg-config", so it can be a program name with args.
4399
set dummy pkg-config; ac_word=$2
4400
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4401
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4402
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4403
echo $ECHO_N "(cached) $ECHO_C" >&6
4405
case $ac_pt_PKG_CONFIG in
4407
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4410
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414
test -z "$as_dir" && as_dir=.
4415
for ac_exec_ext in '' $ac_executable_extensions; do
4416
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4418
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4428
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4429
if test -n "$ac_pt_PKG_CONFIG"; then
4430
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4431
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4433
{ echo "$as_me:$LINENO: result: no" >&5
4434
echo "${ECHO_T}no" >&6; }
4437
if test "x$ac_pt_PKG_CONFIG" = x; then
4440
case $cross_compiling:$ac_tool_warned in
4442
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4443
whose name does not start with the host triplet. If you think this
4444
configuration is useful to you, please write to autoconf@gnu.org." >&5
4445
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4446
whose name does not start with the host triplet. If you think this
4447
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4448
ac_tool_warned=yes ;;
4450
PKG_CONFIG=$ac_pt_PKG_CONFIG
4453
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4457
if test -n "$PKG_CONFIG"; then
4458
_pkg_min_version=0.9.0
4459
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4460
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4461
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4462
{ echo "$as_me:$LINENO: result: yes" >&5
4463
echo "${ECHO_T}yes" >&6; }
4465
{ echo "$as_me:$LINENO: result: no" >&5
4466
echo "${ECHO_T}no" >&6; }
4473
{ echo "$as_me:$LINENO: checking for IFT" >&5
4474
echo $ECHO_N "checking for IFT... $ECHO_C" >&6; }
4476
if test -n "$PKG_CONFIG"; then
4477
if test -n "$IFT_CFLAGS"; then
4478
pkg_cv_IFT_CFLAGS="$IFT_CFLAGS"
4480
if test -n "$PKG_CONFIG" && \
4481
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
4482
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485
(exit $ac_status); }; then
4486
pkg_cv_IFT_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
4494
if test -n "$PKG_CONFIG"; then
4495
if test -n "$IFT_LIBS"; then
4496
pkg_cv_IFT_LIBS="$IFT_LIBS"
4498
if test -n "$PKG_CONFIG" && \
4499
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
4500
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503
(exit $ac_status); }; then
4504
pkg_cv_IFT_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
4515
if test $pkg_failed = yes; then
4517
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4518
_pkg_short_errors_supported=yes
4520
_pkg_short_errors_supported=no
4522
if test $_pkg_short_errors_supported = yes; then
4523
IFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
4525
IFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
4527
# Put the nasty error message in config.log where it belongs
4528
echo "$IFT_PKG_ERRORS" >&5
4530
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
4534
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4535
installed software in a non-standard prefix.
4537
Alternatively, you may set the environment variables IFT_CFLAGS
4538
and IFT_LIBS to avoid the need to call pkg-config.
4539
See the pkg-config man page for more details.
4541
echo "$as_me: error: Package requirements (glib-2.0) were not met:
4545
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4546
installed software in a non-standard prefix.
4548
Alternatively, you may set the environment variables IFT_CFLAGS
4549
and IFT_LIBS to avoid the need to call pkg-config.
4550
See the pkg-config man page for more details.
4552
{ (exit 1); exit 1; }; }
4553
elif test $pkg_failed = untried; then
4554
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4555
is in your PATH or set the PKG_CONFIG environment variable to the full
4558
Alternatively, you may set the environment variables IFT_CFLAGS
4559
and IFT_LIBS to avoid the need to call pkg-config.
4560
See the pkg-config man page for more details.
4562
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4563
See \`config.log' for more details." >&5
4564
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4565
is in your PATH or set the PKG_CONFIG environment variable to the full
4568
Alternatively, you may set the environment variables IFT_CFLAGS
4569
and IFT_LIBS to avoid the need to call pkg-config.
4570
See the pkg-config man page for more details.
4572
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4573
See \`config.log' for more details." >&2;}
4574
{ (exit 1); exit 1; }; }
4576
IFT_CFLAGS=$pkg_cv_IFT_CFLAGS
4577
IFT_LIBS=$pkg_cv_IFT_LIBS
4578
{ echo "$as_me:$LINENO: result: yes" >&5
4579
echo "${ECHO_T}yes" >&6; }
4587
{ echo "$as_me:$LINENO: checking for LOAD" >&5
4588
echo $ECHO_N "checking for LOAD... $ECHO_C" >&6; }
4590
if test -n "$PKG_CONFIG"; then
4591
if test -n "$LOAD_CFLAGS"; then
4592
pkg_cv_LOAD_CFLAGS="$LOAD_CFLAGS"
4594
if test -n "$PKG_CONFIG" && \
4595
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
4596
($PKG_CONFIG --exists --print-errors "libusb") 2>&5
4598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
(exit $ac_status); }; then
4600
pkg_cv_LOAD_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
4608
if test -n "$PKG_CONFIG"; then
4609
if test -n "$LOAD_LIBS"; then
4610
pkg_cv_LOAD_LIBS="$LOAD_LIBS"
4612
if test -n "$PKG_CONFIG" && \
4613
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
4614
($PKG_CONFIG --exists --print-errors "libusb") 2>&5
4616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617
(exit $ac_status); }; then
4618
pkg_cv_LOAD_LIBS=`$PKG_CONFIG --libs "libusb" 2>/dev/null`
4629
if test $pkg_failed = yes; then
4631
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4632
_pkg_short_errors_supported=yes
4634
_pkg_short_errors_supported=no
4636
if test $_pkg_short_errors_supported = yes; then
4637
LOAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
4639
LOAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
4641
# Put the nasty error message in config.log where it belongs
4642
echo "$LOAD_PKG_ERRORS" >&5
4644
{ { echo "$as_me:$LINENO: error: Package requirements (libusb) were not met:
4648
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4649
installed software in a non-standard prefix.
4651
Alternatively, you may set the environment variables LOAD_CFLAGS
4652
and LOAD_LIBS to avoid the need to call pkg-config.
4653
See the pkg-config man page for more details.
4655
echo "$as_me: error: Package requirements (libusb) were not met:
4659
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4660
installed software in a non-standard prefix.
4662
Alternatively, you may set the environment variables LOAD_CFLAGS
4663
and LOAD_LIBS to avoid the need to call pkg-config.
4664
See the pkg-config man page for more details.
4666
{ (exit 1); exit 1; }; }
4667
elif test $pkg_failed = untried; then
4668
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4669
is in your PATH or set the PKG_CONFIG environment variable to the full
4672
Alternatively, you may set the environment variables LOAD_CFLAGS
4673
and LOAD_LIBS to avoid the need to call pkg-config.
4674
See the pkg-config man page for more details.
4676
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4677
See \`config.log' for more details." >&5
4678
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4679
is in your PATH or set the PKG_CONFIG environment variable to the full
4682
Alternatively, you may set the environment variables LOAD_CFLAGS
4683
and LOAD_LIBS to avoid the need to call pkg-config.
4684
See the pkg-config man page for more details.
4686
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4687
See \`config.log' for more details." >&2;}
4688
{ (exit 1); exit 1; }; }
4690
LOAD_CFLAGS=$pkg_cv_LOAD_CFLAGS
4691
LOAD_LIBS=$pkg_cv_LOAD_LIBS
4692
{ echo "$as_me:$LINENO: result: yes" >&5
4693
echo "${ECHO_T}yes" >&6; }
4701
{ echo "$as_me:$LINENO: checking for HAL" >&5
4702
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
4704
if test -n "$PKG_CONFIG"; then
4705
if test -n "$HAL_CFLAGS"; then
4706
pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
4708
if test -n "$PKG_CONFIG" && \
4709
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
4710
($PKG_CONFIG --exists --print-errors "hal") 2>&5
4712
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713
(exit $ac_status); }; then
4714
pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
4722
if test -n "$PKG_CONFIG"; then
4723
if test -n "$HAL_LIBS"; then
4724
pkg_cv_HAL_LIBS="$HAL_LIBS"
4726
if test -n "$PKG_CONFIG" && \
4727
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
4728
($PKG_CONFIG --exists --print-errors "hal") 2>&5
4730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731
(exit $ac_status); }; then
4732
pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
4743
if test $pkg_failed = yes; then
4745
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4746
_pkg_short_errors_supported=yes
4748
_pkg_short_errors_supported=no
4750
if test $_pkg_short_errors_supported = yes; then
4751
HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"`
4753
HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"`
4755
# Put the nasty error message in config.log where it belongs
4756
echo "$HAL_PKG_ERRORS" >&5
4758
{ { echo "$as_me:$LINENO: error: Package requirements (hal) were not met:
4762
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4763
installed software in a non-standard prefix.
4765
Alternatively, you may set the environment variables HAL_CFLAGS
4766
and HAL_LIBS to avoid the need to call pkg-config.
4767
See the pkg-config man page for more details.
4769
echo "$as_me: error: Package requirements (hal) were not met:
4773
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4774
installed software in a non-standard prefix.
4776
Alternatively, you may set the environment variables HAL_CFLAGS
4777
and HAL_LIBS to avoid the need to call pkg-config.
4778
See the pkg-config man page for more details.
4780
{ (exit 1); exit 1; }; }
4781
elif test $pkg_failed = untried; then
4782
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4783
is in your PATH or set the PKG_CONFIG environment variable to the full
4786
Alternatively, you may set the environment variables HAL_CFLAGS
4787
and HAL_LIBS to avoid the need to call pkg-config.
4788
See the pkg-config man page for more details.
4790
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4791
See \`config.log' for more details." >&5
4792
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4793
is in your PATH or set the PKG_CONFIG environment variable to the full
4796
Alternatively, you may set the environment variables HAL_CFLAGS
4797
and HAL_LIBS to avoid the need to call pkg-config.
4798
See the pkg-config man page for more details.
4800
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4801
See \`config.log' for more details." >&2;}
4802
{ (exit 1); exit 1; }; }
4804
HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
4805
HAL_LIBS=$pkg_cv_HAL_LIBS
4806
{ echo "$as_me:$LINENO: result: yes" >&5
4807
echo "${ECHO_T}yes" >&6; }
4813
# Check whether --enable-udev was given.
4814
if test "${enable_udev+set}" = set; then
4815
enableval=$enable_udev; if test $enableval = "yes" ; then
4824
if test ${SUPPORT_UDEV} = 1; then
4826
SUPPORT_UDEV_FALSE='#'
4828
SUPPORT_UDEV_TRUE='#'
4833
# Check whether --enable-hal was given.
4834
if test "${enable_hal+set}" = set; then
4835
enableval=$enable_hal; if test $enableval = "yes" ; then
4844
if test ${SUPPORT_HAL} = 1; then
4846
SUPPORT_HAL_FALSE='#'
4848
SUPPORT_HAL_TRUE='#'
4853
GETTEXT_PACKAGE=isight-firmware-tools
4856
cat >>confdefs.h <<_ACEOF
4857
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4861
PACKAGE_LOCALE_DIR="${datadir}/locale"
4865
for ac_header in locale.h
4867
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4868
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4869
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4870
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4871
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4872
echo $ECHO_N "(cached) $ECHO_C" >&6
4874
ac_res=`eval echo '${'$as_ac_Header'}'`
4875
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4876
echo "${ECHO_T}$ac_res" >&6; }
4878
# Is the header compilable?
4879
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4880
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4881
cat >conftest.$ac_ext <<_ACEOF
4884
cat confdefs.h >>conftest.$ac_ext
4885
cat >>conftest.$ac_ext <<_ACEOF
4886
/* end confdefs.h. */
4887
$ac_includes_default
4888
#include <$ac_header>
4890
rm -f conftest.$ac_objext
4891
if { (ac_try="$ac_compile"
4893
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894
*) ac_try_echo=$ac_try;;
4896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897
(eval "$ac_compile") 2>conftest.er1
4899
grep -v '^ *+' conftest.er1 >conftest.err
4901
cat conftest.err >&5
4902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903
(exit $ac_status); } && {
4904
test -z "$ac_c_werror_flag" ||
4905
test ! -s conftest.err
4906
} && test -s conftest.$ac_objext; then
4907
ac_header_compiler=yes
4909
echo "$as_me: failed program was:" >&5
4910
sed 's/^/| /' conftest.$ac_ext >&5
4912
ac_header_compiler=no
4915
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4917
echo "${ECHO_T}$ac_header_compiler" >&6; }
4919
# Is the header present?
4920
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4921
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4922
cat >conftest.$ac_ext <<_ACEOF
4925
cat confdefs.h >>conftest.$ac_ext
4926
cat >>conftest.$ac_ext <<_ACEOF
4927
/* end confdefs.h. */
4928
#include <$ac_header>
4930
if { (ac_try="$ac_cpp conftest.$ac_ext"
4932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933
*) ac_try_echo=$ac_try;;
4935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4938
grep -v '^ *+' conftest.er1 >conftest.err
4940
cat conftest.err >&5
4941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942
(exit $ac_status); } >/dev/null && {
4943
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4944
test ! -s conftest.err
4946
ac_header_preproc=yes
4948
echo "$as_me: failed program was:" >&5
4949
sed 's/^/| /' conftest.$ac_ext >&5
4951
ac_header_preproc=no
4954
rm -f conftest.err conftest.$ac_ext
4955
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4956
echo "${ECHO_T}$ac_header_preproc" >&6; }
4958
# So? What about this header?
4959
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4961
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4962
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4963
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4964
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4965
ac_header_preproc=yes
4968
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4969
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4970
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4971
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4972
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4973
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4974
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4975
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4976
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4977
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4978
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4979
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4981
## ------------------------------------------------------------------------ ##
4982
## Report this to https://bugs.launchpad.net/isight-firmware-tools/+filebug ##
4983
## ------------------------------------------------------------------------ ##
4985
) | sed "s/^/$as_me: WARNING: /" >&2
4988
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4989
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4990
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4991
echo $ECHO_N "(cached) $ECHO_C" >&6
4993
eval "$as_ac_Header=\$ac_header_preproc"
4995
ac_res=`eval echo '${'$as_ac_Header'}'`
4996
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4997
echo "${ECHO_T}$ac_res" >&6; }
5000
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5001
cat >>confdefs.h <<_ACEOF
5002
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5009
if test $ac_cv_header_locale_h = yes; then
5010
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5011
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
5012
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5013
echo $ECHO_N "(cached) $ECHO_C" >&6
5015
cat >conftest.$ac_ext <<_ACEOF
5018
cat confdefs.h >>conftest.$ac_ext
5019
cat >>conftest.$ac_ext <<_ACEOF
5020
/* end confdefs.h. */
5030
rm -f conftest.$ac_objext conftest$ac_exeext
5031
if { (ac_try="$ac_link"
5033
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034
*) ac_try_echo=$ac_try;;
5036
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037
(eval "$ac_link") 2>conftest.er1
5039
grep -v '^ *+' conftest.er1 >conftest.err
5041
cat conftest.err >&5
5042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043
(exit $ac_status); } && {
5044
test -z "$ac_c_werror_flag" ||
5045
test ! -s conftest.err
5046
} && test -s conftest$ac_exeext &&
5047
$as_test_x conftest$ac_exeext; then
5048
am_cv_val_LC_MESSAGES=yes
5050
echo "$as_me: failed program was:" >&5
5051
sed 's/^/| /' conftest.$ac_ext >&5
5053
am_cv_val_LC_MESSAGES=no
5056
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5057
conftest$ac_exeext conftest.$ac_ext
5059
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5060
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
5061
if test $am_cv_val_LC_MESSAGES = yes; then
5063
cat >>confdefs.h <<\_ACEOF
5064
#define HAVE_LC_MESSAGES 1
5072
gt_cv_have_gettext=no
5078
if test "${ac_cv_header_libintl_h+set}" = set; then
5079
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
5080
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5081
if test "${ac_cv_header_libintl_h+set}" = set; then
5082
echo $ECHO_N "(cached) $ECHO_C" >&6
5084
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5085
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5087
# Is the header compilable?
5088
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
5089
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
5090
cat >conftest.$ac_ext <<_ACEOF
5093
cat confdefs.h >>conftest.$ac_ext
5094
cat >>conftest.$ac_ext <<_ACEOF
5095
/* end confdefs.h. */
5096
$ac_includes_default
5097
#include <libintl.h>
5099
rm -f conftest.$ac_objext
5100
if { (ac_try="$ac_compile"
5102
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103
*) ac_try_echo=$ac_try;;
5105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5106
(eval "$ac_compile") 2>conftest.er1
5108
grep -v '^ *+' conftest.er1 >conftest.err
5110
cat conftest.err >&5
5111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112
(exit $ac_status); } && {
5113
test -z "$ac_c_werror_flag" ||
5114
test ! -s conftest.err
5115
} && test -s conftest.$ac_objext; then
5116
ac_header_compiler=yes
5118
echo "$as_me: failed program was:" >&5
5119
sed 's/^/| /' conftest.$ac_ext >&5
5121
ac_header_compiler=no
5124
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5125
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5126
echo "${ECHO_T}$ac_header_compiler" >&6; }
5128
# Is the header present?
5129
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
5130
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
5131
cat >conftest.$ac_ext <<_ACEOF
5134
cat confdefs.h >>conftest.$ac_ext
5135
cat >>conftest.$ac_ext <<_ACEOF
5136
/* end confdefs.h. */
5137
#include <libintl.h>
5139
if { (ac_try="$ac_cpp conftest.$ac_ext"
5141
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142
*) ac_try_echo=$ac_try;;
5144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5145
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5147
grep -v '^ *+' conftest.er1 >conftest.err
5149
cat conftest.err >&5
5150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151
(exit $ac_status); } >/dev/null && {
5152
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5153
test ! -s conftest.err
5155
ac_header_preproc=yes
5157
echo "$as_me: failed program was:" >&5
5158
sed 's/^/| /' conftest.$ac_ext >&5
5160
ac_header_preproc=no
5163
rm -f conftest.err conftest.$ac_ext
5164
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5165
echo "${ECHO_T}$ac_header_preproc" >&6; }
5167
# So? What about this header?
5168
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5170
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5171
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5172
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5173
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5174
ac_header_preproc=yes
5177
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5178
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5179
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5180
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5181
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5182
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5183
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5184
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5185
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5186
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5187
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5188
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5190
## ------------------------------------------------------------------------ ##
5191
## Report this to https://bugs.launchpad.net/isight-firmware-tools/+filebug ##
5192
## ------------------------------------------------------------------------ ##
5194
) | sed "s/^/$as_me: WARNING: /" >&2
5197
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
5198
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5199
if test "${ac_cv_header_libintl_h+set}" = set; then
5200
echo $ECHO_N "(cached) $ECHO_C" >&6
5202
ac_cv_header_libintl_h=$ac_header_preproc
5204
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5205
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5208
if test $ac_cv_header_libintl_h = yes; then
5209
gt_cv_func_dgettext_libintl="no"
5210
libintl_extra_libs=""
5213
# First check in libc
5215
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5216
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
5217
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5218
echo $ECHO_N "(cached) $ECHO_C" >&6
5220
cat >conftest.$ac_ext <<_ACEOF
5223
cat confdefs.h >>conftest.$ac_ext
5224
cat >>conftest.$ac_ext <<_ACEOF
5225
/* end confdefs.h. */
5227
#include <libintl.h>
5232
return !ngettext ("","", 1)
5237
rm -f conftest.$ac_objext conftest$ac_exeext
5238
if { (ac_try="$ac_link"
5240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5241
*) ac_try_echo=$ac_try;;
5243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5244
(eval "$ac_link") 2>conftest.er1
5246
grep -v '^ *+' conftest.er1 >conftest.err
5248
cat conftest.err >&5
5249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250
(exit $ac_status); } && {
5251
test -z "$ac_c_werror_flag" ||
5252
test ! -s conftest.err
5253
} && test -s conftest$ac_exeext &&
5254
$as_test_x conftest$ac_exeext; then
5255
gt_cv_func_ngettext_libc=yes
5257
echo "$as_me: failed program was:" >&5
5258
sed 's/^/| /' conftest.$ac_ext >&5
5260
gt_cv_func_ngettext_libc=no
5263
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5264
conftest$ac_exeext conftest.$ac_ext
5267
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5268
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
5270
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5271
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5272
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
5273
if test "${gt_cv_func_dgettext_libc+set}" = set; then
5274
echo $ECHO_N "(cached) $ECHO_C" >&6
5276
cat >conftest.$ac_ext <<_ACEOF
5279
cat confdefs.h >>conftest.$ac_ext
5280
cat >>conftest.$ac_ext <<_ACEOF
5281
/* end confdefs.h. */
5283
#include <libintl.h>
5288
return !dgettext ("","")
5293
rm -f conftest.$ac_objext conftest$ac_exeext
5294
if { (ac_try="$ac_link"
5296
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297
*) ac_try_echo=$ac_try;;
5299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5300
(eval "$ac_link") 2>conftest.er1
5302
grep -v '^ *+' conftest.er1 >conftest.err
5304
cat conftest.err >&5
5305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306
(exit $ac_status); } && {
5307
test -z "$ac_c_werror_flag" ||
5308
test ! -s conftest.err
5309
} && test -s conftest$ac_exeext &&
5310
$as_test_x conftest$ac_exeext; then
5311
gt_cv_func_dgettext_libc=yes
5313
echo "$as_me: failed program was:" >&5
5314
sed 's/^/| /' conftest.$ac_ext >&5
5316
gt_cv_func_dgettext_libc=no
5319
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5320
conftest$ac_exeext conftest.$ac_ext
5323
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5324
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
5327
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5329
for ac_func in bind_textdomain_codeset
5331
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5332
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5333
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5334
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5335
echo $ECHO_N "(cached) $ECHO_C" >&6
5337
cat >conftest.$ac_ext <<_ACEOF
5340
cat confdefs.h >>conftest.$ac_ext
5341
cat >>conftest.$ac_ext <<_ACEOF
5342
/* end confdefs.h. */
5343
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5344
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5345
#define $ac_func innocuous_$ac_func
5347
/* System header to define __stub macros and hopefully few prototypes,
5348
which can conflict with char $ac_func (); below.
5349
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5350
<limits.h> exists even on freestanding compilers. */
5353
# include <limits.h>
5355
# include <assert.h>
5360
/* Override any GCC internal prototype to avoid an error.
5361
Use char because int might match the return type of a GCC
5362
builtin and then its argument prototype would still apply. */
5367
/* The GNU C library defines this for functions which it implements
5368
to always fail with ENOSYS. Some functions are actually named
5369
something starting with __ and the normal name is an alias. */
5370
#if defined __stub_$ac_func || defined __stub___$ac_func
5382
rm -f conftest.$ac_objext conftest$ac_exeext
5383
if { (ac_try="$ac_link"
5385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5386
*) ac_try_echo=$ac_try;;
5388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5389
(eval "$ac_link") 2>conftest.er1
5391
grep -v '^ *+' conftest.er1 >conftest.err
5393
cat conftest.err >&5
5394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395
(exit $ac_status); } && {
5396
test -z "$ac_c_werror_flag" ||
5397
test ! -s conftest.err
5398
} && test -s conftest$ac_exeext &&
5399
$as_test_x conftest$ac_exeext; then
5400
eval "$as_ac_var=yes"
5402
echo "$as_me: failed program was:" >&5
5403
sed 's/^/| /' conftest.$ac_ext >&5
5405
eval "$as_ac_var=no"
5408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5409
conftest$ac_exeext conftest.$ac_ext
5411
ac_res=`eval echo '${'$as_ac_var'}'`
5412
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5413
echo "${ECHO_T}$ac_res" >&6; }
5414
if test `eval echo '${'$as_ac_var'}'` = yes; then
5415
cat >>confdefs.h <<_ACEOF
5416
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5425
# If we don't have everything we want, check in libintl
5427
if test "$gt_cv_func_dgettext_libc" != "yes" \
5428
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5429
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5431
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5432
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
5433
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5434
echo $ECHO_N "(cached) $ECHO_C" >&6
5436
ac_check_lib_save_LIBS=$LIBS
5438
cat >conftest.$ac_ext <<_ACEOF
5441
cat confdefs.h >>conftest.$ac_ext
5442
cat >>conftest.$ac_ext <<_ACEOF
5443
/* end confdefs.h. */
5445
/* Override any GCC internal prototype to avoid an error.
5446
Use char because int might match the return type of a GCC
5447
builtin and then its argument prototype would still apply. */
5451
char bindtextdomain ();
5455
return bindtextdomain ();
5460
rm -f conftest.$ac_objext conftest$ac_exeext
5461
if { (ac_try="$ac_link"
5463
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464
*) ac_try_echo=$ac_try;;
5466
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467
(eval "$ac_link") 2>conftest.er1
5469
grep -v '^ *+' conftest.er1 >conftest.err
5471
cat conftest.err >&5
5472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473
(exit $ac_status); } && {
5474
test -z "$ac_c_werror_flag" ||
5475
test ! -s conftest.err
5476
} && test -s conftest$ac_exeext &&
5477
$as_test_x conftest$ac_exeext; then
5478
ac_cv_lib_intl_bindtextdomain=yes
5480
echo "$as_me: failed program was:" >&5
5481
sed 's/^/| /' conftest.$ac_ext >&5
5483
ac_cv_lib_intl_bindtextdomain=no
5486
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5487
conftest$ac_exeext conftest.$ac_ext
5488
LIBS=$ac_check_lib_save_LIBS
5490
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5491
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
5492
if test $ac_cv_lib_intl_bindtextdomain = yes; then
5493
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5494
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5495
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5496
echo $ECHO_N "(cached) $ECHO_C" >&6
5498
ac_check_lib_save_LIBS=$LIBS
5500
cat >conftest.$ac_ext <<_ACEOF
5503
cat confdefs.h >>conftest.$ac_ext
5504
cat >>conftest.$ac_ext <<_ACEOF
5505
/* end confdefs.h. */
5507
/* Override any GCC internal prototype to avoid an error.
5508
Use char because int might match the return type of a GCC
5509
builtin and then its argument prototype would still apply. */
5522
rm -f conftest.$ac_objext conftest$ac_exeext
5523
if { (ac_try="$ac_link"
5525
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526
*) ac_try_echo=$ac_try;;
5528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529
(eval "$ac_link") 2>conftest.er1
5531
grep -v '^ *+' conftest.er1 >conftest.err
5533
cat conftest.err >&5
5534
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535
(exit $ac_status); } && {
5536
test -z "$ac_c_werror_flag" ||
5537
test ! -s conftest.err
5538
} && test -s conftest$ac_exeext &&
5539
$as_test_x conftest$ac_exeext; then
5540
ac_cv_lib_intl_ngettext=yes
5542
echo "$as_me: failed program was:" >&5
5543
sed 's/^/| /' conftest.$ac_ext >&5
5545
ac_cv_lib_intl_ngettext=no
5548
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5549
conftest$ac_exeext conftest.$ac_ext
5550
LIBS=$ac_check_lib_save_LIBS
5552
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5553
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5554
if test $ac_cv_lib_intl_ngettext = yes; then
5555
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5556
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
5557
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5558
echo $ECHO_N "(cached) $ECHO_C" >&6
5560
ac_check_lib_save_LIBS=$LIBS
5562
cat >conftest.$ac_ext <<_ACEOF
5565
cat confdefs.h >>conftest.$ac_ext
5566
cat >>conftest.$ac_ext <<_ACEOF
5567
/* end confdefs.h. */
5569
/* Override any GCC internal prototype to avoid an error.
5570
Use char because int might match the return type of a GCC
5571
builtin and then its argument prototype would still apply. */
5584
rm -f conftest.$ac_objext conftest$ac_exeext
5585
if { (ac_try="$ac_link"
5587
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5588
*) ac_try_echo=$ac_try;;
5590
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591
(eval "$ac_link") 2>conftest.er1
5593
grep -v '^ *+' conftest.er1 >conftest.err
5595
cat conftest.err >&5
5596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597
(exit $ac_status); } && {
5598
test -z "$ac_c_werror_flag" ||
5599
test ! -s conftest.err
5600
} && test -s conftest$ac_exeext &&
5601
$as_test_x conftest$ac_exeext; then
5602
ac_cv_lib_intl_dgettext=yes
5604
echo "$as_me: failed program was:" >&5
5605
sed 's/^/| /' conftest.$ac_ext >&5
5607
ac_cv_lib_intl_dgettext=no
5610
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5611
conftest$ac_exeext conftest.$ac_ext
5612
LIBS=$ac_check_lib_save_LIBS
5614
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5615
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
5616
if test $ac_cv_lib_intl_dgettext = yes; then
5617
gt_cv_func_dgettext_libintl=yes
5625
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5626
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5627
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
5628
{ echo "$as_me:$LINENO: result: " >&5
5629
echo "${ECHO_T}" >&6; }
5630
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5631
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5632
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5633
echo $ECHO_N "(cached) $ECHO_C" >&6
5635
ac_check_lib_save_LIBS=$LIBS
5636
LIBS="-lintl -liconv $LIBS"
5637
cat >conftest.$ac_ext <<_ACEOF
5640
cat confdefs.h >>conftest.$ac_ext
5641
cat >>conftest.$ac_ext <<_ACEOF
5642
/* end confdefs.h. */
5644
/* Override any GCC internal prototype to avoid an error.
5645
Use char because int might match the return type of a GCC
5646
builtin and then its argument prototype would still apply. */
5659
rm -f conftest.$ac_objext conftest$ac_exeext
5660
if { (ac_try="$ac_link"
5662
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663
*) ac_try_echo=$ac_try;;
5665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5666
(eval "$ac_link") 2>conftest.er1
5668
grep -v '^ *+' conftest.er1 >conftest.err
5670
cat conftest.err >&5
5671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672
(exit $ac_status); } && {
5673
test -z "$ac_c_werror_flag" ||
5674
test ! -s conftest.err
5675
} && test -s conftest$ac_exeext &&
5676
$as_test_x conftest$ac_exeext; then
5677
ac_cv_lib_intl_ngettext=yes
5679
echo "$as_me: failed program was:" >&5
5680
sed 's/^/| /' conftest.$ac_ext >&5
5682
ac_cv_lib_intl_ngettext=no
5685
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5686
conftest$ac_exeext conftest.$ac_ext
5687
LIBS=$ac_check_lib_save_LIBS
5689
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5690
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5691
if test $ac_cv_lib_intl_ngettext = yes; then
5692
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5693
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5694
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5695
echo $ECHO_N "(cached) $ECHO_C" >&6
5697
ac_check_lib_save_LIBS=$LIBS
5698
LIBS="-lintl -liconv $LIBS"
5699
cat >conftest.$ac_ext <<_ACEOF
5702
cat confdefs.h >>conftest.$ac_ext
5703
cat >>conftest.$ac_ext <<_ACEOF
5704
/* end confdefs.h. */
5706
/* Override any GCC internal prototype to avoid an error.
5707
Use char because int might match the return type of a GCC
5708
builtin and then its argument prototype would still apply. */
5716
return dcgettext ();
5721
rm -f conftest.$ac_objext conftest$ac_exeext
5722
if { (ac_try="$ac_link"
5724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5725
*) ac_try_echo=$ac_try;;
5727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5728
(eval "$ac_link") 2>conftest.er1
5730
grep -v '^ *+' conftest.er1 >conftest.err
5732
cat conftest.err >&5
5733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734
(exit $ac_status); } && {
5735
test -z "$ac_c_werror_flag" ||
5736
test ! -s conftest.err
5737
} && test -s conftest$ac_exeext &&
5738
$as_test_x conftest$ac_exeext; then
5739
ac_cv_lib_intl_dcgettext=yes
5741
echo "$as_me: failed program was:" >&5
5742
sed 's/^/| /' conftest.$ac_ext >&5
5744
ac_cv_lib_intl_dcgettext=no
5747
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5748
conftest$ac_exeext conftest.$ac_ext
5749
LIBS=$ac_check_lib_save_LIBS
5751
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5752
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5753
if test $ac_cv_lib_intl_dcgettext = yes; then
5754
gt_cv_func_dgettext_libintl=yes
5755
libintl_extra_libs=-liconv
5767
# If we found libintl, then check in it for bind_textdomain_codeset();
5768
# we'll prefer libc if neither have bind_textdomain_codeset(),
5769
# and both have dgettext and ngettext
5771
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5772
glib_save_LIBS="$LIBS"
5773
LIBS="$LIBS -lintl $libintl_extra_libs"
5774
unset ac_cv_func_bind_textdomain_codeset
5776
for ac_func in bind_textdomain_codeset
5778
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5779
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5780
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5781
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5782
echo $ECHO_N "(cached) $ECHO_C" >&6
5784
cat >conftest.$ac_ext <<_ACEOF
5787
cat confdefs.h >>conftest.$ac_ext
5788
cat >>conftest.$ac_ext <<_ACEOF
5789
/* end confdefs.h. */
5790
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5791
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5792
#define $ac_func innocuous_$ac_func
5794
/* System header to define __stub macros and hopefully few prototypes,
5795
which can conflict with char $ac_func (); below.
5796
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5797
<limits.h> exists even on freestanding compilers. */
5800
# include <limits.h>
5802
# include <assert.h>
5807
/* Override any GCC internal prototype to avoid an error.
5808
Use char because int might match the return type of a GCC
5809
builtin and then its argument prototype would still apply. */
5814
/* The GNU C library defines this for functions which it implements
5815
to always fail with ENOSYS. Some functions are actually named
5816
something starting with __ and the normal name is an alias. */
5817
#if defined __stub_$ac_func || defined __stub___$ac_func
5829
rm -f conftest.$ac_objext conftest$ac_exeext
5830
if { (ac_try="$ac_link"
5832
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5833
*) ac_try_echo=$ac_try;;
5835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5836
(eval "$ac_link") 2>conftest.er1
5838
grep -v '^ *+' conftest.er1 >conftest.err
5840
cat conftest.err >&5
5841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842
(exit $ac_status); } && {
5843
test -z "$ac_c_werror_flag" ||
5844
test ! -s conftest.err
5845
} && test -s conftest$ac_exeext &&
5846
$as_test_x conftest$ac_exeext; then
5847
eval "$as_ac_var=yes"
5849
echo "$as_me: failed program was:" >&5
5850
sed 's/^/| /' conftest.$ac_ext >&5
5852
eval "$as_ac_var=no"
5855
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5856
conftest$ac_exeext conftest.$ac_ext
5858
ac_res=`eval echo '${'$as_ac_var'}'`
5859
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5860
echo "${ECHO_T}$ac_res" >&6; }
5861
if test `eval echo '${'$as_ac_var'}'` = yes; then
5862
cat >>confdefs.h <<_ACEOF
5863
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5869
LIBS="$glib_save_LIBS"
5871
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5872
gt_cv_func_dgettext_libc=no
5874
if test "$gt_cv_func_dgettext_libc" = "yes" \
5875
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5876
gt_cv_func_dgettext_libintl=no
5882
if test "$gt_cv_func_dgettext_libc" = "yes" \
5883
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5884
gt_cv_have_gettext=yes
5887
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5888
INTLLIBS="-lintl $libintl_extra_libs"
5891
if test "$gt_cv_have_gettext" = "yes"; then
5893
cat >>confdefs.h <<\_ACEOF
5894
#define HAVE_GETTEXT 1
5897
# Extract the first word of "msgfmt", so it can be a program name with args.
5898
set dummy msgfmt; ac_word=$2
5899
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5901
if test "${ac_cv_path_MSGFMT+set}" = set; then
5902
echo $ECHO_N "(cached) $ECHO_C" >&6
5906
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5909
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5910
for ac_dir in $PATH; do
5911
test -z "$ac_dir" && ac_dir=.
5912
if test -f $ac_dir/$ac_word; then
5913
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5914
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5920
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5924
MSGFMT="$ac_cv_path_MSGFMT"
5925
if test "$MSGFMT" != "no"; then
5926
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
5927
echo "${ECHO_T}$MSGFMT" >&6; }
5929
{ echo "$as_me:$LINENO: result: no" >&5
5930
echo "${ECHO_T}no" >&6; }
5932
if test "$MSGFMT" != "no"; then
5933
glib_save_LIBS="$LIBS"
5934
LIBS="$LIBS $INTLLIBS"
5936
for ac_func in dcgettext
5938
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5939
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5940
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5941
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5942
echo $ECHO_N "(cached) $ECHO_C" >&6
5944
cat >conftest.$ac_ext <<_ACEOF
5947
cat confdefs.h >>conftest.$ac_ext
5948
cat >>conftest.$ac_ext <<_ACEOF
5949
/* end confdefs.h. */
5950
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5951
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5952
#define $ac_func innocuous_$ac_func
5954
/* System header to define __stub macros and hopefully few prototypes,
5955
which can conflict with char $ac_func (); below.
5956
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5957
<limits.h> exists even on freestanding compilers. */
5960
# include <limits.h>
5962
# include <assert.h>
5967
/* Override any GCC internal prototype to avoid an error.
5968
Use char because int might match the return type of a GCC
5969
builtin and then its argument prototype would still apply. */
5974
/* The GNU C library defines this for functions which it implements
5975
to always fail with ENOSYS. Some functions are actually named
5976
something starting with __ and the normal name is an alias. */
5977
#if defined __stub_$ac_func || defined __stub___$ac_func
5989
rm -f conftest.$ac_objext conftest$ac_exeext
5990
if { (ac_try="$ac_link"
5992
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5993
*) ac_try_echo=$ac_try;;
5995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5996
(eval "$ac_link") 2>conftest.er1
5998
grep -v '^ *+' conftest.er1 >conftest.err
6000
cat conftest.err >&5
6001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002
(exit $ac_status); } && {
6003
test -z "$ac_c_werror_flag" ||
6004
test ! -s conftest.err
6005
} && test -s conftest$ac_exeext &&
6006
$as_test_x conftest$ac_exeext; then
6007
eval "$as_ac_var=yes"
6009
echo "$as_me: failed program was:" >&5
6010
sed 's/^/| /' conftest.$ac_ext >&5
6012
eval "$as_ac_var=no"
6015
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6016
conftest$ac_exeext conftest.$ac_ext
6018
ac_res=`eval echo '${'$as_ac_var'}'`
6019
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6020
echo "${ECHO_T}$ac_res" >&6; }
6021
if test `eval echo '${'$as_ac_var'}'` = yes; then
6022
cat >>confdefs.h <<_ACEOF
6023
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6030
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6031
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
6032
cat >conftest.foo <<_ACEOF
6036
"Content-Type: text/plain; charset=UTF-8\n"
6037
"Project-Id-Version: test 1.0\n"
6038
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6039
"Last-Translator: test <foo@bar.xx>\n"
6040
"Language-Team: C <LL@li.org>\n"
6041
"MIME-Version: 1.0\n"
6042
"Content-Transfer-Encoding: 8bit\n"
6045
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6046
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049
(exit $ac_status); }; then
6050
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
6051
echo "${ECHO_T}yes" >&6; }
6052
else { echo "$as_me:$LINENO: result: no" >&5
6053
echo "${ECHO_T}no" >&6; }
6054
echo "$as_me: failed input was:" >&5
6055
sed 's/^/| /' conftest.foo >&5
6058
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6059
set dummy gmsgfmt; ac_word=$2
6060
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6061
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6062
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6063
echo $ECHO_N "(cached) $ECHO_C" >&6
6067
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074
test -z "$as_dir" && as_dir=.
6075
for ac_exec_ext in '' $ac_executable_extensions; do
6076
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6078
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6085
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6089
GMSGFMT=$ac_cv_path_GMSGFMT
6090
if test -n "$GMSGFMT"; then
6091
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6092
echo "${ECHO_T}$GMSGFMT" >&6; }
6094
{ echo "$as_me:$LINENO: result: no" >&5
6095
echo "${ECHO_T}no" >&6; }
6099
# Extract the first word of "xgettext", so it can be a program name with args.
6100
set dummy xgettext; ac_word=$2
6101
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6102
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6103
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6104
echo $ECHO_N "(cached) $ECHO_C" >&6
6108
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6111
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6112
for ac_dir in $PATH; do
6113
test -z "$ac_dir" && ac_dir=.
6114
if test -f $ac_dir/$ac_word; then
6115
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6116
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6122
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6126
XGETTEXT="$ac_cv_path_XGETTEXT"
6127
if test "$XGETTEXT" != ":"; then
6128
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6129
echo "${ECHO_T}$XGETTEXT" >&6; }
6131
{ echo "$as_me:$LINENO: result: no" >&5
6132
echo "${ECHO_T}no" >&6; }
6135
cat >conftest.$ac_ext <<_ACEOF
6138
cat confdefs.h >>conftest.$ac_ext
6139
cat >>conftest.$ac_ext <<_ACEOF
6140
/* end confdefs.h. */
6145
extern int _nl_msg_cat_cntr;
6146
return _nl_msg_cat_cntr
6151
rm -f conftest.$ac_objext conftest$ac_exeext
6152
if { (ac_try="$ac_link"
6154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6155
*) ac_try_echo=$ac_try;;
6157
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6158
(eval "$ac_link") 2>conftest.er1
6160
grep -v '^ *+' conftest.er1 >conftest.err
6162
cat conftest.err >&5
6163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164
(exit $ac_status); } && {
6165
test -z "$ac_c_werror_flag" ||
6166
test ! -s conftest.err
6167
} && test -s conftest$ac_exeext &&
6168
$as_test_x conftest$ac_exeext; then
6172
echo "$as_me: failed program was:" >&5
6173
sed 's/^/| /' conftest.$ac_ext >&5
6177
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6178
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6179
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6180
echo $ECHO_N "(cached) $ECHO_C" >&6
6182
cat >conftest.$ac_ext <<_ACEOF
6185
cat confdefs.h >>conftest.$ac_ext
6186
cat >>conftest.$ac_ext <<_ACEOF
6187
/* end confdefs.h. */
6188
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6189
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6190
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6192
/* System header to define __stub macros and hopefully few prototypes,
6193
which can conflict with char bind_textdomain_codeset (); below.
6194
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6195
<limits.h> exists even on freestanding compilers. */
6198
# include <limits.h>
6200
# include <assert.h>
6203
#undef bind_textdomain_codeset
6205
/* Override any GCC internal prototype to avoid an error.
6206
Use char because int might match the return type of a GCC
6207
builtin and then its argument prototype would still apply. */
6211
char bind_textdomain_codeset ();
6212
/* The GNU C library defines this for functions which it implements
6213
to always fail with ENOSYS. Some functions are actually named
6214
something starting with __ and the normal name is an alias. */
6215
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6222
return bind_textdomain_codeset ();
6227
rm -f conftest.$ac_objext conftest$ac_exeext
6228
if { (ac_try="$ac_link"
6230
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6231
*) ac_try_echo=$ac_try;;
6233
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234
(eval "$ac_link") 2>conftest.er1
6236
grep -v '^ *+' conftest.er1 >conftest.err
6238
cat conftest.err >&5
6239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240
(exit $ac_status); } && {
6241
test -z "$ac_c_werror_flag" ||
6242
test ! -s conftest.err
6243
} && test -s conftest$ac_exeext &&
6244
$as_test_x conftest$ac_exeext; then
6245
ac_cv_func_bind_textdomain_codeset=yes
6247
echo "$as_me: failed program was:" >&5
6248
sed 's/^/| /' conftest.$ac_ext >&5
6250
ac_cv_func_bind_textdomain_codeset=no
6253
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254
conftest$ac_exeext conftest.$ac_ext
6256
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6257
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6258
if test $ac_cv_func_bind_textdomain_codeset = yes; then
6274
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6275
conftest$ac_exeext conftest.$ac_ext
6276
LIBS="$glib_save_LIBS"
6279
gt_cv_have_gettext=no
6287
if test "$gt_cv_have_gettext" = "yes" ; then
6289
cat >>confdefs.h <<\_ACEOF
6290
#define ENABLE_NLS 1
6295
if test "$XGETTEXT" != ":"; then
6296
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6299
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6300
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
6305
# We need to process the po/ directory.
6308
ac_config_commands="$ac_config_commands default-1"
6311
for lang in $ALL_LINGUAS; do
6312
GMOFILES="$GMOFILES $lang.gmo"
6313
POFILES="$POFILES $lang.po"
6328
if test "$gt_cv_have_gettext" = "yes"; then
6329
if test "x$ALL_LINGUAS" = "x"; then
6332
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6333
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
6335
for presentlang in $ALL_LINGUAS; do
6337
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6338
desiredlanguages="$LINGUAS"
6340
desiredlanguages="$ALL_LINGUAS"
6342
for desiredlang in $desiredlanguages; do
6343
# Use the presentlang catalog if desiredlang is
6344
# a. equal to presentlang, or
6345
# b. a variant of presentlang (because in this case,
6346
# presentlang can be used as a fallback for messages
6347
# which are not translated in the desiredlang catalog).
6348
case "$desiredlang" in
6349
"$presentlang"*) useit=yes;;
6352
if test $useit = yes; then
6353
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6356
LINGUAS=$NEW_LINGUAS
6357
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
6358
echo "${ECHO_T}$LINGUAS" >&6; }
6361
if test -n "$LINGUAS"; then
6362
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6367
if test -n "$ac_aux_dir"; then
6368
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6370
if test -z "$MKINSTALLDIRS"; then
6371
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6375
test -d po || mkdir po
6376
if test "x$srcdir" != "x."; then
6377
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6378
posrcprefix="$srcdir/"
6380
posrcprefix="../$srcdir/"
6386
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6387
< $srcdir/po/POTFILES.in > po/POTFILES
6391
case "$am__api_version" in
6393
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
6394
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
6395
{ (exit 1); exit 1; }; }
6401
if test -n "0.35"; then
6402
{ echo "$as_me:$LINENO: checking for intltool >= 0.35" >&5
6403
echo $ECHO_N "checking for intltool >= 0.35... $ECHO_C" >&6; }
6405
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6406
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
6407
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
6409
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
6410
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
6411
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6412
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35 or later." >&5
6413
echo "$as_me: error: Your intltool is too old. You need intltool 0.35 or later." >&2;}
6414
{ (exit 1); exit 1; }; }
6417
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6418
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6419
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6420
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6421
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6422
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6423
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6424
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6425
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6426
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6427
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6428
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6429
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6430
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6431
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6432
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6433
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6434
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6435
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6457
# Check the gettext tools to make sure they are GNU
6458
# Extract the first word of "xgettext", so it can be a program name with args.
6459
set dummy xgettext; ac_word=$2
6460
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6461
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6462
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6463
echo $ECHO_N "(cached) $ECHO_C" >&6
6467
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474
test -z "$as_dir" && as_dir=.
6475
for ac_exec_ext in '' $ac_executable_extensions; do
6476
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6478
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488
XGETTEXT=$ac_cv_path_XGETTEXT
6489
if test -n "$XGETTEXT"; then
6490
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6491
echo "${ECHO_T}$XGETTEXT" >&6; }
6493
{ echo "$as_me:$LINENO: result: no" >&5
6494
echo "${ECHO_T}no" >&6; }
6498
# Extract the first word of "msgmerge", so it can be a program name with args.
6499
set dummy msgmerge; ac_word=$2
6500
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6501
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502
if test "${ac_cv_path_MSGMERGE+set}" = set; then
6503
echo $ECHO_N "(cached) $ECHO_C" >&6
6507
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6510
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514
test -z "$as_dir" && as_dir=.
6515
for ac_exec_ext in '' $ac_executable_extensions; do
6516
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6518
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6528
MSGMERGE=$ac_cv_path_MSGMERGE
6529
if test -n "$MSGMERGE"; then
6530
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
6531
echo "${ECHO_T}$MSGMERGE" >&6; }
6533
{ echo "$as_me:$LINENO: result: no" >&5
6534
echo "${ECHO_T}no" >&6; }
6538
# Extract the first word of "msgfmt", so it can be a program name with args.
6539
set dummy msgfmt; ac_word=$2
6540
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6541
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6542
if test "${ac_cv_path_MSGFMT+set}" = set; then
6543
echo $ECHO_N "(cached) $ECHO_C" >&6
6547
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6550
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554
test -z "$as_dir" && as_dir=.
6555
for ac_exec_ext in '' $ac_executable_extensions; do
6556
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6558
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6568
MSGFMT=$ac_cv_path_MSGFMT
6569
if test -n "$MSGFMT"; then
6570
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
6571
echo "${ECHO_T}$MSGFMT" >&6; }
6573
{ echo "$as_me:$LINENO: result: no" >&5
6574
echo "${ECHO_T}no" >&6; }
6578
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6579
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6580
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6581
{ (exit 1); exit 1; }; }
6583
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6584
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6585
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6586
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6587
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6588
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6589
{ (exit 1); exit 1; }; }
6592
# Use the tools built into the package, not the ones that are installed.
6593
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
6595
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
6597
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
6600
# Extract the first word of "perl", so it can be a program name with args.
6601
set dummy perl; ac_word=$2
6602
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6603
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6604
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
6605
echo $ECHO_N "(cached) $ECHO_C" >&6
6607
case $INTLTOOL_PERL in
6609
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6612
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616
test -z "$as_dir" && as_dir=.
6617
for ac_exec_ext in '' $ac_executable_extensions; do
6618
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6619
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6620
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6630
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6631
if test -n "$INTLTOOL_PERL"; then
6632
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
6633
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
6635
{ echo "$as_me:$LINENO: result: no" >&5
6636
echo "${ECHO_T}no" >&6; }
6640
if test -z "$INTLTOOL_PERL"; then
6641
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
6642
echo "$as_me: error: perl not found; required for intltool" >&2;}
6643
{ (exit 1); exit 1; }; }
6645
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
6646
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
6647
echo "$as_me: error: perl 5.x required for intltool" >&2;}
6648
{ (exit 1); exit 1; }; }
6650
if test "x" != "xno-xml"; then
6651
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
6652
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
6653
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6654
{ echo "$as_me:$LINENO: result: ok" >&5
6655
echo "${ECHO_T}ok" >&6; }
6657
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
6658
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
6659
{ (exit 1); exit 1; }; }
6663
# Substitute ALL_LINGUAS so we can use it in po/Makefile
6666
# Set DATADIRNAME correctly if it is not set yet
6667
# (copied from glib-gettext.m4)
6668
if test -z "$DATADIRNAME"; then
6669
cat >conftest.$ac_ext <<_ACEOF
6672
cat confdefs.h >>conftest.$ac_ext
6673
cat >>conftest.$ac_ext <<_ACEOF
6674
/* end confdefs.h. */
6679
extern int _nl_msg_cat_cntr;
6680
return _nl_msg_cat_cntr
6685
rm -f conftest.$ac_objext conftest$ac_exeext
6686
if { (ac_try="$ac_link"
6688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6689
*) ac_try_echo=$ac_try;;
6691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6692
(eval "$ac_link") 2>conftest.er1
6694
grep -v '^ *+' conftest.er1 >conftest.err
6696
cat conftest.err >&5
6697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698
(exit $ac_status); } && {
6699
test -z "$ac_c_werror_flag" ||
6700
test ! -s conftest.err
6701
} && test -s conftest$ac_exeext &&
6702
$as_test_x conftest$ac_exeext; then
6705
echo "$as_me: failed program was:" >&5
6706
sed 's/^/| /' conftest.$ac_ext >&5
6710
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6711
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6712
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6713
echo $ECHO_N "(cached) $ECHO_C" >&6
6715
cat >conftest.$ac_ext <<_ACEOF
6718
cat confdefs.h >>conftest.$ac_ext
6719
cat >>conftest.$ac_ext <<_ACEOF
6720
/* end confdefs.h. */
6721
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6722
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6723
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6725
/* System header to define __stub macros and hopefully few prototypes,
6726
which can conflict with char bind_textdomain_codeset (); below.
6727
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6728
<limits.h> exists even on freestanding compilers. */
6731
# include <limits.h>
6733
# include <assert.h>
6736
#undef bind_textdomain_codeset
6738
/* Override any GCC internal prototype to avoid an error.
6739
Use char because int might match the return type of a GCC
6740
builtin and then its argument prototype would still apply. */
6744
char bind_textdomain_codeset ();
6745
/* The GNU C library defines this for functions which it implements
6746
to always fail with ENOSYS. Some functions are actually named
6747
something starting with __ and the normal name is an alias. */
6748
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6755
return bind_textdomain_codeset ();
6760
rm -f conftest.$ac_objext conftest$ac_exeext
6761
if { (ac_try="$ac_link"
6763
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6764
*) ac_try_echo=$ac_try;;
6766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6767
(eval "$ac_link") 2>conftest.er1
6769
grep -v '^ *+' conftest.er1 >conftest.err
6771
cat conftest.err >&5
6772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773
(exit $ac_status); } && {
6774
test -z "$ac_c_werror_flag" ||
6775
test ! -s conftest.err
6776
} && test -s conftest$ac_exeext &&
6777
$as_test_x conftest$ac_exeext; then
6778
ac_cv_func_bind_textdomain_codeset=yes
6780
echo "$as_me: failed program was:" >&5
6781
sed 's/^/| /' conftest.$ac_ext >&5
6783
ac_cv_func_bind_textdomain_codeset=no
6786
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6787
conftest$ac_exeext conftest.$ac_ext
6789
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6790
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6791
if test $ac_cv_func_bind_textdomain_codeset = yes; then
6804
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6805
conftest$ac_exeext conftest.$ac_ext
6812
ac_config_commands="$ac_config_commands intltool"
6818
cat >confcache <<\_ACEOF
6819
# This file is a shell script that caches the results of configure
6820
# tests run on this system so they can be shared between configure
6821
# scripts and configure runs, see configure's option --config-cache.
6822
# It is not useful on other systems. If it contains results you don't
6823
# want to keep, you may remove or edit it.
6825
# config.status only pays attention to the cache file if you give it
6826
# the --recheck option to rerun configure.
6828
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6829
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6834
# The following way of writing the cache mishandles newlines in values,
6835
# but we know of no workaround that is simple, portable, and efficient.
6836
# So, we kill variables containing newlines.
6837
# Ultrix sh set writes to stderr and can't be redirected directly,
6838
# and sets the high bit in the cache file unless we assign to the vars.
6840
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6841
eval ac_val=\$$ac_var
6845
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6846
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6849
_ | IFS | as_nl) ;; #(
6850
*) $as_unset $ac_var ;;
6856
case $as_nl`(ac_space=' '; set) 2>&1` in #(
6857
*${as_nl}ac_space=\ *)
6858
# `set' does not quote correctly, so add quotes (double-quote
6859
# substitution turns \\\\ into \\, and sed turns \\ into \).
6862
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6865
# `set' quotes correctly as required by POSIX, so do not add quotes.
6866
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6875
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6877
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6879
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6880
if test -w "$cache_file"; then
6881
test "x$cache_file" != "x/dev/null" &&
6882
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
6883
echo "$as_me: updating cache $cache_file" >&6;}
6884
cat confcache >$cache_file
6886
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6887
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6892
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6893
# Let make expand exec_prefix.
6894
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6896
DEFS=-DHAVE_CONFIG_H
6900
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6901
# 1. Remove the extension, and $U if already installed.
6902
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6903
ac_i=`echo "$ac_i" | sed "$ac_script"`
6904
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6905
# will be set to the directory where LIBOBJS objects are built.
6906
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6907
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6911
LTLIBOBJS=$ac_ltlibobjs
6914
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6915
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6916
Usually this means the macro was only invoked conditionally." >&5
6917
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6918
Usually this means the macro was only invoked conditionally." >&2;}
6919
{ (exit 1); exit 1; }; }
6921
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6922
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6923
Usually this means the macro was only invoked conditionally." >&5
6924
echo "$as_me: error: conditional \"AMDEP\" was never defined.
6925
Usually this means the macro was only invoked conditionally." >&2;}
6926
{ (exit 1); exit 1; }; }
6928
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6929
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6930
Usually this means the macro was only invoked conditionally." >&5
6931
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6932
Usually this means the macro was only invoked conditionally." >&2;}
6933
{ (exit 1); exit 1; }; }
6935
if test -z "${SUPPORT_UDEV_TRUE}" && test -z "${SUPPORT_UDEV_FALSE}"; then
6936
{ { echo "$as_me:$LINENO: error: conditional \"SUPPORT_UDEV\" was never defined.
6937
Usually this means the macro was only invoked conditionally." >&5
6938
echo "$as_me: error: conditional \"SUPPORT_UDEV\" was never defined.
6939
Usually this means the macro was only invoked conditionally." >&2;}
6940
{ (exit 1); exit 1; }; }
6942
if test -z "${SUPPORT_HAL_TRUE}" && test -z "${SUPPORT_HAL_FALSE}"; then
6943
{ { echo "$as_me:$LINENO: error: conditional \"SUPPORT_HAL\" was never defined.
6944
Usually this means the macro was only invoked conditionally." >&5
6945
echo "$as_me: error: conditional \"SUPPORT_HAL\" was never defined.
6946
Usually this means the macro was only invoked conditionally." >&2;}
6947
{ (exit 1); exit 1; }; }
6950
ac_config_commands="$ac_config_commands po/stamp-it"
6954
: ${CONFIG_STATUS=./config.status}
6955
ac_clean_files_save=$ac_clean_files
6956
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6957
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6958
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6959
cat >$CONFIG_STATUS <<_ACEOF
6961
# Generated by $as_me.
6962
# Run this file to recreate the current configuration.
6963
# Compiler output produced by configure, useful for debugging
6964
# configure, is in config.log if it exists.
6969
SHELL=\${CONFIG_SHELL-$SHELL}
6972
cat >>$CONFIG_STATUS <<\_ACEOF
6973
## --------------------- ##
6974
## M4sh Initialization. ##
6975
## --------------------- ##
6977
# Be more Bourne compatible
6978
DUALCASE=1; export DUALCASE # for MKS sh
6979
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6982
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6983
# is contrary to our usage. Disable this feature.
6984
alias -g '${1+"$@"}'='"$@"'
6985
setopt NO_GLOB_SUBST
6987
case `(set -o) 2>/dev/null` in
6988
*posix*) set -o posix ;;
6997
# Avoid depending upon Character Ranges.
6998
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6999
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7000
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7001
as_cr_digits='0123456789'
7002
as_cr_alnum=$as_cr_Letters$as_cr_digits
7004
# The user is always right.
7005
if test "${PATH_SEPARATOR+set}" != set; then
7006
echo "#! /bin/sh" >conf$$.sh
7007
echo "exit 0" >>conf$$.sh
7009
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7017
# Support unset when possible.
7018
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7026
# We need space, tab and new line, in precisely that order. Quoting is
7027
# there to prevent editors from complaining about space-tab.
7028
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7029
# splitting by setting IFS to empty value.)
7034
# Find who we are. Look in the path if we contain no directory separator.
7036
*[\\/]* ) as_myself=$0 ;;
7037
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041
test -z "$as_dir" && as_dir=.
7042
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7048
# We did not find ourselves, most probably we were run as `sh COMMAND'
7049
# in which case we are not to be found in the path.
7050
if test "x$as_myself" = x; then
7053
if test ! -f "$as_myself"; then
7054
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7055
{ (exit 1); exit 1; }
7058
# Work around bugs in pre-3.0 UWIN ksh.
7059
for as_var in ENV MAIL MAILPATH
7060
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7068
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7069
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7070
LC_TELEPHONE LC_TIME
7072
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7073
eval $as_var=C; export $as_var
7075
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7079
# Required to use basename.
7080
if expr a : '\(a\)' >/dev/null 2>&1 &&
7081
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7087
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7088
as_basename=basename
7094
# Name of the executable.
7095
as_me=`$as_basename -- "$0" ||
7096
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7097
X"$0" : 'X\(//\)$' \| \
7098
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7100
sed '/^.*\/\([^/][^/]*\)\/*$/{
7121
test "x$as_lineno_1" != "x$as_lineno_2" &&
7122
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7124
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7125
# uniformly replaced by the line number. The first 'sed' inserts a
7126
# line-number line after each line using $LINENO; the second 'sed'
7127
# does the real work. The second script uses 'N' to pair each
7128
# line-number line with the line containing $LINENO, and appends
7129
# trailing '-' during substitution so that $LINENO is not a special
7131
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7132
# scripts with optimization help from Paolo Bonzini. Blame Lee
7133
# E. McMahon (1931-1989) for sed's syntax. :-)
7145
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7149
chmod +x "$as_me.lineno" ||
7150
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7151
{ (exit 1); exit 1; }; }
7153
# Don't try to exec as it changes $[0], causing all sort of problems
7154
# (the dirname of $[0] is not the place where we might find the
7155
# original and so on. Autoconf is especially sensitive to this).
7157
# Exit status is that of the last command.
7162
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7168
ECHO_C= ECHO_N= ECHO_T=
7171
case `echo 'x\c'` in
7172
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7179
if expr a : '\(a\)' >/dev/null 2>&1 &&
7180
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7186
rm -f conf$$ conf$$.exe conf$$.file
7187
if test -d conf$$.dir; then
7188
rm -f conf$$.dir/conf$$.file
7194
if ln -s conf$$.file conf$$ 2>/dev/null; then
7196
# ... but there are two gotchas:
7197
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7198
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7199
# In both cases, we have to default to `cp -p'.
7200
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7202
elif ln conf$$.file conf$$ 2>/dev/null; then
7207
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7208
rmdir conf$$.dir 2>/dev/null
7210
if mkdir -p . 2>/dev/null; then
7213
test -d ./-p && rmdir ./-p
7217
if test -x / >/dev/null 2>&1; then
7220
if ls -dL / >/dev/null 2>&1; then
7227
if test -d "$1"; then
7233
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7234
???[sx]*):;;*)false;;esac;fi
7238
as_executable_p=$as_test_x
7240
# Sed expression to map a string onto a valid CPP name.
7241
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7243
# Sed expression to map a string onto a valid variable name.
7244
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7249
# Save the log message, to keep $[0] and so on meaningful, and to
7250
# report actual input values of CONFIG_FILES etc. instead of their
7251
# values after options handling.
7253
This file was extended by isight-firmware-tools $as_me 1.2, which was
7254
generated by GNU Autoconf 2.61. Invocation command line was
7256
CONFIG_FILES = $CONFIG_FILES
7257
CONFIG_HEADERS = $CONFIG_HEADERS
7258
CONFIG_LINKS = $CONFIG_LINKS
7259
CONFIG_COMMANDS = $CONFIG_COMMANDS
7262
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7267
cat >>$CONFIG_STATUS <<_ACEOF
7268
# Files that config.status was made for.
7269
config_files="$ac_config_files"
7270
config_headers="$ac_config_headers"
7271
config_commands="$ac_config_commands"
7275
cat >>$CONFIG_STATUS <<\_ACEOF
7277
\`$as_me' instantiates files from templates according to the
7278
current configuration.
7280
Usage: $0 [OPTIONS] [FILE]...
7282
-h, --help print this help, then exit
7283
-V, --version print version number and configuration settings, then exit
7284
-q, --quiet do not print progress messages
7285
-d, --debug don't remove temporary files
7286
--recheck update $as_me by reconfiguring in the same conditions
7287
--file=FILE[:TEMPLATE]
7288
instantiate the configuration file FILE
7289
--header=FILE[:TEMPLATE]
7290
instantiate the configuration header FILE
7292
Configuration files:
7295
Configuration headers:
7298
Configuration commands:
7301
Report bugs to <bug-autoconf@gnu.org>."
7304
cat >>$CONFIG_STATUS <<_ACEOF
7306
isight-firmware-tools config.status 1.2
7307
configured by $0, generated by GNU Autoconf 2.61,
7308
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7310
Copyright (C) 2006 Free Software Foundation, Inc.
7311
This config.status script is free software; the Free Software Foundation
7312
gives unlimited permission to copy, distribute and modify it."
7320
cat >>$CONFIG_STATUS <<\_ACEOF
7321
# If no file are specified by the user, then we need to provide default
7322
# value. By we need to know if files were specified by the user.
7328
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7329
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7340
# Handling of the options.
7341
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7343
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7344
echo "$ac_cs_version"; exit ;;
7345
--debug | --debu | --deb | --de | --d | -d )
7347
--file | --fil | --fi | --f )
7349
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7350
ac_need_defaults=false;;
7351
--header | --heade | --head | --hea )
7353
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7354
ac_need_defaults=false;;
7356
# Conflict between --help and --header
7357
{ echo "$as_me: error: ambiguous option: $1
7358
Try \`$0 --help' for more information." >&2
7359
{ (exit 1); exit 1; }; };;
7360
--help | --hel | -h )
7361
echo "$ac_cs_usage"; exit ;;
7362
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7363
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7367
-*) { echo "$as_me: error: unrecognized option: $1
7368
Try \`$0 --help' for more information." >&2
7369
{ (exit 1); exit 1; }; } ;;
7371
*) ac_config_targets="$ac_config_targets $1"
7372
ac_need_defaults=false ;;
7378
ac_configure_extra_args=
7380
if $ac_cs_silent; then
7382
ac_configure_extra_args="$ac_configure_extra_args --silent"
7386
cat >>$CONFIG_STATUS <<_ACEOF
7387
if \$ac_cs_recheck; then
7388
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7391
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7395
cat >>$CONFIG_STATUS <<\_ACEOF
7399
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7400
## Running $as_me. ##
7406
cat >>$CONFIG_STATUS <<_ACEOF
7410
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7412
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
7413
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
7414
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
7418
cat >>$CONFIG_STATUS <<\_ACEOF
7420
# Handling of arguments.
7421
for ac_config_target in $ac_config_targets
7423
case $ac_config_target in
7424
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7425
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7426
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7427
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7428
"src/isight.rules") CONFIG_FILES="$CONFIG_FILES src/isight.rules" ;;
7429
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7430
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7431
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7432
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
7433
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7435
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7436
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7437
{ (exit 1); exit 1; }; };;
7442
# If the user did not use the arguments to specify the items to instantiate,
7443
# then the envvar interface is used. Set only those that are not.
7444
# We use the long form for the default assignment because of an extremely
7445
# bizarre bug on SunOS 4.1.3.
7446
if $ac_need_defaults; then
7447
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7448
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7449
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7452
# Have a temporary directory for convenience. Make it in the build tree
7453
# simply because there is no reason against having it here, and in addition,
7454
# creating and moving files from /tmp can sometimes cause problems.
7455
# Hook for its removal unless debugging.
7456
# Note that there is a small window in which the directory will not be cleaned:
7457
# after its creation but before its name has been assigned to `$tmp'.
7461
trap 'exit_status=$?
7462
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7464
trap '{ (exit 1); exit 1; }' 1 2 13 15
7466
# Create a (secure) tmp directory for tmp files.
7469
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7470
test -n "$tmp" && test -d "$tmp"
7473
tmp=./conf$$-$RANDOM
7474
(umask 077 && mkdir "$tmp")
7477
echo "$me: cannot create a temporary directory in ." >&2
7478
{ (exit 1); exit 1; }
7482
# Set up the sed scripts for CONFIG_FILES section.
7485
# No need to generate the scripts if there are no CONFIG_FILES.
7486
# This happens for instance when ./config.status config.h
7487
if test -n "$CONFIG_FILES"; then
7494
for ac_last_try in false false false false false :; do
7495
cat >conf$$subs.sed <<_ACEOF
7496
SHELL!$SHELL$ac_delim
7497
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7498
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7499
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7500
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7501
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7502
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7503
exec_prefix!$exec_prefix$ac_delim
7504
prefix!$prefix$ac_delim
7505
program_transform_name!$program_transform_name$ac_delim
7506
bindir!$bindir$ac_delim
7507
sbindir!$sbindir$ac_delim
7508
libexecdir!$libexecdir$ac_delim
7509
datarootdir!$datarootdir$ac_delim
7510
datadir!$datadir$ac_delim
7511
sysconfdir!$sysconfdir$ac_delim
7512
sharedstatedir!$sharedstatedir$ac_delim
7513
localstatedir!$localstatedir$ac_delim
7514
includedir!$includedir$ac_delim
7515
oldincludedir!$oldincludedir$ac_delim
7516
docdir!$docdir$ac_delim
7517
infodir!$infodir$ac_delim
7518
htmldir!$htmldir$ac_delim
7519
dvidir!$dvidir$ac_delim
7520
pdfdir!$pdfdir$ac_delim
7521
psdir!$psdir$ac_delim
7522
libdir!$libdir$ac_delim
7523
localedir!$localedir$ac_delim
7524
mandir!$mandir$ac_delim
7526
ECHO_C!$ECHO_C$ac_delim
7527
ECHO_N!$ECHO_N$ac_delim
7528
ECHO_T!$ECHO_T$ac_delim
7530
build_alias!$build_alias$ac_delim
7531
host_alias!$host_alias$ac_delim
7532
target_alias!$target_alias$ac_delim
7533
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7534
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7535
INSTALL_DATA!$INSTALL_DATA$ac_delim
7536
am__isrc!$am__isrc$ac_delim
7537
CYGPATH_W!$CYGPATH_W$ac_delim
7538
PACKAGE!$PACKAGE$ac_delim
7539
VERSION!$VERSION$ac_delim
7540
ACLOCAL!$ACLOCAL$ac_delim
7541
AUTOCONF!$AUTOCONF$ac_delim
7542
AUTOMAKE!$AUTOMAKE$ac_delim
7543
AUTOHEADER!$AUTOHEADER$ac_delim
7544
MAKEINFO!$MAKEINFO$ac_delim
7545
install_sh!$install_sh$ac_delim
7546
STRIP!$STRIP$ac_delim
7547
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7548
mkdir_p!$mkdir_p$ac_delim
7550
SET_MAKE!$SET_MAKE$ac_delim
7551
am__leading_dot!$am__leading_dot$ac_delim
7552
AMTAR!$AMTAR$ac_delim
7553
am__tar!$am__tar$ac_delim
7554
am__untar!$am__untar$ac_delim
7555
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
7556
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
7557
MAINT!$MAINT$ac_delim
7559
CFLAGS!$CFLAGS$ac_delim
7560
LDFLAGS!$LDFLAGS$ac_delim
7561
CPPFLAGS!$CPPFLAGS$ac_delim
7562
ac_ct_CC!$ac_ct_CC$ac_delim
7563
EXEEXT!$EXEEXT$ac_delim
7564
OBJEXT!$OBJEXT$ac_delim
7565
DEPDIR!$DEPDIR$ac_delim
7566
am__include!$am__include$ac_delim
7567
am__quote!$am__quote$ac_delim
7568
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7569
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7570
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7571
CCDEPMODE!$CCDEPMODE$ac_delim
7572
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7573
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7576
EGREP!$EGREP$ac_delim
7577
PKG_CONFIG!$PKG_CONFIG$ac_delim
7578
IFT_CFLAGS!$IFT_CFLAGS$ac_delim
7579
IFT_LIBS!$IFT_LIBS$ac_delim
7580
LOAD_CFLAGS!$LOAD_CFLAGS$ac_delim
7581
LOAD_LIBS!$LOAD_LIBS$ac_delim
7582
HAL_CFLAGS!$HAL_CFLAGS$ac_delim
7583
HAL_LIBS!$HAL_LIBS$ac_delim
7584
SUPPORT_UDEV_TRUE!$SUPPORT_UDEV_TRUE$ac_delim
7585
SUPPORT_UDEV_FALSE!$SUPPORT_UDEV_FALSE$ac_delim
7586
SUPPORT_HAL_TRUE!$SUPPORT_HAL_TRUE$ac_delim
7587
SUPPORT_HAL_FALSE!$SUPPORT_HAL_FALSE$ac_delim
7588
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
7589
PACKAGE_LOCALE_DIR!$PACKAGE_LOCALE_DIR$ac_delim
7590
USE_NLS!$USE_NLS$ac_delim
7591
MSGFMT!$MSGFMT$ac_delim
7592
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
7595
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7597
elif $ac_last_try; then
7598
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7599
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7600
{ (exit 1); exit 1; }; }
7602
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7606
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7607
if test -n "$ac_eof"; then
7608
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7609
ac_eof=`expr $ac_eof + 1`
7612
cat >>$CONFIG_STATUS <<_ACEOF
7613
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7614
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7617
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7618
s/^/s,@/; s/!/@,|#_!!_#|/
7621
s/'"$ac_delim"'$/,g/; t
7623
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7624
' >>$CONFIG_STATUS <conf$$subs.sed
7625
rm -f conf$$subs.sed
7626
cat >>$CONFIG_STATUS <<_ACEOF
7632
for ac_last_try in false false false false false :; do
7633
cat >conf$$subs.sed <<_ACEOF
7634
GMSGFMT!$GMSGFMT$ac_delim
7635
XGETTEXT!$XGETTEXT$ac_delim
7636
CATALOGS!$CATALOGS$ac_delim
7637
CATOBJEXT!$CATOBJEXT$ac_delim
7638
DATADIRNAME!$DATADIRNAME$ac_delim
7639
GMOFILES!$GMOFILES$ac_delim
7640
INSTOBJEXT!$INSTOBJEXT$ac_delim
7641
INTLLIBS!$INTLLIBS$ac_delim
7642
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
7643
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
7644
POFILES!$POFILES$ac_delim
7645
POSUB!$POSUB$ac_delim
7646
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
7647
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
7648
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
7649
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
7650
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
7651
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
7652
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
7653
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
7654
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
7655
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
7656
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
7657
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
7658
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
7659
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
7660
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
7661
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
7662
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
7663
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
7664
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
7665
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
7666
MSGMERGE!$MSGMERGE$ac_delim
7667
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
7668
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
7669
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
7670
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
7671
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
7672
LIBOBJS!$LIBOBJS$ac_delim
7673
LTLIBOBJS!$LTLIBOBJS$ac_delim
7676
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
7678
elif $ac_last_try; then
7679
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7680
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7681
{ (exit 1); exit 1; }; }
7683
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7687
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7688
if test -n "$ac_eof"; then
7689
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7690
ac_eof=`expr $ac_eof + 1`
7693
cat >>$CONFIG_STATUS <<_ACEOF
7694
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
7695
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7698
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7699
s/^/s,@/; s/!/@,|#_!!_#|/
7702
s/'"$ac_delim"'$/,g/; t
7704
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7705
' >>$CONFIG_STATUS <conf$$subs.sed
7706
rm -f conf$$subs.sed
7707
cat >>$CONFIG_STATUS <<_ACEOF
7714
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7715
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7716
# trailing colons and then remove the whole line if VPATH becomes empty
7717
# (actually we leave an empty line to preserve line numbers).
7718
if test "x$srcdir" = x.; then
7719
ac_vpsub='/^[ ]*VPATH[ ]*=/{
7723
s/^\([^=]*=[ ]*\):*/\1/
7729
cat >>$CONFIG_STATUS <<\_ACEOF
7730
fi # test -n "$CONFIG_FILES"
7733
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7736
:[FHLC]) ac_mode=$ac_tag; continue;;
7738
case $ac_mode$ac_tag in
7740
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7741
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7742
{ (exit 1); exit 1; }; };;
7743
:[FH]-) ac_tag=-:-;;
7744
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7761
-) ac_f="$tmp/stdin";;
7762
*) # Look for the file first in the build tree, then in the source tree
7763
# (if the path is not absolute). The absolute path cannot be DOS-style,
7764
# because $ac_f cannot contain `:'.
7768
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7770
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7771
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7772
{ (exit 1); exit 1; }; };;
7774
ac_file_inputs="$ac_file_inputs $ac_f"
7777
# Let's still pretend it is `configure' which instantiates (i.e., don't
7778
# use $as_me), people would be surprised to read:
7779
# /* config.h. Generated by config.status. */
7780
configure_input="Generated from "`IFS=:
7781
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7782
if test x"$ac_file" != x-; then
7783
configure_input="$ac_file. $configure_input"
7784
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7785
echo "$as_me: creating $ac_file" >&6;}
7789
*:-:* | *:-) cat >"$tmp/stdin";;
7794
ac_dir=`$as_dirname -- "$ac_file" ||
7795
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7796
X"$ac_file" : 'X\(//\)[^/]' \| \
7797
X"$ac_file" : 'X\(//\)$' \| \
7798
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7800
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7819
-*) as_dir=./$as_dir;;
7821
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7825
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7826
*) as_qdir=$as_dir;;
7828
as_dirs="'$as_qdir' $as_dirs"
7829
as_dir=`$as_dirname -- "$as_dir" ||
7830
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7831
X"$as_dir" : 'X\(//\)[^/]' \| \
7832
X"$as_dir" : 'X\(//\)$' \| \
7833
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7835
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7852
test -d "$as_dir" && break
7854
test -z "$as_dirs" || eval "mkdir $as_dirs"
7855
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7856
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7857
{ (exit 1); exit 1; }; }; }
7861
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7863
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7864
# A ".." for each directory in $ac_dir_suffix.
7865
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7866
case $ac_top_builddir_sub in
7867
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7868
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7871
ac_abs_top_builddir=$ac_pwd
7872
ac_abs_builddir=$ac_pwd$ac_dir_suffix
7873
# for backward compatibility:
7874
ac_top_builddir=$ac_top_build_prefix
7877
.) # We are building in place.
7879
ac_top_srcdir=$ac_top_builddir_sub
7880
ac_abs_top_srcdir=$ac_pwd ;;
7881
[\\/]* | ?:[\\/]* ) # Absolute name.
7882
ac_srcdir=$srcdir$ac_dir_suffix;
7883
ac_top_srcdir=$srcdir
7884
ac_abs_top_srcdir=$srcdir ;;
7886
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7887
ac_top_srcdir=$ac_top_build_prefix$srcdir
7888
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7890
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7900
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7901
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7905
[\\/$]* | ?:[\\/]* ) ;;
7906
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7910
cat >>$CONFIG_STATUS <<\_ACEOF
7911
# If the template does not know about datarootdir, expand it.
7912
# FIXME: This hack should be removed a few years after 2.60.
7913
ac_datarootdir_hack=; ac_datarootdir_seen=
7915
case `sed -n '/datarootdir/ {
7924
' $ac_file_inputs` in
7925
*datarootdir*) ac_datarootdir_seen=yes;;
7926
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7927
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7928
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7930
cat >>$CONFIG_STATUS <<_ACEOF
7931
ac_datarootdir_hack='
7932
s&@datadir@&$datadir&g
7933
s&@docdir@&$docdir&g
7934
s&@infodir@&$infodir&g
7935
s&@localedir@&$localedir&g
7936
s&@mandir@&$mandir&g
7937
s&\\\${datarootdir}&$datarootdir&g' ;;
7941
# Neutralize VPATH when `$srcdir' = `.'.
7942
# Shell code in configure.ac might set extrasub.
7943
# FIXME: do we really want to maintain this feature?
7944
cat >>$CONFIG_STATUS <<_ACEOF
7948
cat >>$CONFIG_STATUS <<\_ACEOF
7950
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7951
s&@configure_input@&$configure_input&;t t
7952
s&@top_builddir@&$ac_top_builddir_sub&;t t
7953
s&@srcdir@&$ac_srcdir&;t t
7954
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7955
s&@top_srcdir@&$ac_top_srcdir&;t t
7956
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7957
s&@builddir@&$ac_builddir&;t t
7958
s&@abs_builddir@&$ac_abs_builddir&;t t
7959
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7960
s&@INSTALL@&$ac_INSTALL&;t t
7961
s&@MKDIR_P@&$ac_MKDIR_P&;t t
7962
$ac_datarootdir_hack
7963
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
7965
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7966
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7967
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7968
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7969
which seems to be undefined. Please make sure it is defined." >&5
7970
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7971
which seems to be undefined. Please make sure it is defined." >&2;}
7975
-) cat "$tmp/out"; rm -f "$tmp/out";;
7976
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7985
# Transform confdefs.h into a sed script `conftest.defines', that
7986
# substitutes the proper values into config.h.in to produce config.h.
7987
rm -f conftest.defines conftest.tail
7988
# First, append a space to every undef/define line, to ease matching.
7989
echo 's/$/ /' >conftest.defines
7990
# Then, protect against being on the right side of a sed subst, or in
7991
# an unquoted here document, in config.status. If some macros were
7992
# called several times there might be several #defines for the same
7993
# symbol, which is useless. But do not sort them, since the last
7994
# AC_DEFINE must be honored.
7995
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7996
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7997
# NAME is the cpp macro being defined, VALUE is the value it is being given.
7998
# PARAMS is the parameter list in the macro definition--in most cases, it's
7999
# just an empty string.
8000
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8001
ac_dB='\\)[ (].*,\\1define\\2'
8009
s/^[ ]*#[ ]*define[ ][ ]*//
8014
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8015
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8016
' >>conftest.defines
8018
# Remove the space that was appended to ease matching.
8019
# Then replace #undef with comments. This is necessary, for
8020
# example, in the case of _POSIX_SOURCE, which is predefined and required
8021
# on some systems where configure will not decide to define it.
8022
# (The regexp can be short, since the line contains either #define or #undef.)
8024
s,^[ #]*u.*,/* & */,' >>conftest.defines
8026
# Break up conftest.defines:
8029
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8030
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8031
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8033
ac_in='$ac_file_inputs'
8034
ac_out='"$tmp/out1"'
8035
ac_nxt='"$tmp/out2"'
8039
# Write a here document:
8040
cat >>$CONFIG_STATUS <<_ACEOF
8041
# First, check the format of the line:
8042
cat >"\$tmp/defines.sed" <<\\CEOF
8043
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8044
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8048
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8050
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8051
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8052
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8053
grep . conftest.tail >/dev/null || break
8054
rm -f conftest.defines
8055
mv conftest.tail conftest.defines
8057
rm -f conftest.defines conftest.tail
8059
echo "ac_result=$ac_in" >>$CONFIG_STATUS
8060
cat >>$CONFIG_STATUS <<\_ACEOF
8061
if test x"$ac_file" != x-; then
8062
echo "/* $configure_input */" >"$tmp/config.h"
8063
cat "$ac_result" >>"$tmp/config.h"
8064
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8065
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8066
echo "$as_me: $ac_file is unchanged" >&6;}
8069
mv "$tmp/config.h" $ac_file
8072
echo "/* $configure_input */"
8076
# Compute $ac_file's index in $config_headers.
8079
for _am_header in $config_headers :; do
8081
$_am_arg | $_am_arg:* )
8084
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8087
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8088
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8089
X"$_am_arg" : 'X\(//\)[^/]' \| \
8090
X"$_am_arg" : 'X\(//\)$' \| \
8091
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8093
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8109
s/.*/./; q'`/stamp-h$_am_stamp_count
8112
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8113
echo "$as_me: executing $ac_file commands" >&6;}
8118
case $ac_file$ac_mode in
8119
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8120
# Strip MF so we end up with the name of the file.
8121
mf=`echo "$mf" | sed -e 's/:.*$//'`
8122
# Check whether this is an Automake generated Makefile or not.
8123
# We used to match only the files named `Makefile.in', but
8124
# some people rename them; so instead we look at the file content.
8125
# Grep'ing the first line is not enough: some people post-process
8126
# each Makefile.in and add a new line on top of each file to say so.
8127
# Grep'ing the whole file is not good either: AIX grep has a line
8128
# limit of 2048, but all sed's we know have understand at least 4000.
8129
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8130
dirpart=`$as_dirname -- "$mf" ||
8131
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8132
X"$mf" : 'X\(//\)[^/]' \| \
8133
X"$mf" : 'X\(//\)$' \| \
8134
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8136
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8156
# Extract the definition of DEPDIR, am__include, and am__quote
8157
# from the Makefile without running `make'.
8158
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8159
test -z "$DEPDIR" && continue
8160
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8161
test -z "am__include" && continue
8162
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8163
# When using ansi2knr, U may be empty or an underscore; expand it
8164
U=`sed -n 's/^U = //p' < "$mf"`
8165
# Find all dependency output files, they are included files with
8166
# $(DEPDIR) in their names. We invoke sed twice because it is the
8167
# simplest approach to changing $(DEPDIR) to its actual value in the
8169
for file in `sed -n "
8170
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8171
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8172
# Make sure the directory exists.
8173
test -f "$dirpart/$file" && continue
8174
fdir=`$as_dirname -- "$file" ||
8175
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8176
X"$file" : 'X\(//\)[^/]' \| \
8177
X"$file" : 'X\(//\)$' \| \
8178
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8180
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8197
{ as_dir=$dirpart/$fdir
8199
-*) as_dir=./$as_dir;;
8201
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8205
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8206
*) as_qdir=$as_dir;;
8208
as_dirs="'$as_qdir' $as_dirs"
8209
as_dir=`$as_dirname -- "$as_dir" ||
8210
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8211
X"$as_dir" : 'X\(//\)[^/]' \| \
8212
X"$as_dir" : 'X\(//\)$' \| \
8213
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8215
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8232
test -d "$as_dir" && break
8234
test -z "$as_dirs" || eval "mkdir $as_dirs"
8235
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8236
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8237
{ (exit 1); exit 1; }; }; }
8238
# echo "creating $dirpart/$file"
8239
echo '# dummy' > "$dirpart/$file"
8243
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
8244
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
8248
for file in intltool-extract intltool-merge intltool-update; do
8249
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
8250
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
8251
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
8252
< ${ac_aux_dir}/${file}.in > ${file}.out
8253
if cmp -s ${file} ${file}.out 2>/dev/null; then
8256
mv -f ${file}.out ${file}
8264
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
8269
'"s|^| $ac_top_srcdir/|" \
8270
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
8272
if test ! -f "po/Makefile"; then
8273
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
8274
echo "$as_me: error: po/Makefile is not ready." >&2;}
8275
{ (exit 1); exit 1; }; }
8277
mv "po/Makefile" "po/Makefile.tmp"
8278
sed '/^POTFILES =/,/[^\\]$/ {
8282
' "po/Makefile.tmp" >"po/Makefile"
8283
rm -f "po/Makefile.tmp"
8284
mv "po/stamp-it.tmp" "po/stamp-it"
8291
{ (exit 0); exit 0; }
8293
chmod +x $CONFIG_STATUS
8294
ac_clean_files=$ac_clean_files_save
8297
# configure is writing to config.log, and then calls config.status.
8298
# config.status does its own redirection, appending to config.log.
8299
# Unfortunately, on DOS this fails, as config.log is still kept open
8300
# by configure, so config.status won't be able to write to it; its
8301
# output is simply discarded. So we exec the FD to /dev/null,
8302
# effectively closing config.log, so it can be properly (re)opened and
8303
# appended to by config.status. When coming back to configure, we
8304
# need to make the FD available again.
8305
if test "$no_create" != yes; then
8307
ac_config_status_args=
8308
test "$silent" = yes &&
8309
ac_config_status_args="$ac_config_status_args --quiet"
8311
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8313
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8314
# would make configure fail if this is the last instruction.
8315
$ac_cs_success || { (exit 1); exit 1; }
8321
if test $1 = 0 ; then
8329
echo "HAL callout : " $(yes_no $SUPPORT_HAL)
8330
echo "udev rules : " $(yes_no $SUPPORT_UDEV)
8332
if test $SUPPORT_UDEV = 1 -a $SUPPORT_HAL = 1 ; then
8333
echo `tput smso` "/!\ WARNING: avoid installing both UDEV rules and HAL callout!" `tput rmso`;