3825
3859
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826
3860
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827
3861
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3829
depcc="$CC" am_compiler_list=
3831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3832
$as_echo_n "checking dependency style of $depcc... " >&6; }
3833
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3834
$as_echo_n "(cached) " >&6
3836
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3837
# We make a subdir and do the tests there. Otherwise we can end up
3838
# making bogus files that we don't know about and never remove. For
3839
# instance it was reported that on HP-UX the gcc test will end up
3840
# making a dummy file named `D' -- because `-MD' means `put the output
3843
# Copy depcomp to subdir because otherwise we won't find it if we're
3844
# using a relative directory.
3845
cp "$am_depcomp" conftest.dir
3847
# We will build objects and dependencies in a subdirectory because
3848
# it helps to detect inapplicable dependency modes. For instance
3849
# both Tru64's cc and ICC support -MD to output dependencies as a
3850
# side effect of compilation, but ICC will put the dependencies in
3851
# the current directory while Tru64 will put them in the object
3855
am_cv_CC_dependencies_compiler_type=none
3856
if test "$am_compiler_list" = ""; then
3857
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3860
case " $depcc " in #(
3861
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3864
for depmode in $am_compiler_list; do
3865
# Setup a source with many dependencies, because some compilers
3866
# like to wrap large dependency lists on column 80 (with \), and
3867
# we should not choose a depcomp mode which is confused by this.
3869
# We need to recreate these files for each test, as the compiler may
3870
# overwrite some of them when testing with obscure command lines.
3871
# This happens at least with the AIX C compiler.
3873
for i in 1 2 3 4 5 6; do
3874
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3875
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3876
# Solaris 8's {/usr,}/bin/sh.
3877
touch sub/conftst$i.h
3879
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3881
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3882
# mode. It turns out that the SunPro C++ compiler does not properly
3883
# handle `-M -o', and we need to detect this. Also, some Intel
3884
# versions had trouble with output in subdirs
3885
am__obj=sub/conftest.${OBJEXT-o}
3886
am__minus_obj="-o $am__obj"
3889
# This depmode causes a compiler race in universal mode.
3890
test "$am__universal" = false || continue
3893
# after this tag, mechanisms are not by side-effect, so they'll
3894
# only be used when explicitly requested
3895
if test "x$enable_dependency_tracking" = xyes; then
3901
msvisualcpp | msvcmsys)
3902
# This compiler won't grok `-c -o', but also, the minuso test has
3903
# not run yet. These depmodes are late enough in the game, and
3904
# so weak that their functioning should not be impacted.
3905
am__obj=conftest.${OBJEXT-o}
3910
if depmode=$depmode \
3911
source=sub/conftest.c object=$am__obj \
3912
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3913
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3914
>/dev/null 2>conftest.err &&
3915
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3916
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3917
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3918
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3919
# icc doesn't choke on unknown options, it will just issue warnings
3920
# or remarks (even with -Werror). So we grep stderr for any message
3921
# that says an option was ignored or not supported.
3922
# When given -MP, icc 7.0 and 7.1 complain thusly:
3923
# icc: Command line warning: ignoring option '-M'; no argument required
3924
# The diagnosis changed in icc 8.0:
3925
# icc: Command line remark: option '-MP' not supported
3926
if (grep 'ignoring option' conftest.err ||
3927
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3928
am_cv_CC_dependencies_compiler_type=$depmode
3937
am_cv_CC_dependencies_compiler_type=none
3941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3942
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3943
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3946
test "x$enable_dependency_tracking" != xno \
3947
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3949
am__fastdepCC_FALSE='#'
3951
am__fastdepCC_TRUE='#'
3952
am__fastdepCC_FALSE=
3957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3958
$as_echo_n "checking for library containing strerror... " >&6; }
3959
if test "${ac_cv_search_strerror+set}" = set; then :
3960
$as_echo_n "(cached) " >&6
3962
ac_func_search_save_LIBS=$LIBS
3963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964
/* end confdefs.h. */
3966
/* Override any GCC internal prototype to avoid an error.
3967
Use char because int might match the return type of a GCC
3968
builtin and then its argument prototype would still apply. */
3981
for ac_lib in '' cposix; do
3982
if test -z "$ac_lib"; then
3983
ac_res="none required"
3986
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3988
if ac_fn_c_try_link "$LINENO"; then :
3989
ac_cv_search_strerror=$ac_res
3991
rm -f core conftest.err conftest.$ac_objext \
3993
if test "${ac_cv_search_strerror+set}" = set; then :
3997
if test "${ac_cv_search_strerror+set}" = set; then :
4000
ac_cv_search_strerror=no
4003
LIBS=$ac_func_search_save_LIBS
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4006
$as_echo "$ac_cv_search_strerror" >&6; }
4007
ac_res=$ac_cv_search_strerror
4008
if test "$ac_res" != no; then :
4009
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4014
ac_cpp='$CPP $CPPFLAGS'
4015
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018
if test -n "$ac_tool_prefix"; then
4019
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4020
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4022
$as_echo_n "checking for $ac_word... " >&6; }
4023
if test "${ac_cv_prog_CC+set}" = set; then :
4024
$as_echo_n "(cached) " >&6
4026
if test -n "$CC"; then
4027
ac_cv_prog_CC="$CC" # Let the user override the test.
4029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033
test -z "$as_dir" && as_dir=.
4034
for ac_exec_ext in '' $ac_executable_extensions; do
4035
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4037
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047
if test -n "$CC"; then
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4049
$as_echo "$CC" >&6; }
4051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052
$as_echo "no" >&6; }
4057
if test -z "$ac_cv_prog_CC"; then
4059
# Extract the first word of "gcc", so it can be a program name with args.
4060
set dummy gcc; ac_word=$2
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062
$as_echo_n "checking for $ac_word... " >&6; }
4063
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4064
$as_echo_n "(cached) " >&6
4066
if test -n "$ac_ct_CC"; then
4067
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073
test -z "$as_dir" && as_dir=.
4074
for ac_exec_ext in '' $ac_executable_extensions; do
4075
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4076
ac_cv_prog_ac_ct_CC="gcc"
4077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4087
if test -n "$ac_ct_CC"; then
4088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4089
$as_echo "$ac_ct_CC" >&6; }
4091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092
$as_echo "no" >&6; }
4095
if test "x$ac_ct_CC" = x; then
4098
case $cross_compiling:$ac_tool_warned in
4100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4102
ac_tool_warned=yes ;;
4110
if test -z "$CC"; then
4111
if test -n "$ac_tool_prefix"; then
4112
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4113
set dummy ${ac_tool_prefix}cc; ac_word=$2
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4115
$as_echo_n "checking for $ac_word... " >&6; }
4116
if test "${ac_cv_prog_CC+set}" = set; then :
4117
$as_echo_n "(cached) " >&6
4119
if test -n "$CC"; then
4120
ac_cv_prog_CC="$CC" # Let the user override the test.
4122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126
test -z "$as_dir" && as_dir=.
4127
for ac_exec_ext in '' $ac_executable_extensions; do
4128
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4129
ac_cv_prog_CC="${ac_tool_prefix}cc"
4130
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140
if test -n "$CC"; then
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4142
$as_echo "$CC" >&6; }
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145
$as_echo "no" >&6; }
4151
if test -z "$CC"; then
4152
# Extract the first word of "cc", so it can be a program name with args.
4153
set dummy cc; ac_word=$2
4154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155
$as_echo_n "checking for $ac_word... " >&6; }
4156
if test "${ac_cv_prog_CC+set}" = set; then :
4157
$as_echo_n "(cached) " >&6
4159
if test -n "$CC"; then
4160
ac_cv_prog_CC="$CC" # Let the user override the test.
4163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4167
test -z "$as_dir" && as_dir=.
4168
for ac_exec_ext in '' $ac_executable_extensions; do
4169
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4170
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4171
ac_prog_rejected=yes
4175
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182
if test $ac_prog_rejected = yes; then
4183
# We found a bogon in the path, so make sure we never use it.
4184
set dummy $ac_cv_prog_CC
4186
if test $# != 0; then
4187
# We chose a different compiler from the bogus one.
4188
# However, it has the same basename, so the bogon will be chosen
4189
# first if we set CC to just the basename; use the full file name.
4191
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4197
if test -n "$CC"; then
4198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4199
$as_echo "$CC" >&6; }
4201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202
$as_echo "no" >&6; }
4207
if test -z "$CC"; then
4208
if test -n "$ac_tool_prefix"; then
4209
for ac_prog in cl.exe
4211
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4212
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214
$as_echo_n "checking for $ac_word... " >&6; }
4215
if test "${ac_cv_prog_CC+set}" = set; then :
4216
$as_echo_n "(cached) " >&6
4218
if test -n "$CC"; then
4219
ac_cv_prog_CC="$CC" # Let the user override the test.
4221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225
test -z "$as_dir" && as_dir=.
4226
for ac_exec_ext in '' $ac_executable_extensions; do
4227
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4229
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239
if test -n "$CC"; then
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4241
$as_echo "$CC" >&6; }
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244
$as_echo "no" >&6; }
4248
test -n "$CC" && break
4251
if test -z "$CC"; then
4253
for ac_prog in cl.exe
4255
# Extract the first word of "$ac_prog", so it can be a program name with args.
4256
set dummy $ac_prog; ac_word=$2
4257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258
$as_echo_n "checking for $ac_word... " >&6; }
4259
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4260
$as_echo_n "(cached) " >&6
4262
if test -n "$ac_ct_CC"; then
4263
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269
test -z "$as_dir" && as_dir=.
4270
for ac_exec_ext in '' $ac_executable_extensions; do
4271
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272
ac_cv_prog_ac_ct_CC="$ac_prog"
4273
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4283
if test -n "$ac_ct_CC"; then
4284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4285
$as_echo "$ac_ct_CC" >&6; }
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288
$as_echo "no" >&6; }
4292
test -n "$ac_ct_CC" && break
4295
if test "x$ac_ct_CC" = x; then
4298
case $cross_compiling:$ac_tool_warned in
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4302
ac_tool_warned=yes ;;
4311
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313
as_fn_error "no acceptable C compiler found in \$PATH
4314
See \`config.log' for more details." "$LINENO" 5; }
4316
# Provide some information about the compiler.
4317
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4320
for ac_option in --version -v -V -qversion; do
4321
{ { ac_try="$ac_compiler $ac_option >&5"
4323
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324
*) ac_try_echo=$ac_try;;
4326
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327
$as_echo "$ac_try_echo"; } >&5
4328
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4330
if test -s conftest.err; then
4332
... rest of stderr output deleted ...
4333
10q' conftest.err >conftest.er1
4334
cat conftest.er1 >&5
4336
rm -f conftest.er1 conftest.err
4337
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4338
test $ac_status = 0; }
4341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4342
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4343
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4344
$as_echo_n "(cached) " >&6
4346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347
/* end confdefs.h. */
4360
if ac_fn_c_try_compile "$LINENO"; then :
4365
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4370
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4371
if test $ac_compiler_gnu = yes; then
4376
ac_test_CFLAGS=${CFLAGS+set}
4377
ac_save_CFLAGS=$CFLAGS
4378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4379
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4380
if test "${ac_cv_prog_cc_g+set}" = set; then :
4381
$as_echo_n "(cached) " >&6
4383
ac_save_c_werror_flag=$ac_c_werror_flag
4384
ac_c_werror_flag=yes
4387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388
/* end confdefs.h. */
4398
if ac_fn_c_try_compile "$LINENO"; then :
4402
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403
/* end confdefs.h. */
4413
if ac_fn_c_try_compile "$LINENO"; then :
4416
ac_c_werror_flag=$ac_save_c_werror_flag
4418
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419
/* end confdefs.h. */
4429
if ac_fn_c_try_compile "$LINENO"; then :
4432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4434
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437
ac_c_werror_flag=$ac_save_c_werror_flag
4439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4440
$as_echo "$ac_cv_prog_cc_g" >&6; }
4441
if test "$ac_test_CFLAGS" = set; then
4442
CFLAGS=$ac_save_CFLAGS
4443
elif test $ac_cv_prog_cc_g = yes; then
4444
if test "$GCC" = yes; then
4450
if test "$GCC" = yes; then
4456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4457
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4458
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4459
$as_echo_n "(cached) " >&6
4461
ac_cv_prog_cc_c89=no
4463
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464
/* end confdefs.h. */
4467
#include <sys/types.h>
4468
#include <sys/stat.h>
4469
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4470
struct buf { int x; };
4471
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4472
static char *e (p, i)
4478
static char *f (char * (*g) (char **, int), char **p, ...)
4483
s = g (p, va_arg (v,int));
4488
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4489
function prototypes and stuff, but not '\xHH' hex character constants.
4490
These don't provoke an error unfortunately, instead are silently treated
4491
as 'x'. The following induces an error, until -std is added to get
4492
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4493
array size at least. It's necessary to write '\x00'==0 to get something
4494
that's true only with -std. */
4495
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4497
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4498
inside strings and character constants. */
4500
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4502
int test (int i, double x);
4503
struct s1 {int (*f) (int a);};
4504
struct s2 {int (*f) (double a);};
4505
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4511
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4516
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4517
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4519
CC="$ac_save_CC $ac_arg"
4520
if ac_fn_c_try_compile "$LINENO"; then :
4521
ac_cv_prog_cc_c89=$ac_arg
4523
rm -f core conftest.err conftest.$ac_objext
4524
test "x$ac_cv_prog_cc_c89" != "xno" && break
4526
rm -f conftest.$ac_ext
4531
case "x$ac_cv_prog_cc_c89" in
4533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4534
$as_echo "none needed" >&6; } ;;
4536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4537
$as_echo "unsupported" >&6; } ;;
4539
CC="$CC $ac_cv_prog_cc_c89"
4540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4541
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4543
if test "x$ac_cv_prog_cc_c89" != xno; then :
4548
ac_cpp='$CPP $CPPFLAGS'
4549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4553
depcc="$CC" am_compiler_list=
4555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4556
$as_echo_n "checking dependency style of $depcc... " >&6; }
4557
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4558
$as_echo_n "(cached) " >&6
4560
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4561
# We make a subdir and do the tests there. Otherwise we can end up
4562
# making bogus files that we don't know about and never remove. For
4563
# instance it was reported that on HP-UX the gcc test will end up
4564
# making a dummy file named `D' -- because `-MD' means `put the output
4567
# Copy depcomp to subdir because otherwise we won't find it if we're
4568
# using a relative directory.
4569
cp "$am_depcomp" conftest.dir
4571
# We will build objects and dependencies in a subdirectory because
4572
# it helps to detect inapplicable dependency modes. For instance
4573
# both Tru64's cc and ICC support -MD to output dependencies as a
4574
# side effect of compilation, but ICC will put the dependencies in
4575
# the current directory while Tru64 will put them in the object
4579
am_cv_CC_dependencies_compiler_type=none
4580
if test "$am_compiler_list" = ""; then
4581
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4584
case " $depcc " in #(
4585
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4588
for depmode in $am_compiler_list; do
4589
# Setup a source with many dependencies, because some compilers
4590
# like to wrap large dependency lists on column 80 (with \), and
4591
# we should not choose a depcomp mode which is confused by this.
4593
# We need to recreate these files for each test, as the compiler may
4594
# overwrite some of them when testing with obscure command lines.
4595
# This happens at least with the AIX C compiler.
4597
for i in 1 2 3 4 5 6; do
4598
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4599
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4600
# Solaris 8's {/usr,}/bin/sh.
4601
touch sub/conftst$i.h
4603
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4605
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4606
# mode. It turns out that the SunPro C++ compiler does not properly
4607
# handle `-M -o', and we need to detect this. Also, some Intel
4608
# versions had trouble with output in subdirs
4609
am__obj=sub/conftest.${OBJEXT-o}
4610
am__minus_obj="-o $am__obj"
4613
# This depmode causes a compiler race in universal mode.
4614
test "$am__universal" = false || continue
4617
# after this tag, mechanisms are not by side-effect, so they'll
4618
# only be used when explicitly requested
4619
if test "x$enable_dependency_tracking" = xyes; then
4625
msvisualcpp | msvcmsys)
4626
# This compiler won't grok `-c -o', but also, the minuso test has
4627
# not run yet. These depmodes are late enough in the game, and
4628
# so weak that their functioning should not be impacted.
4629
am__obj=conftest.${OBJEXT-o}
4634
if depmode=$depmode \
4635
source=sub/conftest.c object=$am__obj \
4636
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4637
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4638
>/dev/null 2>conftest.err &&
4639
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4640
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4641
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4642
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4643
# icc doesn't choke on unknown options, it will just issue warnings
4644
# or remarks (even with -Werror). So we grep stderr for any message
4645
# that says an option was ignored or not supported.
4646
# When given -MP, icc 7.0 and 7.1 complain thusly:
4647
# icc: Command line warning: ignoring option '-M'; no argument required
4648
# The diagnosis changed in icc 8.0:
4649
# icc: Command line remark: option '-MP' not supported
4650
if (grep 'ignoring option' conftest.err ||
4651
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4652
am_cv_CC_dependencies_compiler_type=$depmode
4661
am_cv_CC_dependencies_compiler_type=none
4665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4666
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4667
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4670
test "x$enable_dependency_tracking" != xno \
4671
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4673
am__fastdepCC_FALSE='#'
4675
am__fastdepCC_TRUE='#'
4676
am__fastdepCC_FALSE=
4681
ac_cpp='$CPP $CPPFLAGS'
4682
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4685
if test -n "$ac_tool_prefix"; then
4686
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4687
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689
$as_echo_n "checking for $ac_word... " >&6; }
4690
if test "${ac_cv_prog_CC+set}" = set; then :
4691
$as_echo_n "(cached) " >&6
4693
if test -n "$CC"; then
4694
ac_cv_prog_CC="$CC" # Let the user override the test.
4696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700
test -z "$as_dir" && as_dir=.
4701
for ac_exec_ext in '' $ac_executable_extensions; do
4702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4704
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714
if test -n "$CC"; then
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4716
$as_echo "$CC" >&6; }
4718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719
$as_echo "no" >&6; }
4724
if test -z "$ac_cv_prog_CC"; then
4726
# Extract the first word of "gcc", so it can be a program name with args.
4727
set dummy gcc; ac_word=$2
4728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729
$as_echo_n "checking for $ac_word... " >&6; }
4730
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4731
$as_echo_n "(cached) " >&6
4733
if test -n "$ac_ct_CC"; then
4734
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740
test -z "$as_dir" && as_dir=.
4741
for ac_exec_ext in '' $ac_executable_extensions; do
4742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4743
ac_cv_prog_ac_ct_CC="gcc"
4744
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4754
if test -n "$ac_ct_CC"; then
4755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4756
$as_echo "$ac_ct_CC" >&6; }
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759
$as_echo "no" >&6; }
4762
if test "x$ac_ct_CC" = x; then
4765
case $cross_compiling:$ac_tool_warned in
4767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4768
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4769
ac_tool_warned=yes ;;
4777
if test -z "$CC"; then
4778
if test -n "$ac_tool_prefix"; then
4779
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4780
set dummy ${ac_tool_prefix}cc; ac_word=$2
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782
$as_echo_n "checking for $ac_word... " >&6; }
4783
if test "${ac_cv_prog_CC+set}" = set; then :
4784
$as_echo_n "(cached) " >&6
4786
if test -n "$CC"; then
4787
ac_cv_prog_CC="$CC" # Let the user override the test.
4789
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793
test -z "$as_dir" && as_dir=.
4794
for ac_exec_ext in '' $ac_executable_extensions; do
4795
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796
ac_cv_prog_CC="${ac_tool_prefix}cc"
4797
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807
if test -n "$CC"; then
4808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4809
$as_echo "$CC" >&6; }
4811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812
$as_echo "no" >&6; }
4818
if test -z "$CC"; then
4819
# Extract the first word of "cc", so it can be a program name with args.
4820
set dummy cc; ac_word=$2
4821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822
$as_echo_n "checking for $ac_word... " >&6; }
4823
if test "${ac_cv_prog_CC+set}" = set; then :
4824
$as_echo_n "(cached) " >&6
4826
if test -n "$CC"; then
4827
ac_cv_prog_CC="$CC" # Let the user override the test.
4830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834
test -z "$as_dir" && as_dir=.
4835
for ac_exec_ext in '' $ac_executable_extensions; do
4836
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4838
ac_prog_rejected=yes
4842
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849
if test $ac_prog_rejected = yes; then
4850
# We found a bogon in the path, so make sure we never use it.
4851
set dummy $ac_cv_prog_CC
4853
if test $# != 0; then
4854
# We chose a different compiler from the bogus one.
4855
# However, it has the same basename, so the bogon will be chosen
4856
# first if we set CC to just the basename; use the full file name.
4858
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4864
if test -n "$CC"; then
4865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4866
$as_echo "$CC" >&6; }
4868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869
$as_echo "no" >&6; }
4874
if test -z "$CC"; then
4875
if test -n "$ac_tool_prefix"; then
4876
for ac_prog in cl.exe
4878
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4879
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881
$as_echo_n "checking for $ac_word... " >&6; }
4882
if test "${ac_cv_prog_CC+set}" = set; then :
4883
$as_echo_n "(cached) " >&6
4885
if test -n "$CC"; then
4886
ac_cv_prog_CC="$CC" # Let the user override the test.
4888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892
test -z "$as_dir" && as_dir=.
4893
for ac_exec_ext in '' $ac_executable_extensions; do
4894
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4896
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906
if test -n "$CC"; then
4907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4908
$as_echo "$CC" >&6; }
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911
$as_echo "no" >&6; }
4915
test -n "$CC" && break
4918
if test -z "$CC"; then
4920
for ac_prog in cl.exe
4922
# Extract the first word of "$ac_prog", so it can be a program name with args.
4923
set dummy $ac_prog; ac_word=$2
4924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925
$as_echo_n "checking for $ac_word... " >&6; }
4926
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4927
$as_echo_n "(cached) " >&6
4929
if test -n "$ac_ct_CC"; then
4930
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936
test -z "$as_dir" && as_dir=.
4937
for ac_exec_ext in '' $ac_executable_extensions; do
4938
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4939
ac_cv_prog_ac_ct_CC="$ac_prog"
4940
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4950
if test -n "$ac_ct_CC"; then
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4952
$as_echo "$ac_ct_CC" >&6; }
4954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955
$as_echo "no" >&6; }
4959
test -n "$ac_ct_CC" && break
4962
if test "x$ac_ct_CC" = x; then
4965
case $cross_compiling:$ac_tool_warned in
4967
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969
ac_tool_warned=yes ;;
4978
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4980
as_fn_error "no acceptable C compiler found in \$PATH
4981
See \`config.log' for more details." "$LINENO" 5; }
3862
DEPDIR="${am__leading_dot}deps"
3864
ac_config_commands="$ac_config_commands depfiles"
3867
am_make=${MAKE-make}
3868
cat > confinc << 'END'
3870
@echo this is the am__doit target
3873
# If we don't find an include directive, just comment out the code.
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3875
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3879
# First try GNU make style include.
3880
echo "include confinc" > confmf
3881
# Ignore all kinds of additional output from `make'.
3882
case `$am_make -s -f confmf 2> /dev/null` in #(
3883
*the\ am__doit\ target*)
3889
# Now try BSD make style include.
3890
if test "$am__include" = "#"; then
3891
echo '.include "confinc"' > confmf
3892
case `$am_make -s -f confmf 2> /dev/null` in #(
3893
*the\ am__doit\ target*)
3894
am__include=.include
3902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3903
$as_echo "$_am_result" >&6; }
3904
rm -f confinc confmf
3906
# Check whether --enable-dependency-tracking was given.
3907
if test "${enable_dependency_tracking+set}" = set; then :
3908
enableval=$enable_dependency_tracking;
3911
if test "x$enable_dependency_tracking" != xno; then
3912
am_depcomp="$ac_aux_dir/depcomp"
3915
if test "x$enable_dependency_tracking" != xno; then
3925
depcc="$CC" am_compiler_list=
3927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3928
$as_echo_n "checking dependency style of $depcc... " >&6; }
3929
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3930
$as_echo_n "(cached) " >&6
3932
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3933
# We make a subdir and do the tests there. Otherwise we can end up
3934
# making bogus files that we don't know about and never remove. For
3935
# instance it was reported that on HP-UX the gcc test will end up
3936
# making a dummy file named `D' -- because `-MD' means `put the output
3939
# Copy depcomp to subdir because otherwise we won't find it if we're
3940
# using a relative directory.
3941
cp "$am_depcomp" conftest.dir
3943
# We will build objects and dependencies in a subdirectory because
3944
# it helps to detect inapplicable dependency modes. For instance
3945
# both Tru64's cc and ICC support -MD to output dependencies as a
3946
# side effect of compilation, but ICC will put the dependencies in
3947
# the current directory while Tru64 will put them in the object
3951
am_cv_CC_dependencies_compiler_type=none
3952
if test "$am_compiler_list" = ""; then
3953
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3956
case " $depcc " in #(
3957
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3960
for depmode in $am_compiler_list; do
3961
# Setup a source with many dependencies, because some compilers
3962
# like to wrap large dependency lists on column 80 (with \), and
3963
# we should not choose a depcomp mode which is confused by this.
3965
# We need to recreate these files for each test, as the compiler may
3966
# overwrite some of them when testing with obscure command lines.
3967
# This happens at least with the AIX C compiler.
3969
for i in 1 2 3 4 5 6; do
3970
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3971
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3972
# Solaris 8's {/usr,}/bin/sh.
3973
touch sub/conftst$i.h
3975
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3977
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3978
# mode. It turns out that the SunPro C++ compiler does not properly
3979
# handle `-M -o', and we need to detect this. Also, some Intel
3980
# versions had trouble with output in subdirs
3981
am__obj=sub/conftest.${OBJEXT-o}
3982
am__minus_obj="-o $am__obj"
3985
# This depmode causes a compiler race in universal mode.
3986
test "$am__universal" = false || continue
3989
# after this tag, mechanisms are not by side-effect, so they'll
3990
# only be used when explicitly requested
3991
if test "x$enable_dependency_tracking" = xyes; then
3997
msvisualcpp | msvcmsys)
3998
# This compiler won't grok `-c -o', but also, the minuso test has
3999
# not run yet. These depmodes are late enough in the game, and
4000
# so weak that their functioning should not be impacted.
4001
am__obj=conftest.${OBJEXT-o}
4006
if depmode=$depmode \
4007
source=sub/conftest.c object=$am__obj \
4008
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4009
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4010
>/dev/null 2>conftest.err &&
4011
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4012
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4013
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4014
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4015
# icc doesn't choke on unknown options, it will just issue warnings
4016
# or remarks (even with -Werror). So we grep stderr for any message
4017
# that says an option was ignored or not supported.
4018
# When given -MP, icc 7.0 and 7.1 complain thusly:
4019
# icc: Command line warning: ignoring option '-M'; no argument required
4020
# The diagnosis changed in icc 8.0:
4021
# icc: Command line remark: option '-MP' not supported
4022
if (grep 'ignoring option' conftest.err ||
4023
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4024
am_cv_CC_dependencies_compiler_type=$depmode
4033
am_cv_CC_dependencies_compiler_type=none
4037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4038
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4039
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4042
test "x$enable_dependency_tracking" != xno \
4043
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4045
am__fastdepCC_FALSE='#'
4047
am__fastdepCC_TRUE='#'
4048
am__fastdepCC_FALSE=
4053
ac_cpp='$CPP $CPPFLAGS'
4054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057
if test -n "$ac_tool_prefix"; then
4058
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4059
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061
$as_echo_n "checking for $ac_word... " >&6; }
4062
if test "${ac_cv_prog_CC+set}" = set; then :
4063
$as_echo_n "(cached) " >&6
4065
if test -n "$CC"; then
4066
ac_cv_prog_CC="$CC" # Let the user override the test.
4068
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072
test -z "$as_dir" && as_dir=.
4073
for ac_exec_ext in '' $ac_executable_extensions; do
4074
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4075
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4076
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086
if test -n "$CC"; then
4087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088
$as_echo "$CC" >&6; }
4090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091
$as_echo "no" >&6; }
4096
if test -z "$ac_cv_prog_CC"; then
4098
# Extract the first word of "gcc", so it can be a program name with args.
4099
set dummy gcc; ac_word=$2
4100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101
$as_echo_n "checking for $ac_word... " >&6; }
4102
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4103
$as_echo_n "(cached) " >&6
4105
if test -n "$ac_ct_CC"; then
4106
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112
test -z "$as_dir" && as_dir=.
4113
for ac_exec_ext in '' $ac_executable_extensions; do
4114
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4115
ac_cv_prog_ac_ct_CC="gcc"
4116
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4126
if test -n "$ac_ct_CC"; then
4127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4128
$as_echo "$ac_ct_CC" >&6; }
4130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131
$as_echo "no" >&6; }
4134
if test "x$ac_ct_CC" = x; then
4137
case $cross_compiling:$ac_tool_warned in
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4140
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4141
ac_tool_warned=yes ;;
4149
if test -z "$CC"; then
4150
if test -n "$ac_tool_prefix"; then
4151
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4152
set dummy ${ac_tool_prefix}cc; ac_word=$2
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154
$as_echo_n "checking for $ac_word... " >&6; }
4155
if test "${ac_cv_prog_CC+set}" = set; then :
4156
$as_echo_n "(cached) " >&6
4158
if test -n "$CC"; then
4159
ac_cv_prog_CC="$CC" # Let the user override the test.
4161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165
test -z "$as_dir" && as_dir=.
4166
for ac_exec_ext in '' $ac_executable_extensions; do
4167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168
ac_cv_prog_CC="${ac_tool_prefix}cc"
4169
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179
if test -n "$CC"; then
4180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181
$as_echo "$CC" >&6; }
4183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184
$as_echo "no" >&6; }
4190
if test -z "$CC"; then
4191
# Extract the first word of "cc", so it can be a program name with args.
4192
set dummy cc; ac_word=$2
4193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194
$as_echo_n "checking for $ac_word... " >&6; }
4195
if test "${ac_cv_prog_CC+set}" = set; then :
4196
$as_echo_n "(cached) " >&6
4198
if test -n "$CC"; then
4199
ac_cv_prog_CC="$CC" # Let the user override the test.
4202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206
test -z "$as_dir" && as_dir=.
4207
for ac_exec_ext in '' $ac_executable_extensions; do
4208
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4209
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4210
ac_prog_rejected=yes
4214
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221
if test $ac_prog_rejected = yes; then
4222
# We found a bogon in the path, so make sure we never use it.
4223
set dummy $ac_cv_prog_CC
4225
if test $# != 0; then
4226
# We chose a different compiler from the bogus one.
4227
# However, it has the same basename, so the bogon will be chosen
4228
# first if we set CC to just the basename; use the full file name.
4230
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4236
if test -n "$CC"; then
4237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4238
$as_echo "$CC" >&6; }
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241
$as_echo "no" >&6; }
4246
if test -z "$CC"; then
4247
if test -n "$ac_tool_prefix"; then
4248
for ac_prog in cl.exe
4250
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4251
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253
$as_echo_n "checking for $ac_word... " >&6; }
4254
if test "${ac_cv_prog_CC+set}" = set; then :
4255
$as_echo_n "(cached) " >&6
4257
if test -n "$CC"; then
4258
ac_cv_prog_CC="$CC" # Let the user override the test.
4260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264
test -z "$as_dir" && as_dir=.
4265
for ac_exec_ext in '' $ac_executable_extensions; do
4266
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4267
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4268
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278
if test -n "$CC"; then
4279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4280
$as_echo "$CC" >&6; }
4282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283
$as_echo "no" >&6; }
4287
test -n "$CC" && break
4290
if test -z "$CC"; then
4292
for ac_prog in cl.exe
4294
# Extract the first word of "$ac_prog", so it can be a program name with args.
4295
set dummy $ac_prog; ac_word=$2
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297
$as_echo_n "checking for $ac_word... " >&6; }
4298
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4299
$as_echo_n "(cached) " >&6
4301
if test -n "$ac_ct_CC"; then
4302
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308
test -z "$as_dir" && as_dir=.
4309
for ac_exec_ext in '' $ac_executable_extensions; do
4310
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4311
ac_cv_prog_ac_ct_CC="$ac_prog"
4312
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4322
if test -n "$ac_ct_CC"; then
4323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4324
$as_echo "$ac_ct_CC" >&6; }
4326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327
$as_echo "no" >&6; }
4331
test -n "$ac_ct_CC" && break
4334
if test "x$ac_ct_CC" = x; then
4337
case $cross_compiling:$ac_tool_warned in
4339
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4340
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4341
ac_tool_warned=yes ;;
4350
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4352
as_fn_error $? "no acceptable C compiler found in \$PATH
4353
See \`config.log' for more details" "$LINENO" 5 ; }
4983
4355
# Provide some information about the compiler.
4984
4356
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11598
GETTEXT_MACRO_VERSION=0.17
11603
# Prepare PATH_SEPARATOR.
11604
# The user is always right.
11605
if test "${PATH_SEPARATOR+set}" != set; then
11606
echo "#! /bin/sh" >conf$$.sh
11607
echo "exit 0" >>conf$$.sh
11609
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11617
# Find out how to test for executable files. Don't use a zero-byte file,
11618
# as systems may use methods other than mode bits to determine executability.
11619
cat >conf$$.file <<_ASEOF
11623
chmod +x conf$$.file
11624
if test -x conf$$.file >/dev/null 2>&1; then
11625
ac_executable_p="test -x"
11627
ac_executable_p="test -f"
11631
# Extract the first word of "msgfmt", so it can be a program name with args.
11632
set dummy msgfmt; ac_word=$2
11633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11634
$as_echo_n "checking for $ac_word... " >&6; }
11635
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11636
$as_echo_n "(cached) " >&6
11640
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11643
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11644
for ac_dir in $PATH; do
11646
test -z "$ac_dir" && ac_dir=.
11647
for ac_exec_ext in '' $ac_executable_extensions; do
11648
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11649
echo "$as_me: trying $ac_dir/$ac_word..." >&5
11650
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11651
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11652
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11659
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11663
MSGFMT="$ac_cv_path_MSGFMT"
11664
if test "$MSGFMT" != ":"; then
11665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11666
$as_echo "$MSGFMT" >&6; }
11668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11669
$as_echo "no" >&6; }
11672
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11673
set dummy gmsgfmt; ac_word=$2
11674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675
$as_echo_n "checking for $ac_word... " >&6; }
11676
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11677
$as_echo_n "(cached) " >&6
11681
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685
for as_dir in $PATH
11688
test -z "$as_dir" && as_dir=.
11689
for ac_exec_ext in '' $ac_executable_extensions; do
11690
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11691
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11692
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11699
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11703
GMSGFMT=$ac_cv_path_GMSGFMT
11704
if test -n "$GMSGFMT"; then
11705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11706
$as_echo "$GMSGFMT" >&6; }
11708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709
$as_echo "no" >&6; }
11714
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11715
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11716
*) MSGFMT_015=$MSGFMT ;;
11719
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11720
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11721
*) GMSGFMT_015=$GMSGFMT ;;
11726
# Prepare PATH_SEPARATOR.
11727
# The user is always right.
11728
if test "${PATH_SEPARATOR+set}" != set; then
11729
echo "#! /bin/sh" >conf$$.sh
11730
echo "exit 0" >>conf$$.sh
11732
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11740
# Find out how to test for executable files. Don't use a zero-byte file,
11741
# as systems may use methods other than mode bits to determine executability.
11742
cat >conf$$.file <<_ASEOF
11746
chmod +x conf$$.file
11747
if test -x conf$$.file >/dev/null 2>&1; then
11748
ac_executable_p="test -x"
11750
ac_executable_p="test -f"
11754
# Extract the first word of "xgettext", so it can be a program name with args.
11755
set dummy xgettext; ac_word=$2
11756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757
$as_echo_n "checking for $ac_word... " >&6; }
11758
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11759
$as_echo_n "(cached) " >&6
11761
case "$XGETTEXT" in
11763
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11766
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11767
for ac_dir in $PATH; do
11769
test -z "$ac_dir" && ac_dir=.
11770
for ac_exec_ext in '' $ac_executable_extensions; do
11771
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11772
echo "$as_me: trying $ac_dir/$ac_word..." >&5
11773
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11774
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11775
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11782
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11786
XGETTEXT="$ac_cv_path_XGETTEXT"
11787
if test "$XGETTEXT" != ":"; then
11788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11789
$as_echo "$XGETTEXT" >&6; }
11791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792
$as_echo "no" >&6; }
11797
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11798
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11799
*) XGETTEXT_015=$XGETTEXT ;;
11804
# Prepare PATH_SEPARATOR.
11805
# The user is always right.
11806
if test "${PATH_SEPARATOR+set}" != set; then
11807
echo "#! /bin/sh" >conf$$.sh
11808
echo "exit 0" >>conf$$.sh
11810
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11818
# Find out how to test for executable files. Don't use a zero-byte file,
11819
# as systems may use methods other than mode bits to determine executability.
11820
cat >conf$$.file <<_ASEOF
11824
chmod +x conf$$.file
11825
if test -x conf$$.file >/dev/null 2>&1; then
11826
ac_executable_p="test -x"
11828
ac_executable_p="test -f"
11832
# Extract the first word of "msgmerge", so it can be a program name with args.
11833
set dummy msgmerge; ac_word=$2
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11835
$as_echo_n "checking for $ac_word... " >&6; }
11836
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11837
$as_echo_n "(cached) " >&6
11839
case "$MSGMERGE" in
11841
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11844
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11845
for ac_dir in $PATH; do
11847
test -z "$ac_dir" && ac_dir=.
11848
for ac_exec_ext in '' $ac_executable_extensions; do
11849
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11850
echo "$as_me: trying $ac_dir/$ac_word..." >&5
11851
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
11852
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11859
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11863
MSGMERGE="$ac_cv_path_MSGMERGE"
11864
if test "$MSGMERGE" != ":"; then
11865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11866
$as_echo "$MSGMERGE" >&6; }
11868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869
$as_echo "no" >&6; }
11873
test -n "$localedir" || localedir='${datadir}/locale'
11876
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
11879
ac_config_commands="$ac_config_commands po-directories"
11883
if test "X$prefix" = "XNONE"; then
11884
acl_final_prefix="$ac_default_prefix"
11886
acl_final_prefix="$prefix"
11888
if test "X$exec_prefix" = "XNONE"; then
11889
acl_final_exec_prefix='${prefix}'
11891
acl_final_exec_prefix="$exec_prefix"
11893
acl_save_prefix="$prefix"
11894
prefix="$acl_final_prefix"
11895
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
11896
prefix="$acl_save_prefix"
11899
# Check whether --with-gnu-ld was given.
11900
if test "${with_gnu_ld+set}" = set; then :
11901
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11906
# Prepare PATH_SEPARATOR.
11907
# The user is always right.
11908
if test "${PATH_SEPARATOR+set}" != set; then
11909
echo "#! /bin/sh" >conf$$.sh
11910
echo "exit 0" >>conf$$.sh
11912
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11920
if test "$GCC" = yes; then
11921
# Check if gcc -print-prog-name=ld gives a path.
11922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
11923
$as_echo_n "checking for ld used by GCC... " >&6; }
11926
# gcc leaves a trailing carriage return which upsets mingw
11927
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11929
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11932
# Accept absolute paths.
11933
[\\/]* | [A-Za-z]:[\\/]*)
11934
re_direlt='/[^/][^/]*/\.\./'
11935
# Canonicalize the path of ld
11936
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
11937
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11938
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
11940
test -z "$LD" && LD="$ac_prog"
11943
# If it fails, then pretend we aren't using GCC.
11947
# If it is relative, then search for the first ld in PATH.
11948
with_gnu_ld=unknown
11951
elif test "$with_gnu_ld" = yes; then
11952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11953
$as_echo_n "checking for GNU ld... " >&6; }
11955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11956
$as_echo_n "checking for non-GNU ld... " >&6; }
11958
if test "${acl_cv_path_LD+set}" = set; then :
11959
$as_echo_n "(cached) " >&6
11961
if test -z "$LD"; then
11962
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
11963
for ac_dir in $PATH; do
11964
test -z "$ac_dir" && ac_dir=.
11965
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11966
acl_cv_path_LD="$ac_dir/$ac_prog"
11967
# Check to see if the program is GNU ld. I'd rather use --version,
11968
# but apparently some GNU ld's only accept -v.
11969
# Break only if it was the GNU/non-GNU ld that we prefer.
11970
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
11971
*GNU* | *'with BFD'*)
11972
test "$with_gnu_ld" != no && break ;;
11974
test "$with_gnu_ld" != yes && break ;;
11980
acl_cv_path_LD="$LD" # Let the user override the test with a path.
11984
LD="$acl_cv_path_LD"
11985
if test -n "$LD"; then
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11987
$as_echo "$LD" >&6; }
11989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990
$as_echo "no" >&6; }
11992
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11994
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11995
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
11996
$as_echo_n "(cached) " >&6
11998
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
11999
case `$LD -v 2>&1 </dev/null` in
12000
*GNU* | *'with BFD'*)
12001
acl_cv_prog_gnu_ld=yes ;;
12003
acl_cv_prog_gnu_ld=no ;;
12006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12007
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12008
with_gnu_ld=$acl_cv_prog_gnu_ld
12013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12014
$as_echo_n "checking for shared library run path origin... " >&6; }
12015
if test "${acl_cv_rpath+set}" = set; then :
12016
$as_echo_n "(cached) " >&6
12019
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12020
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12022
rm -f ./conftest.sh
12026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12027
$as_echo "$acl_cv_rpath" >&6; }
12029
acl_libext="$acl_cv_libext"
12030
acl_shlibext="$acl_cv_shlibext"
12031
acl_libname_spec="$acl_cv_libname_spec"
12032
acl_library_names_spec="$acl_cv_library_names_spec"
12033
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12034
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12035
acl_hardcode_direct="$acl_cv_hardcode_direct"
12036
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12037
# Check whether --enable-rpath was given.
12038
if test "${enable_rpath+set}" = set; then :
12039
enableval=$enable_rpath; :
12047
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12048
if test -n "$searchpath"; then
12049
acl_save_IFS="${IFS= }"; IFS=":"
12050
for searchdir in $searchpath; do
12051
if test -d "$searchdir"; then
12052
case "$searchdir" in
12053
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12054
*) searchdir=`cd "$searchdir" && pwd`
12055
case "$searchdir" in
12056
*/lib64 ) acl_libdirstem=lib64 ;;
12061
IFS="$acl_save_IFS"
12074
acl_save_prefix="$prefix"
12075
prefix="$acl_final_prefix"
12076
acl_save_exec_prefix="$exec_prefix"
12077
exec_prefix="$acl_final_exec_prefix"
12079
eval additional_includedir=\"$includedir\"
12080
eval additional_libdir=\"$libdir\"
12082
exec_prefix="$acl_save_exec_prefix"
12083
prefix="$acl_save_prefix"
12086
# Check whether --with-libiconv-prefix was given.
12087
if test "${with_libiconv_prefix+set}" = set; then :
12088
withval=$with_libiconv_prefix;
12089
if test "X$withval" = "Xno"; then
12092
if test "X$withval" = "X"; then
12094
acl_save_prefix="$prefix"
12095
prefix="$acl_final_prefix"
12096
acl_save_exec_prefix="$exec_prefix"
12097
exec_prefix="$acl_final_exec_prefix"
12099
eval additional_includedir=\"$includedir\"
12100
eval additional_libdir=\"$libdir\"
12102
exec_prefix="$acl_save_exec_prefix"
12103
prefix="$acl_save_prefix"
12106
additional_includedir="$withval/include"
12107
additional_libdir="$withval/$acl_libdirstem"
12119
names_already_handled=
12120
names_next_round='iconv '
12121
while test -n "$names_next_round"; do
12122
names_this_round="$names_next_round"
12124
for name in $names_this_round; do
12126
for n in $names_already_handled; do
12127
if test "$n" = "$name"; then
12128
already_handled=yes
12132
if test -z "$already_handled"; then
12133
names_already_handled="$names_already_handled $name"
12134
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12135
eval value=\"\$HAVE_LIB$uppername\"
12136
if test -n "$value"; then
12137
if test "$value" = yes; then
12138
eval value=\"\$LIB$uppername\"
12139
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12140
eval value=\"\$LTLIB$uppername\"
12141
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12150
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12151
if test -n "$acl_shlibext"; then
12152
shrext=".$acl_shlibext" # typically: shrext=.so
12156
if test $use_additional = yes; then
12157
dir="$additional_libdir"
12158
if test -n "$acl_shlibext"; then
12159
if test -f "$dir/$libname$shrext"; then
12161
found_so="$dir/$libname$shrext"
12163
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12164
ver=`(cd "$dir" && \
12165
for f in "$libname$shrext".*; do echo "$f"; done \
12166
| sed -e "s,^$libname$shrext\\\\.,," \
12167
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12168
| sed 1q ) 2>/dev/null`
12169
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12171
found_so="$dir/$libname$shrext.$ver"
12174
eval library_names=\"$acl_library_names_spec\"
12175
for f in $library_names; do
12176
if test -f "$dir/$f"; then
12185
if test "X$found_dir" = "X"; then
12186
if test -f "$dir/$libname.$acl_libext"; then
12188
found_a="$dir/$libname.$acl_libext"
12191
if test "X$found_dir" != "X"; then
12192
if test -f "$dir/$libname.la"; then
12193
found_la="$dir/$libname.la"
12197
if test "X$found_dir" = "X"; then
12198
for x in $LDFLAGS $LTLIBICONV; do
12200
acl_save_prefix="$prefix"
12201
prefix="$acl_final_prefix"
12202
acl_save_exec_prefix="$exec_prefix"
12203
exec_prefix="$acl_final_exec_prefix"
12205
exec_prefix="$acl_save_exec_prefix"
12206
prefix="$acl_save_prefix"
12210
dir=`echo "X$x" | sed -e 's/^X-L//'`
12211
if test -n "$acl_shlibext"; then
12212
if test -f "$dir/$libname$shrext"; then
12214
found_so="$dir/$libname$shrext"
12216
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12217
ver=`(cd "$dir" && \
12218
for f in "$libname$shrext".*; do echo "$f"; done \
12219
| sed -e "s,^$libname$shrext\\\\.,," \
12220
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12221
| sed 1q ) 2>/dev/null`
12222
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12224
found_so="$dir/$libname$shrext.$ver"
12227
eval library_names=\"$acl_library_names_spec\"
12228
for f in $library_names; do
12229
if test -f "$dir/$f"; then
12238
if test "X$found_dir" = "X"; then
12239
if test -f "$dir/$libname.$acl_libext"; then
12241
found_a="$dir/$libname.$acl_libext"
12244
if test "X$found_dir" != "X"; then
12245
if test -f "$dir/$libname.la"; then
12246
found_la="$dir/$libname.la"
12251
if test "X$found_dir" != "X"; then
12256
if test "X$found_dir" != "X"; then
12257
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12258
if test "X$found_so" != "X"; then
12259
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12260
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12263
for x in $ltrpathdirs; do
12264
if test "X$x" = "X$found_dir"; then
12269
if test -z "$haveit"; then
12270
ltrpathdirs="$ltrpathdirs $found_dir"
12272
if test "$acl_hardcode_direct" = yes; then
12273
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12275
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12276
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12278
for x in $rpathdirs; do
12279
if test "X$x" = "X$found_dir"; then
12284
if test -z "$haveit"; then
12285
rpathdirs="$rpathdirs $found_dir"
12289
for x in $LDFLAGS $LIBICONV; do
12291
acl_save_prefix="$prefix"
12292
prefix="$acl_final_prefix"
12293
acl_save_exec_prefix="$exec_prefix"
12294
exec_prefix="$acl_final_exec_prefix"
12296
exec_prefix="$acl_save_exec_prefix"
12297
prefix="$acl_save_prefix"
12299
if test "X$x" = "X-L$found_dir"; then
12304
if test -z "$haveit"; then
12305
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12307
if test "$acl_hardcode_minus_L" != no; then
12308
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12310
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12316
if test "X$found_a" != "X"; then
12317
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12319
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12322
additional_includedir=
12323
case "$found_dir" in
12324
*/$acl_libdirstem | */$acl_libdirstem/)
12325
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12326
LIBICONV_PREFIX="$basedir"
12327
additional_includedir="$basedir/include"
12330
if test "X$additional_includedir" != "X"; then
12331
if test "X$additional_includedir" != "X/usr/include"; then
12333
if test "X$additional_includedir" = "X/usr/local/include"; then
12334
if test -n "$GCC"; then
12336
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12340
if test -z "$haveit"; then
12341
for x in $CPPFLAGS $INCICONV; do
12343
acl_save_prefix="$prefix"
12344
prefix="$acl_final_prefix"
12345
acl_save_exec_prefix="$exec_prefix"
12346
exec_prefix="$acl_final_exec_prefix"
12348
exec_prefix="$acl_save_exec_prefix"
12349
prefix="$acl_save_prefix"
12351
if test "X$x" = "X-I$additional_includedir"; then
12356
if test -z "$haveit"; then
12357
if test -d "$additional_includedir"; then
12358
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12364
if test -n "$found_la"; then
12365
save_libdir="$libdir"
12366
case "$found_la" in
12367
*/* | *\\*) . "$found_la" ;;
12368
*) . "./$found_la" ;;
12370
libdir="$save_libdir"
12371
for dep in $dependency_libs; do
12374
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12375
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12377
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12378
if test -n "$GCC"; then
12380
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12384
if test -z "$haveit"; then
12386
for x in $LDFLAGS $LIBICONV; do
12388
acl_save_prefix="$prefix"
12389
prefix="$acl_final_prefix"
12390
acl_save_exec_prefix="$exec_prefix"
12391
exec_prefix="$acl_final_exec_prefix"
12393
exec_prefix="$acl_save_exec_prefix"
12394
prefix="$acl_save_prefix"
12396
if test "X$x" = "X-L$additional_libdir"; then
12401
if test -z "$haveit"; then
12402
if test -d "$additional_libdir"; then
12403
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12407
for x in $LDFLAGS $LTLIBICONV; do
12409
acl_save_prefix="$prefix"
12410
prefix="$acl_final_prefix"
12411
acl_save_exec_prefix="$exec_prefix"
12412
exec_prefix="$acl_final_exec_prefix"
12414
exec_prefix="$acl_save_exec_prefix"
12415
prefix="$acl_save_prefix"
12417
if test "X$x" = "X-L$additional_libdir"; then
12422
if test -z "$haveit"; then
12423
if test -d "$additional_libdir"; then
12424
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12431
dir=`echo "X$dep" | sed -e 's/^X-R//'`
12432
if test "$enable_rpath" != no; then
12434
for x in $rpathdirs; do
12435
if test "X$x" = "X$dir"; then
12440
if test -z "$haveit"; then
12441
rpathdirs="$rpathdirs $dir"
12444
for x in $ltrpathdirs; do
12445
if test "X$x" = "X$dir"; then
12450
if test -z "$haveit"; then
12451
ltrpathdirs="$ltrpathdirs $dir"
12456
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12459
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12462
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12463
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12469
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12470
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12476
if test "X$rpathdirs" != "X"; then
12477
if test -n "$acl_hardcode_libdir_separator"; then
12479
for found_dir in $rpathdirs; do
12480
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12482
acl_save_libdir="$libdir"
12484
eval flag=\"$acl_hardcode_libdir_flag_spec\"
12485
libdir="$acl_save_libdir"
12486
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12488
for found_dir in $rpathdirs; do
12489
acl_save_libdir="$libdir"
12490
libdir="$found_dir"
12491
eval flag=\"$acl_hardcode_libdir_flag_spec\"
12492
libdir="$acl_save_libdir"
12493
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12497
if test "X$ltrpathdirs" != "X"; then
12498
for found_dir in $ltrpathdirs; do
12499
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12528
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12529
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
12530
$as_echo_n "(cached) " >&6
12532
gt_save_LIBS="$LIBS"
12533
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535
/* end confdefs.h. */
12536
#include <CoreFoundation/CFPreferences.h>
12540
CFPreferencesCopyAppValue(NULL, NULL)
12545
if ac_fn_c_try_link "$LINENO"; then :
12546
gt_cv_func_CFPreferencesCopyAppValue=yes
12548
gt_cv_func_CFPreferencesCopyAppValue=no
12550
rm -f core conftest.err conftest.$ac_objext \
12551
conftest$ac_exeext conftest.$ac_ext
12552
LIBS="$gt_save_LIBS"
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12555
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12556
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12558
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12562
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12563
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
12564
$as_echo_n "(cached) " >&6
12566
gt_save_LIBS="$LIBS"
12567
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569
/* end confdefs.h. */
12570
#include <CoreFoundation/CFLocale.h>
12574
CFLocaleCopyCurrent();
12579
if ac_fn_c_try_link "$LINENO"; then :
12580
gt_cv_func_CFLocaleCopyCurrent=yes
12582
gt_cv_func_CFLocaleCopyCurrent=no
12584
rm -f core conftest.err conftest.$ac_objext \
12585
conftest$ac_exeext conftest.$ac_ext
12586
LIBS="$gt_save_LIBS"
12588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12589
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12590
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12592
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12596
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12597
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12609
case " $gt_needs " in
12610
*" need-formatstring-macros "*) gt_api_version=3 ;;
12611
*" need-ngettext "*) gt_api_version=2 ;;
12612
*) gt_api_version=1 ;;
12614
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12615
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12617
if test "$USE_NLS" = "yes"; then
12618
gt_use_preinstalled_gnugettext=no
12621
if test $gt_api_version -ge 3; then
12622
gt_revision_test_code='
12623
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12624
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12626
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12629
gt_revision_test_code=
12631
if test $gt_api_version -ge 2; then
12632
gt_expression_test_code=' + * ngettext ("", "", 0)'
12634
gt_expression_test_code=
12637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12638
$as_echo_n "checking for GNU gettext in libc... " >&6; }
12639
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
12640
$as_echo_n "(cached) " >&6
12642
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643
/* end confdefs.h. */
12644
#include <libintl.h>
12645
$gt_revision_test_code
12646
extern int _nl_msg_cat_cntr;
12647
extern int *_nl_domain_bindings;
12651
bindtextdomain ("", "");
12652
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12657
if ac_fn_c_try_link "$LINENO"; then :
12658
eval "$gt_func_gnugettext_libc=yes"
12660
eval "$gt_func_gnugettext_libc=no"
12662
rm -f core conftest.err conftest.$ac_objext \
12663
conftest$ac_exeext conftest.$ac_ext
12665
eval ac_res=\$$gt_func_gnugettext_libc
12666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12667
$as_echo "$ac_res" >&6; }
12669
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12675
am_save_CPPFLAGS="$CPPFLAGS"
12677
for element in $INCICONV; do
12679
for x in $CPPFLAGS; do
12681
acl_save_prefix="$prefix"
12682
prefix="$acl_final_prefix"
12683
acl_save_exec_prefix="$exec_prefix"
12684
exec_prefix="$acl_final_exec_prefix"
12686
exec_prefix="$acl_save_exec_prefix"
12687
prefix="$acl_save_prefix"
12689
if test "X$x" = "X$element"; then
12694
if test -z "$haveit"; then
12695
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12701
$as_echo_n "checking for iconv... " >&6; }
12702
if test "${am_cv_func_iconv+set}" = set; then :
12703
$as_echo_n "(cached) " >&6
12706
am_cv_func_iconv="no, consider installing GNU libiconv"
12708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709
/* end confdefs.h. */
12710
#include <stdlib.h>
12715
iconv_t cd = iconv_open("","");
12716
iconv(cd,NULL,NULL,NULL,NULL);
12722
if ac_fn_c_try_link "$LINENO"; then :
12723
am_cv_func_iconv=yes
12725
rm -f core conftest.err conftest.$ac_objext \
12726
conftest$ac_exeext conftest.$ac_ext
12727
if test "$am_cv_func_iconv" != yes; then
12728
am_save_LIBS="$LIBS"
12729
LIBS="$LIBS $LIBICONV"
12730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731
/* end confdefs.h. */
12732
#include <stdlib.h>
12737
iconv_t cd = iconv_open("","");
12738
iconv(cd,NULL,NULL,NULL,NULL);
12744
if ac_fn_c_try_link "$LINENO"; then :
12745
am_cv_lib_iconv=yes
12746
am_cv_func_iconv=yes
12748
rm -f core conftest.err conftest.$ac_objext \
12749
conftest$ac_exeext conftest.$ac_ext
12750
LIBS="$am_save_LIBS"
12754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12755
$as_echo "$am_cv_func_iconv" >&6; }
12756
if test "$am_cv_func_iconv" = yes; then
12757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12758
$as_echo_n "checking for working iconv... " >&6; }
12759
if test "${am_cv_func_iconv_works+set}" = set; then :
12760
$as_echo_n "(cached) " >&6
12763
am_save_LIBS="$LIBS"
12764
if test $am_cv_lib_iconv = yes; then
12765
LIBS="$LIBS $LIBICONV"
12767
if test "$cross_compiling" = yes; then :
12769
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
12770
*) am_cv_func_iconv_works="guessing yes" ;;
12773
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774
/* end confdefs.h. */
12777
#include <string.h>
12780
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
12783
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12784
if (cd_utf8_to_88591 != (iconv_t)(-1))
12786
static const char input[] = "\342\202\254"; /* EURO SIGN */
12788
const char *inptr = input;
12789
size_t inbytesleft = strlen (input);
12790
char *outptr = buf;
12791
size_t outbytesleft = sizeof (buf);
12792
size_t res = iconv (cd_utf8_to_88591,
12793
(char **) &inptr, &inbytesleft,
12794
&outptr, &outbytesleft);
12799
#if 0 /* This bug could be worked around by the caller. */
12800
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
12802
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12803
if (cd_88591_to_utf8 != (iconv_t)(-1))
12805
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12807
const char *inptr = input;
12808
size_t inbytesleft = strlen (input);
12809
char *outptr = buf;
12810
size_t outbytesleft = sizeof (buf);
12811
size_t res = iconv (cd_88591_to_utf8,
12812
(char **) &inptr, &inbytesleft,
12813
&outptr, &outbytesleft);
12819
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12821
if (/* Try standardized names. */
12822
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
12823
/* Try IRIX, OSF/1 names. */
12824
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
12825
/* Try AIX names. */
12826
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
12827
/* Try HP-UX names. */
12828
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
12833
if ac_fn_c_try_run "$LINENO"; then :
12834
am_cv_func_iconv_works=yes
12836
am_cv_func_iconv_works=no
12838
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12839
conftest.$ac_objext conftest.beam conftest.$ac_ext
12842
LIBS="$am_save_LIBS"
12845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
12846
$as_echo "$am_cv_func_iconv_works" >&6; }
12847
case "$am_cv_func_iconv_works" in
12848
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
12849
*) am_func_iconv=yes ;;
12852
am_func_iconv=no am_cv_lib_iconv=no
12854
if test "$am_func_iconv" = yes; then
12856
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
12859
if test "$am_cv_lib_iconv" = yes; then
12860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12861
$as_echo_n "checking how to link with libiconv... " >&6; }
12862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12863
$as_echo "$LIBICONV" >&6; }
12865
CPPFLAGS="$am_save_CPPFLAGS"
12879
acl_save_prefix="$prefix"
12880
prefix="$acl_final_prefix"
12881
acl_save_exec_prefix="$exec_prefix"
12882
exec_prefix="$acl_final_exec_prefix"
12884
eval additional_includedir=\"$includedir\"
12885
eval additional_libdir=\"$libdir\"
12887
exec_prefix="$acl_save_exec_prefix"
12888
prefix="$acl_save_prefix"
12891
# Check whether --with-libintl-prefix was given.
12892
if test "${with_libintl_prefix+set}" = set; then :
12893
withval=$with_libintl_prefix;
12894
if test "X$withval" = "Xno"; then
12897
if test "X$withval" = "X"; then
12899
acl_save_prefix="$prefix"
12900
prefix="$acl_final_prefix"
12901
acl_save_exec_prefix="$exec_prefix"
12902
exec_prefix="$acl_final_exec_prefix"
12904
eval additional_includedir=\"$includedir\"
12905
eval additional_libdir=\"$libdir\"
12907
exec_prefix="$acl_save_exec_prefix"
12908
prefix="$acl_save_prefix"
12911
additional_includedir="$withval/include"
12912
additional_libdir="$withval/$acl_libdirstem"
12924
names_already_handled=
12925
names_next_round='intl '
12926
while test -n "$names_next_round"; do
12927
names_this_round="$names_next_round"
12929
for name in $names_this_round; do
12931
for n in $names_already_handled; do
12932
if test "$n" = "$name"; then
12933
already_handled=yes
12937
if test -z "$already_handled"; then
12938
names_already_handled="$names_already_handled $name"
12939
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12940
eval value=\"\$HAVE_LIB$uppername\"
12941
if test -n "$value"; then
12942
if test "$value" = yes; then
12943
eval value=\"\$LIB$uppername\"
12944
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
12945
eval value=\"\$LTLIB$uppername\"
12946
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
12955
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12956
if test -n "$acl_shlibext"; then
12957
shrext=".$acl_shlibext" # typically: shrext=.so
12961
if test $use_additional = yes; then
12962
dir="$additional_libdir"
12963
if test -n "$acl_shlibext"; then
12964
if test -f "$dir/$libname$shrext"; then
12966
found_so="$dir/$libname$shrext"
12968
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12969
ver=`(cd "$dir" && \
12970
for f in "$libname$shrext".*; do echo "$f"; done \
12971
| sed -e "s,^$libname$shrext\\\\.,," \
12972
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12973
| sed 1q ) 2>/dev/null`
12974
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12976
found_so="$dir/$libname$shrext.$ver"
12979
eval library_names=\"$acl_library_names_spec\"
12980
for f in $library_names; do
12981
if test -f "$dir/$f"; then
12990
if test "X$found_dir" = "X"; then
12991
if test -f "$dir/$libname.$acl_libext"; then
12993
found_a="$dir/$libname.$acl_libext"
12996
if test "X$found_dir" != "X"; then
12997
if test -f "$dir/$libname.la"; then
12998
found_la="$dir/$libname.la"
13002
if test "X$found_dir" = "X"; then
13003
for x in $LDFLAGS $LTLIBINTL; do
13005
acl_save_prefix="$prefix"
13006
prefix="$acl_final_prefix"
13007
acl_save_exec_prefix="$exec_prefix"
13008
exec_prefix="$acl_final_exec_prefix"
13010
exec_prefix="$acl_save_exec_prefix"
13011
prefix="$acl_save_prefix"
13015
dir=`echo "X$x" | sed -e 's/^X-L//'`
13016
if test -n "$acl_shlibext"; then
13017
if test -f "$dir/$libname$shrext"; then
13019
found_so="$dir/$libname$shrext"
13021
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13022
ver=`(cd "$dir" && \
13023
for f in "$libname$shrext".*; do echo "$f"; done \
13024
| sed -e "s,^$libname$shrext\\\\.,," \
13025
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13026
| sed 1q ) 2>/dev/null`
13027
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13029
found_so="$dir/$libname$shrext.$ver"
13032
eval library_names=\"$acl_library_names_spec\"
13033
for f in $library_names; do
13034
if test -f "$dir/$f"; then
13043
if test "X$found_dir" = "X"; then
13044
if test -f "$dir/$libname.$acl_libext"; then
13046
found_a="$dir/$libname.$acl_libext"
13049
if test "X$found_dir" != "X"; then
13050
if test -f "$dir/$libname.la"; then
13051
found_la="$dir/$libname.la"
13056
if test "X$found_dir" != "X"; then
13061
if test "X$found_dir" != "X"; then
13062
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13063
if test "X$found_so" != "X"; then
13064
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13065
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13068
for x in $ltrpathdirs; do
13069
if test "X$x" = "X$found_dir"; then
13074
if test -z "$haveit"; then
13075
ltrpathdirs="$ltrpathdirs $found_dir"
13077
if test "$acl_hardcode_direct" = yes; then
13078
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13080
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13081
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13083
for x in $rpathdirs; do
13084
if test "X$x" = "X$found_dir"; then
13089
if test -z "$haveit"; then
13090
rpathdirs="$rpathdirs $found_dir"
13094
for x in $LDFLAGS $LIBINTL; do
13096
acl_save_prefix="$prefix"
13097
prefix="$acl_final_prefix"
13098
acl_save_exec_prefix="$exec_prefix"
13099
exec_prefix="$acl_final_exec_prefix"
13101
exec_prefix="$acl_save_exec_prefix"
13102
prefix="$acl_save_prefix"
13104
if test "X$x" = "X-L$found_dir"; then
13109
if test -z "$haveit"; then
13110
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13112
if test "$acl_hardcode_minus_L" != no; then
13113
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13115
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13121
if test "X$found_a" != "X"; then
13122
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13124
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13127
additional_includedir=
13128
case "$found_dir" in
13129
*/$acl_libdirstem | */$acl_libdirstem/)
13130
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13131
LIBINTL_PREFIX="$basedir"
13132
additional_includedir="$basedir/include"
13135
if test "X$additional_includedir" != "X"; then
13136
if test "X$additional_includedir" != "X/usr/include"; then
13138
if test "X$additional_includedir" = "X/usr/local/include"; then
13139
if test -n "$GCC"; then
13141
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13145
if test -z "$haveit"; then
13146
for x in $CPPFLAGS $INCINTL; do
13148
acl_save_prefix="$prefix"
13149
prefix="$acl_final_prefix"
13150
acl_save_exec_prefix="$exec_prefix"
13151
exec_prefix="$acl_final_exec_prefix"
13153
exec_prefix="$acl_save_exec_prefix"
13154
prefix="$acl_save_prefix"
13156
if test "X$x" = "X-I$additional_includedir"; then
13161
if test -z "$haveit"; then
13162
if test -d "$additional_includedir"; then
13163
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13169
if test -n "$found_la"; then
13170
save_libdir="$libdir"
13171
case "$found_la" in
13172
*/* | *\\*) . "$found_la" ;;
13173
*) . "./$found_la" ;;
13175
libdir="$save_libdir"
13176
for dep in $dependency_libs; do
13179
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13180
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13182
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13183
if test -n "$GCC"; then
13185
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13189
if test -z "$haveit"; then
13191
for x in $LDFLAGS $LIBINTL; do
13193
acl_save_prefix="$prefix"
13194
prefix="$acl_final_prefix"
13195
acl_save_exec_prefix="$exec_prefix"
13196
exec_prefix="$acl_final_exec_prefix"
13198
exec_prefix="$acl_save_exec_prefix"
13199
prefix="$acl_save_prefix"
13201
if test "X$x" = "X-L$additional_libdir"; then
13206
if test -z "$haveit"; then
13207
if test -d "$additional_libdir"; then
13208
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13212
for x in $LDFLAGS $LTLIBINTL; do
13214
acl_save_prefix="$prefix"
13215
prefix="$acl_final_prefix"
13216
acl_save_exec_prefix="$exec_prefix"
13217
exec_prefix="$acl_final_exec_prefix"
13219
exec_prefix="$acl_save_exec_prefix"
13220
prefix="$acl_save_prefix"
13222
if test "X$x" = "X-L$additional_libdir"; then
13227
if test -z "$haveit"; then
13228
if test -d "$additional_libdir"; then
13229
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13236
dir=`echo "X$dep" | sed -e 's/^X-R//'`
13237
if test "$enable_rpath" != no; then
13239
for x in $rpathdirs; do
13240
if test "X$x" = "X$dir"; then
13245
if test -z "$haveit"; then
13246
rpathdirs="$rpathdirs $dir"
13249
for x in $ltrpathdirs; do
13250
if test "X$x" = "X$dir"; then
13255
if test -z "$haveit"; then
13256
ltrpathdirs="$ltrpathdirs $dir"
13261
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13264
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13267
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13268
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13274
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13275
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13281
if test "X$rpathdirs" != "X"; then
13282
if test -n "$acl_hardcode_libdir_separator"; then
13284
for found_dir in $rpathdirs; do
13285
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13287
acl_save_libdir="$libdir"
13289
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13290
libdir="$acl_save_libdir"
13291
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13293
for found_dir in $rpathdirs; do
13294
acl_save_libdir="$libdir"
13295
libdir="$found_dir"
13296
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13297
libdir="$acl_save_libdir"
13298
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13302
if test "X$ltrpathdirs" != "X"; then
13303
for found_dir in $ltrpathdirs; do
13304
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13309
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
13310
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13311
$as_echo_n "(cached) " >&6
13313
gt_save_CPPFLAGS="$CPPFLAGS"
13314
CPPFLAGS="$CPPFLAGS $INCINTL"
13315
gt_save_LIBS="$LIBS"
13316
LIBS="$LIBS $LIBINTL"
13317
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318
/* end confdefs.h. */
13319
#include <libintl.h>
13320
$gt_revision_test_code
13321
extern int _nl_msg_cat_cntr;
13326
const char *_nl_expand_alias (const char *);
13330
bindtextdomain ("", "");
13331
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13336
if ac_fn_c_try_link "$LINENO"; then :
13337
eval "$gt_func_gnugettext_libintl=yes"
13339
eval "$gt_func_gnugettext_libintl=no"
13341
rm -f core conftest.err conftest.$ac_objext \
13342
conftest$ac_exeext conftest.$ac_ext
13343
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13344
LIBS="$LIBS $LIBICONV"
13345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346
/* end confdefs.h. */
13347
#include <libintl.h>
13348
$gt_revision_test_code
13349
extern int _nl_msg_cat_cntr;
13354
const char *_nl_expand_alias (const char *);
13358
bindtextdomain ("", "");
13359
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13364
if ac_fn_c_try_link "$LINENO"; then :
13365
LIBINTL="$LIBINTL $LIBICONV"
13366
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13367
eval "$gt_func_gnugettext_libintl=yes"
13370
rm -f core conftest.err conftest.$ac_objext \
13371
conftest$ac_exeext conftest.$ac_ext
13373
CPPFLAGS="$gt_save_CPPFLAGS"
13374
LIBS="$gt_save_LIBS"
13376
eval ac_res=\$$gt_func_gnugettext_libintl
13377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13378
$as_echo "$ac_res" >&6; }
13381
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13382
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13383
&& test "$PACKAGE" != gettext-runtime \
13384
&& test "$PACKAGE" != gettext-tools; }; then
13385
gt_use_preinstalled_gnugettext=yes
13394
if test -n "$INTL_MACOSX_LIBS"; then
13395
if test "$gt_use_preinstalled_gnugettext" = "yes" \
13396
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
13397
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13398
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13402
if test "$gt_use_preinstalled_gnugettext" = "yes" \
13403
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
13405
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13413
$as_echo_n "checking whether to use NLS... " >&6; }
13414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13415
$as_echo "$USE_NLS" >&6; }
13416
if test "$USE_NLS" = "yes"; then
13417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13418
$as_echo_n "checking where the gettext function comes from... " >&6; }
13419
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13420
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13421
gt_source="external libintl"
13426
gt_source="included intl directory"
13428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13429
$as_echo "$gt_source" >&6; }
13432
if test "$USE_NLS" = "yes"; then
13434
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13435
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13437
$as_echo_n "checking how to link with libintl... " >&6; }
13438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13439
$as_echo "$LIBINTL" >&6; }
13441
for element in $INCINTL; do
13443
for x in $CPPFLAGS; do
13445
acl_save_prefix="$prefix"
13446
prefix="$acl_final_prefix"
13447
acl_save_exec_prefix="$exec_prefix"
13448
exec_prefix="$acl_final_exec_prefix"
13450
exec_prefix="$acl_save_exec_prefix"
13451
prefix="$acl_save_prefix"
13453
if test "X$x" = "X$element"; then
13458
if test -z "$haveit"; then
13459
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13466
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13469
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13478
INTLLIBS="$LIBINTL"
13487
GETTEXT_PACKAGE=cheese
13490
cat >>confdefs.h <<_ACEOF
13491
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12487
13497
case "$am__api_version" in
12489
as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13499
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13030
for ac_header in locale.h
13032
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13033
if test "x$ac_cv_header_locale_h" = x""yes; then :
13034
cat >>confdefs.h <<_ACEOF
13035
#define HAVE_LOCALE_H 1
13042
if test $ac_cv_header_locale_h = yes; then
13043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13044
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13045
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13046
$as_echo_n "(cached) " >&6
13048
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049
/* end confdefs.h. */
13050
#include <locale.h>
13059
if ac_fn_c_try_link "$LINENO"; then :
13060
am_cv_val_LC_MESSAGES=yes
13062
am_cv_val_LC_MESSAGES=no
13064
rm -f core conftest.err conftest.$ac_objext \
13065
conftest$ac_exeext conftest.$ac_ext
13067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13068
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13069
if test $am_cv_val_LC_MESSAGES = yes; then
13071
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13078
gt_cv_have_gettext=no
13084
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13085
if test "x$ac_cv_header_libintl_h" = x""yes; then :
13086
gt_cv_func_dgettext_libintl="no"
13087
libintl_extra_libs=""
13090
# First check in libc
13092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13093
$as_echo_n "checking for ngettext in libc... " >&6; }
13094
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
13095
$as_echo_n "(cached) " >&6
13097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098
/* end confdefs.h. */
13100
#include <libintl.h>
13105
return !ngettext ("","", 1)
13110
if ac_fn_c_try_link "$LINENO"; then :
13111
gt_cv_func_ngettext_libc=yes
13113
gt_cv_func_ngettext_libc=no
13115
rm -f core conftest.err conftest.$ac_objext \
13116
conftest$ac_exeext conftest.$ac_ext
13119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13120
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13122
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13124
$as_echo_n "checking for dgettext in libc... " >&6; }
13125
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
13126
$as_echo_n "(cached) " >&6
13128
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129
/* end confdefs.h. */
13131
#include <libintl.h>
13136
return !dgettext ("","")
13141
if ac_fn_c_try_link "$LINENO"; then :
13142
gt_cv_func_dgettext_libc=yes
13144
gt_cv_func_dgettext_libc=no
13146
rm -f core conftest.err conftest.$ac_objext \
13147
conftest$ac_exeext conftest.$ac_ext
13150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13151
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13154
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13155
for ac_func in bind_textdomain_codeset
13157
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13158
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13159
cat >>confdefs.h <<_ACEOF
13160
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13169
# If we don't have everything we want, check in libintl
13171
if test "$gt_cv_func_dgettext_libc" != "yes" \
13172
|| test "$gt_cv_func_ngettext_libc" != "yes" \
13173
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13176
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13177
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
13178
$as_echo_n "(cached) " >&6
13180
ac_check_lib_save_LIBS=$LIBS
13181
LIBS="-lintl $LIBS"
13182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183
/* end confdefs.h. */
13185
/* Override any GCC internal prototype to avoid an error.
13186
Use char because int might match the return type of a GCC
13187
builtin and then its argument prototype would still apply. */
13191
char bindtextdomain ();
13195
return bindtextdomain ();
13200
if ac_fn_c_try_link "$LINENO"; then :
13201
ac_cv_lib_intl_bindtextdomain=yes
13203
ac_cv_lib_intl_bindtextdomain=no
13205
rm -f core conftest.err conftest.$ac_objext \
13206
conftest$ac_exeext conftest.$ac_ext
13207
LIBS=$ac_check_lib_save_LIBS
13209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13210
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13211
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
13212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13213
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13214
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13215
$as_echo_n "(cached) " >&6
13217
ac_check_lib_save_LIBS=$LIBS
13218
LIBS="-lintl $LIBS"
13219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220
/* end confdefs.h. */
13222
/* Override any GCC internal prototype to avoid an error.
13223
Use char because int might match the return type of a GCC
13224
builtin and then its argument prototype would still apply. */
13232
return ngettext ();
13237
if ac_fn_c_try_link "$LINENO"; then :
13238
ac_cv_lib_intl_ngettext=yes
13240
ac_cv_lib_intl_ngettext=no
13242
rm -f core conftest.err conftest.$ac_objext \
13243
conftest$ac_exeext conftest.$ac_ext
13244
LIBS=$ac_check_lib_save_LIBS
13246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13247
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13248
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13250
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13251
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
13252
$as_echo_n "(cached) " >&6
13254
ac_check_lib_save_LIBS=$LIBS
13255
LIBS="-lintl $LIBS"
13256
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257
/* end confdefs.h. */
13259
/* Override any GCC internal prototype to avoid an error.
13260
Use char because int might match the return type of a GCC
13261
builtin and then its argument prototype would still apply. */
13269
return dgettext ();
13274
if ac_fn_c_try_link "$LINENO"; then :
13275
ac_cv_lib_intl_dgettext=yes
13277
ac_cv_lib_intl_dgettext=no
13279
rm -f core conftest.err conftest.$ac_objext \
13280
conftest$ac_exeext conftest.$ac_ext
13281
LIBS=$ac_check_lib_save_LIBS
13283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13284
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13285
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
13286
gt_cv_func_dgettext_libintl=yes
13294
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13296
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13300
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13301
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13302
$as_echo_n "(cached) " >&6
13304
ac_check_lib_save_LIBS=$LIBS
13305
LIBS="-lintl -liconv $LIBS"
13306
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307
/* end confdefs.h. */
13309
/* Override any GCC internal prototype to avoid an error.
13310
Use char because int might match the return type of a GCC
13311
builtin and then its argument prototype would still apply. */
13319
return ngettext ();
13324
if ac_fn_c_try_link "$LINENO"; then :
13325
ac_cv_lib_intl_ngettext=yes
13327
ac_cv_lib_intl_ngettext=no
13329
rm -f core conftest.err conftest.$ac_objext \
13330
conftest$ac_exeext conftest.$ac_ext
13331
LIBS=$ac_check_lib_save_LIBS
13333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13334
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13335
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13337
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13338
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
13339
$as_echo_n "(cached) " >&6
13341
ac_check_lib_save_LIBS=$LIBS
13342
LIBS="-lintl -liconv $LIBS"
13343
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344
/* end confdefs.h. */
13346
/* Override any GCC internal prototype to avoid an error.
13347
Use char because int might match the return type of a GCC
13348
builtin and then its argument prototype would still apply. */
13356
return dcgettext ();
13361
if ac_fn_c_try_link "$LINENO"; then :
13362
ac_cv_lib_intl_dcgettext=yes
13364
ac_cv_lib_intl_dcgettext=no
13366
rm -f core conftest.err conftest.$ac_objext \
13367
conftest$ac_exeext conftest.$ac_ext
13368
LIBS=$ac_check_lib_save_LIBS
13370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13371
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13372
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13373
gt_cv_func_dgettext_libintl=yes
13374
libintl_extra_libs=-liconv
13386
# If we found libintl, then check in it for bind_textdomain_codeset();
13387
# we'll prefer libc if neither have bind_textdomain_codeset(),
13388
# and both have dgettext and ngettext
13390
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13391
glib_save_LIBS="$LIBS"
13392
LIBS="$LIBS -lintl $libintl_extra_libs"
13393
unset ac_cv_func_bind_textdomain_codeset
13394
for ac_func in bind_textdomain_codeset
13396
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13397
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13398
cat >>confdefs.h <<_ACEOF
13399
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13405
LIBS="$glib_save_LIBS"
13407
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13408
gt_cv_func_dgettext_libc=no
13410
if test "$gt_cv_func_dgettext_libc" = "yes" \
13411
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13412
gt_cv_func_dgettext_libintl=no
13418
if test "$gt_cv_func_dgettext_libc" = "yes" \
13419
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13420
gt_cv_have_gettext=yes
13423
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13424
INTLLIBS="-lintl $libintl_extra_libs"
13427
if test "$gt_cv_have_gettext" = "yes"; then
13429
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13431
# Extract the first word of "msgfmt", so it can be a program name with args.
13432
set dummy msgfmt; ac_word=$2
13433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13434
$as_echo_n "checking for $ac_word... " >&6; }
13435
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13436
$as_echo_n "(cached) " >&6
13440
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13443
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13444
for ac_dir in $PATH; do
13445
test -z "$ac_dir" && ac_dir=.
13446
if test -f $ac_dir/$ac_word; then
13447
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13448
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13454
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13458
MSGFMT="$ac_cv_path_MSGFMT"
13459
if test "$MSGFMT" != "no"; then
13460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13461
$as_echo "$MSGFMT" >&6; }
13463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13464
$as_echo "no" >&6; }
13466
if test "$MSGFMT" != "no"; then
13467
glib_save_LIBS="$LIBS"
13468
LIBS="$LIBS $INTLLIBS"
13469
for ac_func in dcgettext
13471
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13472
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13473
cat >>confdefs.h <<_ACEOF
13474
#define HAVE_DCGETTEXT 1
13481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13482
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13483
cat >conftest.foo <<_ACEOF
13487
"Content-Type: text/plain; charset=UTF-8\n"
13488
"Project-Id-Version: test 1.0\n"
13489
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13490
"Last-Translator: test <foo@bar.xx>\n"
13491
"Language-Team: C <LL@li.org>\n"
13492
"MIME-Version: 1.0\n"
13493
"Content-Transfer-Encoding: 8bit\n"
13496
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13497
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13499
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13500
test $ac_status = 0; }; then
13501
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13502
$as_echo "yes" >&6; }
13503
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13504
$as_echo "no" >&6; }
13505
echo "$as_me: failed input was:" >&5
13506
sed 's/^/| /' conftest.foo >&5
13509
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13510
set dummy gmsgfmt; ac_word=$2
13511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13512
$as_echo_n "checking for $ac_word... " >&6; }
13513
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13514
$as_echo_n "(cached) " >&6
13518
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13522
for as_dir in $PATH
13525
test -z "$as_dir" && as_dir=.
13526
for ac_exec_ext in '' $ac_executable_extensions; do
13527
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13528
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13529
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13536
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13540
GMSGFMT=$ac_cv_path_GMSGFMT
13541
if test -n "$GMSGFMT"; then
13542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13543
$as_echo "$GMSGFMT" >&6; }
13545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546
$as_echo "no" >&6; }
13550
# Extract the first word of "xgettext", so it can be a program name with args.
13551
set dummy xgettext; ac_word=$2
13552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13553
$as_echo_n "checking for $ac_word... " >&6; }
13554
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13555
$as_echo_n "(cached) " >&6
13557
case "$XGETTEXT" in
13559
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13562
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13563
for ac_dir in $PATH; do
13564
test -z "$ac_dir" && ac_dir=.
13565
if test -f $ac_dir/$ac_word; then
13566
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13567
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13573
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13577
XGETTEXT="$ac_cv_path_XGETTEXT"
13578
if test "$XGETTEXT" != ":"; then
13579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13580
$as_echo "$XGETTEXT" >&6; }
13582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13583
$as_echo "no" >&6; }
13586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587
/* end confdefs.h. */
13592
extern int _nl_msg_cat_cntr;
13593
return _nl_msg_cat_cntr
13598
if ac_fn_c_try_link "$LINENO"; then :
13604
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13605
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13620
rm -f core conftest.err conftest.$ac_objext \
13621
conftest$ac_exeext conftest.$ac_ext
13622
LIBS="$glib_save_LIBS"
13625
gt_cv_have_gettext=no
13633
if test "$gt_cv_have_gettext" = "yes" ; then
13635
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13639
if test "$XGETTEXT" != ":"; then
13640
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13644
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13649
# We need to process the po/ directory.
13652
ac_config_commands="$ac_config_commands default-1"
13655
for lang in $ALL_LINGUAS; do
13656
GMOFILES="$GMOFILES $lang.gmo"
13657
POFILES="$POFILES $lang.po"
13672
if test "$gt_cv_have_gettext" = "yes"; then
13673
if test "x$ALL_LINGUAS" = "x"; then
13676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13677
$as_echo_n "checking for catalogs to be installed... " >&6; }
13679
for presentlang in $ALL_LINGUAS; do
13681
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13682
desiredlanguages="$LINGUAS"
13684
desiredlanguages="$ALL_LINGUAS"
13686
for desiredlang in $desiredlanguages; do
13687
# Use the presentlang catalog if desiredlang is
13688
# a. equal to presentlang, or
13689
# b. a variant of presentlang (because in this case,
13690
# presentlang can be used as a fallback for messages
13691
# which are not translated in the desiredlang catalog).
13692
case "$desiredlang" in
13693
"$presentlang"*) useit=yes;;
13696
if test $useit = yes; then
13697
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13700
LINGUAS=$NEW_LINGUAS
13701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13702
$as_echo "$LINGUAS" >&6; }
13705
if test -n "$LINGUAS"; then
13706
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13711
if test -n "$ac_aux_dir"; then
13712
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13714
if test -z "$MKINSTALLDIRS"; then
13715
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13719
test -d po || mkdir po
13720
if test "x$srcdir" != "x."; then
13721
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13722
posrcprefix="$srcdir/"
13724
posrcprefix="../$srcdir/"
13730
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13731
< $srcdir/po/POTFILES.in > po/POTFILES
13735
gdu_cv_version_required=0.3.2
13737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
13738
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
13739
if test -n "$PKG_CONFIG" && \
13740
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
13741
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
13743
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13744
test $ac_status = 0; }; then
13745
gdu_cv_have_gdu=yes
13750
if test "$gdu_cv_have_gdu" = "yes"; then
13751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13752
$as_echo "yes" >&6; }
13755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756
$as_echo "no" >&6; }
13757
as_fn_error "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
13762
# Check whether --with-help-dir was given.
13763
if test "${with_help_dir+set}" = set; then :
13764
withval=$with_help_dir;
13766
with_help_dir='${datadir}/gnome/help'
13769
HELP_DIR="$with_help_dir"
13773
# Check whether --with-omf-dir was given.
13774
if test "${with_omf_dir+set}" = set; then :
13775
withval=$with_omf_dir;
13777
with_omf_dir='${datadir}/omf'
13780
OMF_DIR="$with_omf_dir"
13784
# Check whether --with-help-formats was given.
13785
if test "${with_help_formats+set}" = set; then :
13786
withval=$with_help_formats;
13788
with_help_formats=''
13791
DOC_USER_FORMATS="$with_help_formats"
13794
# Check whether --enable-scrollkeeper was given.
13795
if test "${enable_scrollkeeper+set}" = set; then :
13796
enableval=$enable_scrollkeeper;
13798
enable_scrollkeeper=yes
13801
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
13803
ENABLE_SK_FALSE='#'
13810
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
13813
if test "$gdu_cv_have_gdu" = "yes"; then
13814
HAVE_GNOME_DOC_UTILS_TRUE=
13815
HAVE_GNOME_DOC_UTILS_FALSE='#'
13817
HAVE_GNOME_DOC_UTILS_TRUE='#'
13818
HAVE_GNOME_DOC_UTILS_FALSE=
13824
14040
#*******************************************************************************
13825
14041
# Check required libraries
13826
14042
#*******************************************************************************
13828
GLIB_REQUIRED=2.16.0
13829
GOBJECT_REQUIRED=2.12.0
13830
GIO_REQUIRED=2.16.0
13831
GTK_REQUIRED=2.19.1
13832
GDK_REQUIRED=2.14.0
13833
LIBGNOMEDESKTOP_REQUIRED=2.26.0
13834
GCONF_REQUIRED=2.16.0
13835
GSTREAMER_REQUIRED=0.10.23
13836
CAIRO_REQUIRED=1.4.0
13838
DBUS_GLIB_REQUIRED=0.7
13839
PANGOCAIRO_REQUIRED=1.18.0
13840
LIBRSVG_REQUIRED=2.18.0
14045
GLIB_REQUIRED=2.28.0
14046
GOBJECT_REQUIRED=2.28.0
14047
GIO_REQUIRED=2.28.0
14048
GTK_REQUIRED=2.99.4
14049
GDK_REQUIRED=2.99.4
14050
LIBGNOMEDESKTOP_REQUIRED=2.91.6
14051
GSTREAMER_REQUIRED=0.10.32
14052
CAIRO_REQUIRED=1.10.0
14053
PANGOCAIRO_REQUIRED=1.28.0
14054
LIBRSVG_REQUIRED=2.32.0
14055
CLUTTER_REQUIRED=1.6.1
14056
CLUTTERGTK_REQUIRED=0.91.8
14057
CLUTTERGST_REQUIRED=1.0.0
14059
LIBCANBERRA_REQUIRED=0.26
13842
14061
#*******************************************************************************
13843
14062
# Check for udev
14223
14539
See the pkg-config man page for more details.
14225
14541
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14226
See \`config.log' for more details." "$LINENO" 5; }
14542
See \`config.log' for more details" "$LINENO" 5 ; }
14228
14544
CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
14229
14545
CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
14230
14546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14231
14547
$as_echo "yes" >&6; }
14236
14552
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
14556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
14557
$as_echo_n "checking for CHEESE_GTK... " >&6; }
14559
if test -n "$CHEESE_GTK_CFLAGS"; then
14560
pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
14561
elif test -n "$PKG_CONFIG"; then
14562
if test -n "$PKG_CONFIG" && \
14563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14564
gio-2.0 >= \$GIO_REQUIRED \\
14565
gtk+-3.0 >= \$GTK_REQUIRED \\
14566
gdk-3.0 >= \$GDK_REQUIRED \\
14567
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
14568
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14569
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
14570
gee-1.0 >= \$GEE_REQUIRED \\
14571
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
14573
gnome-video-effects
14575
($PKG_CONFIG --exists --print-errors "\
14576
gio-2.0 >= $GIO_REQUIRED \
14577
gtk+-3.0 >= $GTK_REQUIRED \
14578
gdk-3.0 >= $GDK_REQUIRED \
14579
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14580
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14581
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14582
gee-1.0 >= $GEE_REQUIRED \
14583
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14585
gnome-video-effects
14588
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14589
test $ac_status = 0; }; then
14590
pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
14591
gio-2.0 >= $GIO_REQUIRED \
14592
gtk+-3.0 >= $GTK_REQUIRED \
14593
gdk-3.0 >= $GDK_REQUIRED \
14594
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14595
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14596
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14597
gee-1.0 >= $GEE_REQUIRED \
14598
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14600
gnome-video-effects
14608
if test -n "$CHEESE_GTK_LIBS"; then
14609
pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
14610
elif test -n "$PKG_CONFIG"; then
14611
if test -n "$PKG_CONFIG" && \
14612
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14613
gio-2.0 >= \$GIO_REQUIRED \\
14614
gtk+-3.0 >= \$GTK_REQUIRED \\
14615
gdk-3.0 >= \$GDK_REQUIRED \\
14616
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
14617
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14618
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
14619
gee-1.0 >= \$GEE_REQUIRED \\
14620
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
14622
gnome-video-effects
14624
($PKG_CONFIG --exists --print-errors "\
14625
gio-2.0 >= $GIO_REQUIRED \
14626
gtk+-3.0 >= $GTK_REQUIRED \
14627
gdk-3.0 >= $GDK_REQUIRED \
14628
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14629
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14630
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14631
gee-1.0 >= $GEE_REQUIRED \
14632
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14634
gnome-video-effects
14637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14638
test $ac_status = 0; }; then
14639
pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
14640
gio-2.0 >= $GIO_REQUIRED \
14641
gtk+-3.0 >= $GTK_REQUIRED \
14642
gdk-3.0 >= $GDK_REQUIRED \
14643
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14644
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14645
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14646
gee-1.0 >= $GEE_REQUIRED \
14647
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14649
gnome-video-effects
14660
if test $pkg_failed = yes; then
14661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14662
$as_echo "no" >&6; }
14664
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14665
_pkg_short_errors_supported=yes
14667
_pkg_short_errors_supported=no
14669
if test $_pkg_short_errors_supported = yes; then
14670
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14671
gio-2.0 >= $GIO_REQUIRED \
14672
gtk+-3.0 >= $GTK_REQUIRED \
14673
gdk-3.0 >= $GDK_REQUIRED \
14674
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14675
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14676
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14677
gee-1.0 >= $GEE_REQUIRED \
14678
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14680
gnome-video-effects
14683
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14684
gio-2.0 >= $GIO_REQUIRED \
14685
gtk+-3.0 >= $GTK_REQUIRED \
14686
gdk-3.0 >= $GDK_REQUIRED \
14687
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14688
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14689
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14690
gee-1.0 >= $GEE_REQUIRED \
14691
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14693
gnome-video-effects
14696
# Put the nasty error message in config.log where it belongs
14697
echo "$CHEESE_GTK_PKG_ERRORS" >&5
14699
as_fn_error $? "Package requirements (\
14700
gio-2.0 >= $GIO_REQUIRED \
14701
gtk+-3.0 >= $GTK_REQUIRED \
14702
gdk-3.0 >= $GDK_REQUIRED \
14703
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14704
librsvg-2.0 >= $LIBRSVG_REQUIRED \
14705
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
14706
gee-1.0 >= $GEE_REQUIRED \
14707
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
14709
gnome-video-effects
14712
$CHEESE_GTK_PKG_ERRORS
14714
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14715
installed software in a non-standard prefix.
14717
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
14718
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
14719
See the pkg-config man page for more details." "$LINENO" 5
14720
elif test $pkg_failed = untried; then
14721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14722
$as_echo "no" >&6; }
14723
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14724
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14725
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14726
is in your PATH or set the PKG_CONFIG environment variable to the full
14727
path to pkg-config.
14729
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
14730
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
14731
See the pkg-config man page for more details.
14733
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14734
See \`config.log' for more details" "$LINENO" 5 ; }
14736
CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
14737
CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
14738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14739
$as_echo "yes" >&6; }
14240
14745
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
14241
14746
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
14245
# Extract the first word of "gconftool-2", so it can be a program name with args.
14246
set dummy gconftool-2; ac_word=$2
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14248
$as_echo_n "checking for $ac_word... " >&6; }
14249
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
14250
$as_echo_n "(cached) " >&6
14254
ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
14257
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14258
for as_dir in $PATH
14261
test -z "$as_dir" && as_dir=.
14262
for ac_exec_ext in '' $ac_executable_extensions; do
14263
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14264
ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
14265
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14275
GCONFTOOL=$ac_cv_path_GCONFTOOL
14276
if test -n "$GCONFTOOL"; then
14277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
14278
$as_echo "$GCONFTOOL" >&6; }
14280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281
$as_echo "no" >&6; }
14286
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
14287
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
14289
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
14293
# Check whether --with-gconf-source was given.
14294
if test "${with_gconf_source+set}" = set; then :
14295
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
14300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
14301
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
14303
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
14304
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
14308
# Check whether --with-gconf-schema-file-dir was given.
14309
if test "${with_gconf_schema_file_dir+set}" = set; then :
14310
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
14315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
14316
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
14318
# Check whether --enable-schemas-install was given.
14319
if test "${enable_schemas_install+set}" = set; then :
14320
enableval=$enable_schemas_install; case ${enableval} in
14322
*) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
14326
if test "$enable_schemas_install" != no; then
14327
GCONF_SCHEMAS_INSTALL_TRUE=
14328
GCONF_SCHEMAS_INSTALL_FALSE='#'
14330
GCONF_SCHEMAS_INSTALL_TRUE='#'
14331
GCONF_SCHEMAS_INSTALL_FALSE=
14753
# Check whether --enable-introspection was given.
14754
if test "${enable_introspection+set}" = set; then :
14755
enableval=$enable_introspection;
14757
enable_introspection=auto
14761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14762
$as_echo_n "checking for gobject-introspection... " >&6; }
14764
case $enable_introspection in #(
14766
found_introspection="no (disabled, use --enable-introspection to enable)"
14769
if test -n "$PKG_CONFIG" && \
14770
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14771
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14773
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14774
test $ac_status = 0; }; then
14777
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14779
if test -n "$PKG_CONFIG" && \
14780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
14781
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
14783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784
test $ac_status = 0; }; then
14785
found_introspection=yes
14787
as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
14791
if test -n "$PKG_CONFIG" && \
14792
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
14793
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
14795
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796
test $ac_status = 0; }; then
14797
found_introspection=yes
14799
found_introspection=no
14803
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14807
$as_echo "$found_introspection" >&6; }
14809
INTROSPECTION_SCANNER=
14810
INTROSPECTION_COMPILER=
14811
INTROSPECTION_GENERATE=
14812
INTROSPECTION_GIRDIR=
14813
INTROSPECTION_TYPELIBDIR=
14814
if test "x$found_introspection" = "xyes"; then
14815
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14816
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14817
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14818
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14819
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14820
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14821
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14822
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14833
if test "x$found_introspection" = "xyes"; then
14834
HAVE_INTROSPECTION_TRUE=
14835
HAVE_INTROSPECTION_FALSE='#'
14837
HAVE_INTROSPECTION_TRUE='#'
14838
HAVE_INTROSPECTION_FALSE=
14844
# API documentation
14847
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
14848
set dummy gtkdoc-check; ac_word=$2
14849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14850
$as_echo_n "checking for $ac_word... " >&6; }
14851
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
14852
$as_echo_n "(cached) " >&6
14854
case $GTKDOC_CHECK in
14856
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14860
for as_dir in $PATH
14863
test -z "$as_dir" && as_dir=.
14864
for ac_exec_ext in '' $ac_executable_extensions; do
14865
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14866
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14867
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14877
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14878
if test -n "$GTKDOC_CHECK"; then
14879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14880
$as_echo "$GTKDOC_CHECK" >&6; }
14882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14883
$as_echo "no" >&6; }
14887
for ac_prog in gtkdoc-rebase
14889
# Extract the first word of "$ac_prog", so it can be a program name with args.
14890
set dummy $ac_prog; ac_word=$2
14891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14892
$as_echo_n "checking for $ac_word... " >&6; }
14893
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
14894
$as_echo_n "(cached) " >&6
14896
case $GTKDOC_REBASE in
14898
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14902
for as_dir in $PATH
14905
test -z "$as_dir" && as_dir=.
14906
for ac_exec_ext in '' $ac_executable_extensions; do
14907
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14908
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14909
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14919
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14920
if test -n "$GTKDOC_REBASE"; then
14921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14922
$as_echo "$GTKDOC_REBASE" >&6; }
14924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14925
$as_echo "no" >&6; }
14929
test -n "$GTKDOC_REBASE" && break
14931
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14933
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14934
set dummy gtkdoc-mkpdf; ac_word=$2
14935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14936
$as_echo_n "checking for $ac_word... " >&6; }
14937
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
14938
$as_echo_n "(cached) " >&6
14940
case $GTKDOC_MKPDF in
14942
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14946
for as_dir in $PATH
14949
test -z "$as_dir" && as_dir=.
14950
for ac_exec_ext in '' $ac_executable_extensions; do
14951
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14952
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14953
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14963
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14964
if test -n "$GTKDOC_MKPDF"; then
14965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14966
$as_echo "$GTKDOC_MKPDF" >&6; }
14968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14969
$as_echo "no" >&6; }
14975
# Check whether --with-html-dir was given.
14976
if test "${with_html_dir+set}" = set; then :
14977
withval=$with_html_dir;
14979
with_html_dir='${datadir}/gtk-doc/html'
14982
HTML_DIR="$with_html_dir"
14985
# Check whether --enable-gtk-doc was given.
14986
if test "${enable_gtk_doc+set}" = set; then :
14987
enableval=$enable_gtk_doc;
14993
if test x$enable_gtk_doc = xyes; then
14994
if test -n "$PKG_CONFIG" && \
14995
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
14996
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
14998
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14999
test $ac_status = 0; }; then
15002
as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
15006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15007
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15009
$as_echo "$enable_gtk_doc" >&6; }
15011
# Check whether --enable-gtk-doc-html was given.
15012
if test "${enable_gtk_doc_html+set}" = set; then :
15013
enableval=$enable_gtk_doc_html;
15015
enable_gtk_doc_html=yes
15018
# Check whether --enable-gtk-doc-pdf was given.
15019
if test "${enable_gtk_doc_pdf+set}" = set; then :
15020
enableval=$enable_gtk_doc_pdf;
15022
enable_gtk_doc_pdf=no
15026
if test -z "$GTKDOC_MKPDF"; then
15027
enable_gtk_doc_pdf=no
15031
if test x$enable_gtk_doc = xyes; then
15032
ENABLE_GTK_DOC_TRUE=
15033
ENABLE_GTK_DOC_FALSE='#'
15035
ENABLE_GTK_DOC_TRUE='#'
15036
ENABLE_GTK_DOC_FALSE=
15039
if test x$enable_gtk_doc_html = xyes; then
15040
GTK_DOC_BUILD_HTML_TRUE=
15041
GTK_DOC_BUILD_HTML_FALSE='#'
15043
GTK_DOC_BUILD_HTML_TRUE='#'
15044
GTK_DOC_BUILD_HTML_FALSE=
15047
if test x$enable_gtk_doc_pdf = xyes; then
15048
GTK_DOC_BUILD_PDF_TRUE=
15049
GTK_DOC_BUILD_PDF_FALSE='#'
15051
GTK_DOC_BUILD_PDF_TRUE='#'
15052
GTK_DOC_BUILD_PDF_FALSE=
15055
if test -n "$LIBTOOL"; then
15056
GTK_DOC_USE_LIBTOOL_TRUE=
15057
GTK_DOC_USE_LIBTOOL_FALSE='#'
15059
GTK_DOC_USE_LIBTOOL_TRUE='#'
15060
GTK_DOC_USE_LIBTOOL_FALSE=
15063
if test -n "$GTKDOC_REBASE"; then
15064
GTK_DOC_USE_REBASE_TRUE=
15065
GTK_DOC_USE_REBASE_FALSE='#'
15067
GTK_DOC_USE_REBASE_TRUE='#'
15068
GTK_DOC_USE_REBASE_FALSE=
15075
gdu_cv_version_required=0.20
15077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
15078
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
15079
if test -n "$PKG_CONFIG" && \
15080
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
15081
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
15083
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15084
test $ac_status = 0; }; then
15085
gdu_cv_have_gdu=yes
15090
if test "$gdu_cv_have_gdu" = "yes"; then
15091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15092
$as_echo "yes" >&6; }
15095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15096
$as_echo "no" >&6; }
15097
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
15102
# Check whether --with-help-dir was given.
15103
if test "${with_help_dir+set}" = set; then :
15104
withval=$with_help_dir;
15106
with_help_dir='${datadir}/gnome/help'
15109
HELP_DIR="$with_help_dir"
15113
# Check whether --with-omf-dir was given.
15114
if test "${with_omf_dir+set}" = set; then :
15115
withval=$with_omf_dir;
15117
with_omf_dir='${datadir}/omf'
15120
OMF_DIR="$with_omf_dir"
15124
# Check whether --with-help-formats was given.
15125
if test "${with_help_formats+set}" = set; then :
15126
withval=$with_help_formats;
15128
with_help_formats=''
15131
DOC_USER_FORMATS="$with_help_formats"
15134
# Check whether --enable-scrollkeeper was given.
15135
if test "${enable_scrollkeeper+set}" = set; then :
15136
enableval=$enable_scrollkeeper;
15138
enable_scrollkeeper=yes
15141
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
15143
ENABLE_SK_FALSE='#'
15150
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
15153
if test "$gdu_cv_have_gdu" = "yes"; then
15154
HAVE_GNOME_DOC_UTILS_TRUE=
15155
HAVE_GNOME_DOC_UTILS_FALSE='#'
15157
HAVE_GNOME_DOC_UTILS_TRUE='#'
15158
HAVE_GNOME_DOC_UTILS_FALSE=
15166
# Check whether --enable-schemas-compile was given.
15167
if test "${enable_schemas_compile+set}" = set; then :
15168
enableval=$enable_schemas_compile; case ${enableval} in
15169
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
15170
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
15171
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
15182
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15183
if test -n "$ac_tool_prefix"; then
15184
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15185
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15187
$as_echo_n "checking for $ac_word... " >&6; }
15188
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15189
$as_echo_n "(cached) " >&6
15191
case $PKG_CONFIG in
15193
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15196
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197
for as_dir in $PATH
15200
test -z "$as_dir" && as_dir=.
15201
for ac_exec_ext in '' $ac_executable_extensions; do
15202
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15203
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15204
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15214
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15215
if test -n "$PKG_CONFIG"; then
15216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15217
$as_echo "$PKG_CONFIG" >&6; }
15219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15220
$as_echo "no" >&6; }
15225
if test -z "$ac_cv_path_PKG_CONFIG"; then
15226
ac_pt_PKG_CONFIG=$PKG_CONFIG
15227
# Extract the first word of "pkg-config", so it can be a program name with args.
15228
set dummy pkg-config; ac_word=$2
15229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15230
$as_echo_n "checking for $ac_word... " >&6; }
15231
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15232
$as_echo_n "(cached) " >&6
15234
case $ac_pt_PKG_CONFIG in
15236
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15240
for as_dir in $PATH
15243
test -z "$as_dir" && as_dir=.
15244
for ac_exec_ext in '' $ac_executable_extensions; do
15245
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15246
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15247
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15257
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15258
if test -n "$ac_pt_PKG_CONFIG"; then
15259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15260
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15263
$as_echo "no" >&6; }
15266
if test "x$ac_pt_PKG_CONFIG" = x; then
15269
case $cross_compiling:$ac_tool_warned in
15271
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15272
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15273
ac_tool_warned=yes ;;
15275
PKG_CONFIG=$ac_pt_PKG_CONFIG
15278
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15282
if test -n "$PKG_CONFIG"; then
15283
_pkg_min_version=0.16
15284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15285
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15286
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15288
$as_echo "yes" >&6; }
15290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15291
$as_echo "no" >&6; }
15295
gsettingsschemadir=${datadir}/glib-2.0/schemas
15297
if test x$cross_compiling != xyes; then
15298
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
15300
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
15301
set dummy glib-compile-schemas; ac_word=$2
15302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15303
$as_echo_n "checking for $ac_word... " >&6; }
15304
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
15305
$as_echo_n "(cached) " >&6
15307
case $GLIB_COMPILE_SCHEMAS in
15309
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
15312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15313
for as_dir in $PATH
15316
test -z "$as_dir" && as_dir=.
15317
for ac_exec_ext in '' $ac_executable_extensions; do
15318
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15319
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
15320
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15330
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
15331
if test -n "$GLIB_COMPILE_SCHEMAS"; then
15332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
15333
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
15335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15336
$as_echo "no" >&6; }
15342
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
15343
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
15349
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
15351
mostlyclean-am: clean-gsettings-schemas
15353
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
15355
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
15356
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
15358
all-am: $(gsettings_SCHEMAS:.xml=.valid)
15359
uninstall-am: uninstall-gsettings-schemas
15360
install-data-am: install-gsettings-schemas
15362
.SECONDARY: $(gsettings_SCHEMAS)
15364
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
15366
if test -n "$^"; then \
15367
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
15368
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
15369
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
15372
uninstall-gsettings-schemas:
15373
@$(NORMAL_UNINSTALL)
15374
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
15375
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
15376
test -n "$$files" || exit 0; \
15377
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
15378
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
15379
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
15381
clean-gsettings-schemas:
15382
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
15384
ifdef gsettings_ENUM_NAMESPACE
15385
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
15386
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
14336
15395
#*******************************************************************************
14338
ac_config_files="$ac_config_files Makefile cheese-gtk.pc docs/Makefile docs/reference/Makefile docs/reference/version.xml data/Makefile data/cheese.desktop.in data/effects/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/icons/scalable/Makefile data/icons/16x16/actions/Makefile data/icons/22x22/actions/Makefile data/icons/24x24/actions/Makefile data/icons/32x32/actions/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/actions/Makefile data/pixmaps/Makefile help/Makefile libcheese/Makefile src/Makefile tests/Makefile po/Makefile.in"
15397
ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml data/Makefile data/cheese.pc data/cheese-gtk.pc data/cheese.desktop.in data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/icons/scalable/Makefile data/icons/16x16/actions/Makefile data/icons/22x22/actions/Makefile data/icons/24x24/actions/Makefile data/icons/32x32/actions/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/actions/Makefile data/pixmaps/Makefile help/Makefile libcheese/Makefile src/Makefile tests/Makefile po/Makefile.in"
14340
15399
cat >confcache <<\_ACEOF
14341
15400
# This file is a shell script that caches the results of configure