3825
3725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826
3726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827
3727
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; }
3728
DEPDIR="${am__leading_dot}deps"
3730
ac_config_commands="$ac_config_commands depfiles"
3733
am_make=${MAKE-make}
3734
cat > confinc << 'END'
3736
@echo this is the am__doit target
3739
# If we don't find an include directive, just comment out the code.
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3741
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3745
# First try GNU make style include.
3746
echo "include confinc" > confmf
3747
# Ignore all kinds of additional output from `make'.
3748
case `$am_make -s -f confmf 2> /dev/null` in #(
3749
*the\ am__doit\ target*)
3755
# Now try BSD make style include.
3756
if test "$am__include" = "#"; then
3757
echo '.include "confinc"' > confmf
3758
case `$am_make -s -f confmf 2> /dev/null` in #(
3759
*the\ am__doit\ target*)
3760
am__include=.include
3768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3769
$as_echo "$_am_result" >&6; }
3770
rm -f confinc confmf
3772
# Check whether --enable-dependency-tracking was given.
3773
if test "${enable_dependency_tracking+set}" = set; then :
3774
enableval=$enable_dependency_tracking;
3777
if test "x$enable_dependency_tracking" != xno; then
3778
am_depcomp="$ac_aux_dir/depcomp"
3781
if test "x$enable_dependency_tracking" != xno; then
3791
depcc="$CC" am_compiler_list=
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3794
$as_echo_n "checking dependency style of $depcc... " >&6; }
3795
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3796
$as_echo_n "(cached) " >&6
3798
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799
# We make a subdir and do the tests there. Otherwise we can end up
3800
# making bogus files that we don't know about and never remove. For
3801
# instance it was reported that on HP-UX the gcc test will end up
3802
# making a dummy file named `D' -- because `-MD' means `put the output
3805
# Copy depcomp to subdir because otherwise we won't find it if we're
3806
# using a relative directory.
3807
cp "$am_depcomp" conftest.dir
3809
# We will build objects and dependencies in a subdirectory because
3810
# it helps to detect inapplicable dependency modes. For instance
3811
# both Tru64's cc and ICC support -MD to output dependencies as a
3812
# side effect of compilation, but ICC will put the dependencies in
3813
# the current directory while Tru64 will put them in the object
3817
am_cv_CC_dependencies_compiler_type=none
3818
if test "$am_compiler_list" = ""; then
3819
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3822
case " $depcc " in #(
3823
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3826
for depmode in $am_compiler_list; do
3827
# Setup a source with many dependencies, because some compilers
3828
# like to wrap large dependency lists on column 80 (with \), and
3829
# we should not choose a depcomp mode which is confused by this.
3831
# We need to recreate these files for each test, as the compiler may
3832
# overwrite some of them when testing with obscure command lines.
3833
# This happens at least with the AIX C compiler.
3835
for i in 1 2 3 4 5 6; do
3836
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3837
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3838
# Solaris 8's {/usr,}/bin/sh.
3839
touch sub/conftst$i.h
3841
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3843
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3844
# mode. It turns out that the SunPro C++ compiler does not properly
3845
# handle `-M -o', and we need to detect this. Also, some Intel
3846
# versions had trouble with output in subdirs
3847
am__obj=sub/conftest.${OBJEXT-o}
3848
am__minus_obj="-o $am__obj"
3851
# This depmode causes a compiler race in universal mode.
3852
test "$am__universal" = false || continue
3855
# after this tag, mechanisms are not by side-effect, so they'll
3856
# only be used when explicitly requested
3857
if test "x$enable_dependency_tracking" = xyes; then
3863
msvisualcpp | msvcmsys)
3864
# This compiler won't grok `-c -o', but also, the minuso test has
3865
# not run yet. These depmodes are late enough in the game, and
3866
# so weak that their functioning should not be impacted.
3867
am__obj=conftest.${OBJEXT-o}
3872
if depmode=$depmode \
3873
source=sub/conftest.c object=$am__obj \
3874
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3875
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3876
>/dev/null 2>conftest.err &&
3877
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3878
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3879
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3880
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3881
# icc doesn't choke on unknown options, it will just issue warnings
3882
# or remarks (even with -Werror). So we grep stderr for any message
3883
# that says an option was ignored or not supported.
3884
# When given -MP, icc 7.0 and 7.1 complain thusly:
3885
# icc: Command line warning: ignoring option '-M'; no argument required
3886
# The diagnosis changed in icc 8.0:
3887
# icc: Command line remark: option '-MP' not supported
3888
if (grep 'ignoring option' conftest.err ||
3889
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3890
am_cv_CC_dependencies_compiler_type=$depmode
3899
am_cv_CC_dependencies_compiler_type=none
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3904
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3905
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908
test "x$enable_dependency_tracking" != xno \
3909
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3911
am__fastdepCC_FALSE='#'
3913
am__fastdepCC_TRUE='#'
3914
am__fastdepCC_FALSE=
3919
ac_cpp='$CPP $CPPFLAGS'
3920
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3923
if test -n "$ac_tool_prefix"; then
3924
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3925
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927
$as_echo_n "checking for $ac_word... " >&6; }
3928
if test "${ac_cv_prog_CC+set}" = set; then :
3929
$as_echo_n "(cached) " >&6
3931
if test -n "$CC"; then
3932
ac_cv_prog_CC="$CC" # Let the user override the test.
3934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938
test -z "$as_dir" && as_dir=.
3939
for ac_exec_ext in '' $ac_executable_extensions; do
3940
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3941
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3942
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952
if test -n "$CC"; then
3953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954
$as_echo "$CC" >&6; }
3956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957
$as_echo "no" >&6; }
3962
if test -z "$ac_cv_prog_CC"; then
3964
# Extract the first word of "gcc", so it can be a program name with args.
3965
set dummy gcc; ac_word=$2
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967
$as_echo_n "checking for $ac_word... " >&6; }
3968
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3969
$as_echo_n "(cached) " >&6
3971
if test -n "$ac_ct_CC"; then
3972
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978
test -z "$as_dir" && as_dir=.
3979
for ac_exec_ext in '' $ac_executable_extensions; do
3980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981
ac_cv_prog_ac_ct_CC="gcc"
3982
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3992
if test -n "$ac_ct_CC"; then
3993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994
$as_echo "$ac_ct_CC" >&6; }
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997
$as_echo "no" >&6; }
4000
if test "x$ac_ct_CC" = x; then
4003
case $cross_compiling:$ac_tool_warned in
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4006
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4007
ac_tool_warned=yes ;;
4015
if test -z "$CC"; then
4016
if test -n "$ac_tool_prefix"; then
4017
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4018
set dummy ${ac_tool_prefix}cc; ac_word=$2
4019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020
$as_echo_n "checking for $ac_word... " >&6; }
4021
if test "${ac_cv_prog_CC+set}" = set; then :
4022
$as_echo_n "(cached) " >&6
4024
if test -n "$CC"; then
4025
ac_cv_prog_CC="$CC" # Let the user override the test.
4027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031
test -z "$as_dir" && as_dir=.
4032
for ac_exec_ext in '' $ac_executable_extensions; do
4033
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034
ac_cv_prog_CC="${ac_tool_prefix}cc"
4035
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045
if test -n "$CC"; then
4046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047
$as_echo "$CC" >&6; }
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050
$as_echo "no" >&6; }
4056
if test -z "$CC"; then
4057
# Extract the first word of "cc", so it can be a program name with args.
4058
set dummy cc; ac_word=$2
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060
$as_echo_n "checking for $ac_word... " >&6; }
4061
if test "${ac_cv_prog_CC+set}" = set; then :
4062
$as_echo_n "(cached) " >&6
4064
if test -n "$CC"; then
4065
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
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4076
ac_prog_rejected=yes
4080
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087
if test $ac_prog_rejected = yes; then
4088
# We found a bogon in the path, so make sure we never use it.
4089
set dummy $ac_cv_prog_CC
4091
if test $# != 0; then
4092
# We chose a different compiler from the bogus one.
4093
# However, it has the same basename, so the bogon will be chosen
4094
# first if we set CC to just the basename; use the full file name.
4096
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4102
if test -n "$CC"; then
4103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4104
$as_echo "$CC" >&6; }
4106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107
$as_echo "no" >&6; }
4112
if test -z "$CC"; then
4113
if test -n "$ac_tool_prefix"; then
4114
for ac_prog in cl.exe
4116
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4117
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119
$as_echo_n "checking for $ac_word... " >&6; }
4120
if test "${ac_cv_prog_CC+set}" = set; then :
4121
$as_echo_n "(cached) " >&6
4123
if test -n "$CC"; then
4124
ac_cv_prog_CC="$CC" # Let the user override the test.
4126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130
test -z "$as_dir" && as_dir=.
4131
for ac_exec_ext in '' $ac_executable_extensions; do
4132
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4134
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144
if test -n "$CC"; then
4145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4146
$as_echo "$CC" >&6; }
4148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149
$as_echo "no" >&6; }
4153
test -n "$CC" && break
4156
if test -z "$CC"; then
4158
for ac_prog in cl.exe
4160
# Extract the first word of "$ac_prog", so it can be a program name with args.
4161
set dummy $ac_prog; ac_word=$2
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163
$as_echo_n "checking for $ac_word... " >&6; }
4164
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4165
$as_echo_n "(cached) " >&6
4167
if test -n "$ac_ct_CC"; then
4168
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174
test -z "$as_dir" && as_dir=.
4175
for ac_exec_ext in '' $ac_executable_extensions; do
4176
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177
ac_cv_prog_ac_ct_CC="$ac_prog"
4178
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4188
if test -n "$ac_ct_CC"; then
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4190
$as_echo "$ac_ct_CC" >&6; }
4192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193
$as_echo "no" >&6; }
4197
test -n "$ac_ct_CC" && break
4200
if test "x$ac_ct_CC" = x; then
4203
case $cross_compiling:$ac_tool_warned in
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4206
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4207
ac_tool_warned=yes ;;
4216
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4217
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4218
as_fn_error $? "no acceptable C compiler found in \$PATH
4219
See \`config.log' for more details" "$LINENO" 5 ; }
4983
4221
# Provide some information about the compiler.
4984
4222
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12382
GETTEXT_MACRO_VERSION=0.17
12387
# Prepare PATH_SEPARATOR.
12388
# The user is always right.
12389
if test "${PATH_SEPARATOR+set}" != set; then
12390
echo "#! /bin/sh" >conf$$.sh
12391
echo "exit 0" >>conf$$.sh
12393
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12401
# Find out how to test for executable files. Don't use a zero-byte file,
12402
# as systems may use methods other than mode bits to determine executability.
12403
cat >conf$$.file <<_ASEOF
12407
chmod +x conf$$.file
12408
if test -x conf$$.file >/dev/null 2>&1; then
12409
ac_executable_p="test -x"
12411
ac_executable_p="test -f"
12415
# Extract the first word of "msgfmt", so it can be a program name with args.
12416
set dummy msgfmt; ac_word=$2
12417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12418
$as_echo_n "checking for $ac_word... " >&6; }
12419
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12420
$as_echo_n "(cached) " >&6
12424
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12427
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12428
for ac_dir in $PATH; do
12430
test -z "$ac_dir" && ac_dir=.
12431
for ac_exec_ext in '' $ac_executable_extensions; do
12432
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12433
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12434
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12435
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12436
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12443
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12447
MSGFMT="$ac_cv_path_MSGFMT"
12448
if test "$MSGFMT" != ":"; then
12449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12450
$as_echo "$MSGFMT" >&6; }
12452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453
$as_echo "no" >&6; }
12456
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12457
set dummy gmsgfmt; ac_word=$2
12458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459
$as_echo_n "checking for $ac_word... " >&6; }
12460
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12461
$as_echo_n "(cached) " >&6
12465
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12469
for as_dir in $PATH
12472
test -z "$as_dir" && as_dir=.
12473
for ac_exec_ext in '' $ac_executable_extensions; do
12474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12483
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12487
GMSGFMT=$ac_cv_path_GMSGFMT
12488
if test -n "$GMSGFMT"; then
12489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12490
$as_echo "$GMSGFMT" >&6; }
12492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493
$as_echo "no" >&6; }
12498
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12499
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12500
*) MSGFMT_015=$MSGFMT ;;
12503
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12504
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12505
*) GMSGFMT_015=$GMSGFMT ;;
12510
# Prepare PATH_SEPARATOR.
12511
# The user is always right.
12512
if test "${PATH_SEPARATOR+set}" != set; then
12513
echo "#! /bin/sh" >conf$$.sh
12514
echo "exit 0" >>conf$$.sh
12516
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12524
# Find out how to test for executable files. Don't use a zero-byte file,
12525
# as systems may use methods other than mode bits to determine executability.
12526
cat >conf$$.file <<_ASEOF
12530
chmod +x conf$$.file
12531
if test -x conf$$.file >/dev/null 2>&1; then
12532
ac_executable_p="test -x"
12534
ac_executable_p="test -f"
12538
# Extract the first word of "xgettext", so it can be a program name with args.
12539
set dummy xgettext; ac_word=$2
12540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12541
$as_echo_n "checking for $ac_word... " >&6; }
12542
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12543
$as_echo_n "(cached) " >&6
12545
case "$XGETTEXT" in
12547
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12550
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12551
for ac_dir in $PATH; do
12553
test -z "$ac_dir" && ac_dir=.
12554
for ac_exec_ext in '' $ac_executable_extensions; do
12555
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12556
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12557
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12558
(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
12559
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12566
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12570
XGETTEXT="$ac_cv_path_XGETTEXT"
12571
if test "$XGETTEXT" != ":"; then
12572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12573
$as_echo "$XGETTEXT" >&6; }
12575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576
$as_echo "no" >&6; }
12581
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12582
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12583
*) XGETTEXT_015=$XGETTEXT ;;
12588
# Prepare PATH_SEPARATOR.
12589
# The user is always right.
12590
if test "${PATH_SEPARATOR+set}" != set; then
12591
echo "#! /bin/sh" >conf$$.sh
12592
echo "exit 0" >>conf$$.sh
12594
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12602
# Find out how to test for executable files. Don't use a zero-byte file,
12603
# as systems may use methods other than mode bits to determine executability.
12604
cat >conf$$.file <<_ASEOF
12608
chmod +x conf$$.file
12609
if test -x conf$$.file >/dev/null 2>&1; then
12610
ac_executable_p="test -x"
12612
ac_executable_p="test -f"
12616
# Extract the first word of "msgmerge", so it can be a program name with args.
12617
set dummy msgmerge; ac_word=$2
12618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12619
$as_echo_n "checking for $ac_word... " >&6; }
12620
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12621
$as_echo_n "(cached) " >&6
12623
case "$MSGMERGE" in
12625
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12628
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12629
for ac_dir in $PATH; do
12631
test -z "$ac_dir" && ac_dir=.
12632
for ac_exec_ext in '' $ac_executable_extensions; do
12633
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12634
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12635
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12636
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12643
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12647
MSGMERGE="$ac_cv_path_MSGMERGE"
12648
if test "$MSGMERGE" != ":"; then
12649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12650
$as_echo "$MSGMERGE" >&6; }
12652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12653
$as_echo "no" >&6; }
12657
test -n "$localedir" || localedir='${datadir}/locale'
12660
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12663
ac_config_commands="$ac_config_commands po-directories"
12667
if test "X$prefix" = "XNONE"; then
12668
acl_final_prefix="$ac_default_prefix"
12670
acl_final_prefix="$prefix"
12672
if test "X$exec_prefix" = "XNONE"; then
12673
acl_final_exec_prefix='${prefix}'
12675
acl_final_exec_prefix="$exec_prefix"
12677
acl_save_prefix="$prefix"
12678
prefix="$acl_final_prefix"
12679
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12680
prefix="$acl_save_prefix"
12683
# Check whether --with-gnu-ld was given.
12684
if test "${with_gnu_ld+set}" = set; then :
12685
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12690
# Prepare PATH_SEPARATOR.
12691
# The user is always right.
12692
if test "${PATH_SEPARATOR+set}" != set; then
12693
echo "#! /bin/sh" >conf$$.sh
12694
echo "exit 0" >>conf$$.sh
12696
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12704
if test "$GCC" = yes; then
12705
# Check if gcc -print-prog-name=ld gives a path.
12706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12707
$as_echo_n "checking for ld used by GCC... " >&6; }
12710
# gcc leaves a trailing carriage return which upsets mingw
12711
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12713
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12716
# Accept absolute paths.
12717
[\\/]* | [A-Za-z]:[\\/]*)
12718
re_direlt='/[^/][^/]*/\.\./'
12719
# Canonicalize the path of ld
12720
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12721
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12722
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12724
test -z "$LD" && LD="$ac_prog"
12727
# If it fails, then pretend we aren't using GCC.
12731
# If it is relative, then search for the first ld in PATH.
12732
with_gnu_ld=unknown
12735
elif test "$with_gnu_ld" = yes; then
12736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12737
$as_echo_n "checking for GNU ld... " >&6; }
12739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12740
$as_echo_n "checking for non-GNU ld... " >&6; }
12742
if test "${acl_cv_path_LD+set}" = set; then :
12743
$as_echo_n "(cached) " >&6
12745
if test -z "$LD"; then
12746
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12747
for ac_dir in $PATH; do
12748
test -z "$ac_dir" && ac_dir=.
12749
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12750
acl_cv_path_LD="$ac_dir/$ac_prog"
12751
# Check to see if the program is GNU ld. I'd rather use --version,
12752
# but apparently some GNU ld's only accept -v.
12753
# Break only if it was the GNU/non-GNU ld that we prefer.
12754
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12755
*GNU* | *'with BFD'*)
12756
test "$with_gnu_ld" != no && break ;;
12758
test "$with_gnu_ld" != yes && break ;;
12764
acl_cv_path_LD="$LD" # Let the user override the test with a path.
12768
LD="$acl_cv_path_LD"
12769
if test -n "$LD"; then
12770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12771
$as_echo "$LD" >&6; }
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774
$as_echo "no" >&6; }
12776
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12778
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12779
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12780
$as_echo_n "(cached) " >&6
12782
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
12783
case `$LD -v 2>&1 </dev/null` in
12784
*GNU* | *'with BFD'*)
12785
acl_cv_prog_gnu_ld=yes ;;
12787
acl_cv_prog_gnu_ld=no ;;
12790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12791
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12792
with_gnu_ld=$acl_cv_prog_gnu_ld
12797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12798
$as_echo_n "checking for shared library run path origin... " >&6; }
12799
if test "${acl_cv_rpath+set}" = set; then :
12800
$as_echo_n "(cached) " >&6
12803
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12804
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12806
rm -f ./conftest.sh
12810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12811
$as_echo "$acl_cv_rpath" >&6; }
12813
acl_libext="$acl_cv_libext"
12814
acl_shlibext="$acl_cv_shlibext"
12815
acl_libname_spec="$acl_cv_libname_spec"
12816
acl_library_names_spec="$acl_cv_library_names_spec"
12817
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12818
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12819
acl_hardcode_direct="$acl_cv_hardcode_direct"
12820
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12821
# Check whether --enable-rpath was given.
12822
if test "${enable_rpath+set}" = set; then :
12823
enableval=$enable_rpath; :
12831
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12832
if test -n "$searchpath"; then
12833
acl_save_IFS="${IFS= }"; IFS=":"
12834
for searchdir in $searchpath; do
12835
if test -d "$searchdir"; then
12836
case "$searchdir" in
12837
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12838
*) searchdir=`cd "$searchdir" && pwd`
12839
case "$searchdir" in
12840
*/lib64 ) acl_libdirstem=lib64 ;;
12845
IFS="$acl_save_IFS"
12858
acl_save_prefix="$prefix"
12859
prefix="$acl_final_prefix"
12860
acl_save_exec_prefix="$exec_prefix"
12861
exec_prefix="$acl_final_exec_prefix"
12863
eval additional_includedir=\"$includedir\"
12864
eval additional_libdir=\"$libdir\"
12866
exec_prefix="$acl_save_exec_prefix"
12867
prefix="$acl_save_prefix"
12870
# Check whether --with-libiconv-prefix was given.
12871
if test "${with_libiconv_prefix+set}" = set; then :
12872
withval=$with_libiconv_prefix;
12873
if test "X$withval" = "Xno"; then
12876
if test "X$withval" = "X"; then
12878
acl_save_prefix="$prefix"
12879
prefix="$acl_final_prefix"
12880
acl_save_exec_prefix="$exec_prefix"
12881
exec_prefix="$acl_final_exec_prefix"
12883
eval additional_includedir=\"$includedir\"
12884
eval additional_libdir=\"$libdir\"
12886
exec_prefix="$acl_save_exec_prefix"
12887
prefix="$acl_save_prefix"
12890
additional_includedir="$withval/include"
12891
additional_libdir="$withval/$acl_libdirstem"
12903
names_already_handled=
12904
names_next_round='iconv '
12905
while test -n "$names_next_round"; do
12906
names_this_round="$names_next_round"
12908
for name in $names_this_round; do
12910
for n in $names_already_handled; do
12911
if test "$n" = "$name"; then
12912
already_handled=yes
12916
if test -z "$already_handled"; then
12917
names_already_handled="$names_already_handled $name"
12918
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12919
eval value=\"\$HAVE_LIB$uppername\"
12920
if test -n "$value"; then
12921
if test "$value" = yes; then
12922
eval value=\"\$LIB$uppername\"
12923
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12924
eval value=\"\$LTLIB$uppername\"
12925
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12934
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12935
if test -n "$acl_shlibext"; then
12936
shrext=".$acl_shlibext" # typically: shrext=.so
12940
if test $use_additional = yes; then
12941
dir="$additional_libdir"
12942
if test -n "$acl_shlibext"; then
12943
if test -f "$dir/$libname$shrext"; then
12945
found_so="$dir/$libname$shrext"
12947
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12948
ver=`(cd "$dir" && \
12949
for f in "$libname$shrext".*; do echo "$f"; done \
12950
| sed -e "s,^$libname$shrext\\\\.,," \
12951
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12952
| sed 1q ) 2>/dev/null`
12953
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12955
found_so="$dir/$libname$shrext.$ver"
12958
eval library_names=\"$acl_library_names_spec\"
12959
for f in $library_names; do
12960
if test -f "$dir/$f"; then
12969
if test "X$found_dir" = "X"; then
12970
if test -f "$dir/$libname.$acl_libext"; then
12972
found_a="$dir/$libname.$acl_libext"
12975
if test "X$found_dir" != "X"; then
12976
if test -f "$dir/$libname.la"; then
12977
found_la="$dir/$libname.la"
12981
if test "X$found_dir" = "X"; then
12982
for x in $LDFLAGS $LTLIBICONV; do
12984
acl_save_prefix="$prefix"
12985
prefix="$acl_final_prefix"
12986
acl_save_exec_prefix="$exec_prefix"
12987
exec_prefix="$acl_final_exec_prefix"
12989
exec_prefix="$acl_save_exec_prefix"
12990
prefix="$acl_save_prefix"
12994
dir=`echo "X$x" | sed -e 's/^X-L//'`
12995
if test -n "$acl_shlibext"; then
12996
if test -f "$dir/$libname$shrext"; then
12998
found_so="$dir/$libname$shrext"
13000
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13001
ver=`(cd "$dir" && \
13002
for f in "$libname$shrext".*; do echo "$f"; done \
13003
| sed -e "s,^$libname$shrext\\\\.,," \
13004
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13005
| sed 1q ) 2>/dev/null`
13006
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13008
found_so="$dir/$libname$shrext.$ver"
13011
eval library_names=\"$acl_library_names_spec\"
13012
for f in $library_names; do
13013
if test -f "$dir/$f"; then
13022
if test "X$found_dir" = "X"; then
13023
if test -f "$dir/$libname.$acl_libext"; then
13025
found_a="$dir/$libname.$acl_libext"
13028
if test "X$found_dir" != "X"; then
13029
if test -f "$dir/$libname.la"; then
13030
found_la="$dir/$libname.la"
13035
if test "X$found_dir" != "X"; then
13040
if test "X$found_dir" != "X"; then
13041
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13042
if test "X$found_so" != "X"; then
13043
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13044
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13047
for x in $ltrpathdirs; do
13048
if test "X$x" = "X$found_dir"; then
13053
if test -z "$haveit"; then
13054
ltrpathdirs="$ltrpathdirs $found_dir"
13056
if test "$acl_hardcode_direct" = yes; then
13057
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13059
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13060
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13062
for x in $rpathdirs; do
13063
if test "X$x" = "X$found_dir"; then
13068
if test -z "$haveit"; then
13069
rpathdirs="$rpathdirs $found_dir"
13073
for x in $LDFLAGS $LIBICONV; do
13075
acl_save_prefix="$prefix"
13076
prefix="$acl_final_prefix"
13077
acl_save_exec_prefix="$exec_prefix"
13078
exec_prefix="$acl_final_exec_prefix"
13080
exec_prefix="$acl_save_exec_prefix"
13081
prefix="$acl_save_prefix"
13083
if test "X$x" = "X-L$found_dir"; then
13088
if test -z "$haveit"; then
13089
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13091
if test "$acl_hardcode_minus_L" != no; then
13092
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13094
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13100
if test "X$found_a" != "X"; then
13101
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13103
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13106
additional_includedir=
13107
case "$found_dir" in
13108
*/$acl_libdirstem | */$acl_libdirstem/)
13109
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13110
LIBICONV_PREFIX="$basedir"
13111
additional_includedir="$basedir/include"
13114
if test "X$additional_includedir" != "X"; then
13115
if test "X$additional_includedir" != "X/usr/include"; then
13117
if test "X$additional_includedir" = "X/usr/local/include"; then
13118
if test -n "$GCC"; then
13120
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13124
if test -z "$haveit"; then
13125
for x in $CPPFLAGS $INCICONV; do
13127
acl_save_prefix="$prefix"
13128
prefix="$acl_final_prefix"
13129
acl_save_exec_prefix="$exec_prefix"
13130
exec_prefix="$acl_final_exec_prefix"
13132
exec_prefix="$acl_save_exec_prefix"
13133
prefix="$acl_save_prefix"
13135
if test "X$x" = "X-I$additional_includedir"; then
13140
if test -z "$haveit"; then
13141
if test -d "$additional_includedir"; then
13142
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13148
if test -n "$found_la"; then
13149
save_libdir="$libdir"
13150
case "$found_la" in
13151
*/* | *\\*) . "$found_la" ;;
13152
*) . "./$found_la" ;;
13154
libdir="$save_libdir"
13155
for dep in $dependency_libs; do
13158
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13159
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13161
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13162
if test -n "$GCC"; then
13164
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13168
if test -z "$haveit"; then
13170
for x in $LDFLAGS $LIBICONV; do
13172
acl_save_prefix="$prefix"
13173
prefix="$acl_final_prefix"
13174
acl_save_exec_prefix="$exec_prefix"
13175
exec_prefix="$acl_final_exec_prefix"
13177
exec_prefix="$acl_save_exec_prefix"
13178
prefix="$acl_save_prefix"
13180
if test "X$x" = "X-L$additional_libdir"; then
13185
if test -z "$haveit"; then
13186
if test -d "$additional_libdir"; then
13187
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13191
for x in $LDFLAGS $LTLIBICONV; 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
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13215
dir=`echo "X$dep" | sed -e 's/^X-R//'`
13216
if test "$enable_rpath" != no; then
13218
for x in $rpathdirs; do
13219
if test "X$x" = "X$dir"; then
13224
if test -z "$haveit"; then
13225
rpathdirs="$rpathdirs $dir"
13228
for x in $ltrpathdirs; do
13229
if test "X$x" = "X$dir"; then
13234
if test -z "$haveit"; then
13235
ltrpathdirs="$ltrpathdirs $dir"
13240
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13243
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13246
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13247
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13253
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13254
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13260
if test "X$rpathdirs" != "X"; then
13261
if test -n "$acl_hardcode_libdir_separator"; then
13263
for found_dir in $rpathdirs; do
13264
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13266
acl_save_libdir="$libdir"
13268
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13269
libdir="$acl_save_libdir"
13270
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13272
for found_dir in $rpathdirs; do
13273
acl_save_libdir="$libdir"
13274
libdir="$found_dir"
13275
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13276
libdir="$acl_save_libdir"
13277
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13281
if test "X$ltrpathdirs" != "X"; then
13282
for found_dir in $ltrpathdirs; do
13283
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13312
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13313
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13314
$as_echo_n "(cached) " >&6
13316
gt_save_LIBS="$LIBS"
13317
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13318
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319
/* end confdefs.h. */
13320
#include <CoreFoundation/CFPreferences.h>
13324
CFPreferencesCopyAppValue(NULL, NULL)
13329
if ac_fn_c_try_link "$LINENO"; then :
13330
gt_cv_func_CFPreferencesCopyAppValue=yes
13332
gt_cv_func_CFPreferencesCopyAppValue=no
13334
rm -f core conftest.err conftest.$ac_objext \
13335
conftest$ac_exeext conftest.$ac_ext
13336
LIBS="$gt_save_LIBS"
13338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13339
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13340
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13342
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13346
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13347
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13348
$as_echo_n "(cached) " >&6
13350
gt_save_LIBS="$LIBS"
13351
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13352
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353
/* end confdefs.h. */
13354
#include <CoreFoundation/CFLocale.h>
13358
CFLocaleCopyCurrent();
13363
if ac_fn_c_try_link "$LINENO"; then :
13364
gt_cv_func_CFLocaleCopyCurrent=yes
13366
gt_cv_func_CFLocaleCopyCurrent=no
13368
rm -f core conftest.err conftest.$ac_objext \
13369
conftest$ac_exeext conftest.$ac_ext
13370
LIBS="$gt_save_LIBS"
13372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13373
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13374
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13376
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13380
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13381
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13393
case " $gt_needs " in
13394
*" need-formatstring-macros "*) gt_api_version=3 ;;
13395
*" need-ngettext "*) gt_api_version=2 ;;
13396
*) gt_api_version=1 ;;
13398
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13399
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13401
if test "$USE_NLS" = "yes"; then
13402
gt_use_preinstalled_gnugettext=no
13405
if test $gt_api_version -ge 3; then
13406
gt_revision_test_code='
13407
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13408
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13410
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13413
gt_revision_test_code=
13415
if test $gt_api_version -ge 2; then
13416
gt_expression_test_code=' + * ngettext ("", "", 0)'
13418
gt_expression_test_code=
13421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13422
$as_echo_n "checking for GNU gettext in libc... " >&6; }
13423
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13424
$as_echo_n "(cached) " >&6
13426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427
/* end confdefs.h. */
13428
#include <libintl.h>
13429
$gt_revision_test_code
13430
extern int _nl_msg_cat_cntr;
13431
extern int *_nl_domain_bindings;
13435
bindtextdomain ("", "");
13436
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13441
if ac_fn_c_try_link "$LINENO"; then :
13442
eval "$gt_func_gnugettext_libc=yes"
13444
eval "$gt_func_gnugettext_libc=no"
13446
rm -f core conftest.err conftest.$ac_objext \
13447
conftest$ac_exeext conftest.$ac_ext
13449
eval ac_res=\$$gt_func_gnugettext_libc
13450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13451
$as_echo "$ac_res" >&6; }
13453
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13459
am_save_CPPFLAGS="$CPPFLAGS"
13461
for element in $INCICONV; do
13463
for x in $CPPFLAGS; do
13465
acl_save_prefix="$prefix"
13466
prefix="$acl_final_prefix"
13467
acl_save_exec_prefix="$exec_prefix"
13468
exec_prefix="$acl_final_exec_prefix"
13470
exec_prefix="$acl_save_exec_prefix"
13471
prefix="$acl_save_prefix"
13473
if test "X$x" = "X$element"; then
13478
if test -z "$haveit"; then
13479
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13485
$as_echo_n "checking for iconv... " >&6; }
13486
if test "${am_cv_func_iconv+set}" = set; then :
13487
$as_echo_n "(cached) " >&6
13490
am_cv_func_iconv="no, consider installing GNU libiconv"
13492
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13493
/* end confdefs.h. */
13494
#include <stdlib.h>
13499
iconv_t cd = iconv_open("","");
13500
iconv(cd,NULL,NULL,NULL,NULL);
13506
if ac_fn_c_try_link "$LINENO"; then :
13507
am_cv_func_iconv=yes
13509
rm -f core conftest.err conftest.$ac_objext \
13510
conftest$ac_exeext conftest.$ac_ext
13511
if test "$am_cv_func_iconv" != yes; then
13512
am_save_LIBS="$LIBS"
13513
LIBS="$LIBS $LIBICONV"
13514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515
/* end confdefs.h. */
13516
#include <stdlib.h>
13521
iconv_t cd = iconv_open("","");
13522
iconv(cd,NULL,NULL,NULL,NULL);
13528
if ac_fn_c_try_link "$LINENO"; then :
13529
am_cv_lib_iconv=yes
13530
am_cv_func_iconv=yes
13532
rm -f core conftest.err conftest.$ac_objext \
13533
conftest$ac_exeext conftest.$ac_ext
13534
LIBS="$am_save_LIBS"
13538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13539
$as_echo "$am_cv_func_iconv" >&6; }
13540
if test "$am_cv_func_iconv" = yes; then
13541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13542
$as_echo_n "checking for working iconv... " >&6; }
13543
if test "${am_cv_func_iconv_works+set}" = set; then :
13544
$as_echo_n "(cached) " >&6
13547
am_save_LIBS="$LIBS"
13548
if test $am_cv_lib_iconv = yes; then
13549
LIBS="$LIBS $LIBICONV"
13551
if test "$cross_compiling" = yes; then :
13553
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13554
*) am_cv_func_iconv_works="guessing yes" ;;
13557
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558
/* end confdefs.h. */
13561
#include <string.h>
13564
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13567
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13568
if (cd_utf8_to_88591 != (iconv_t)(-1))
13570
static const char input[] = "\342\202\254"; /* EURO SIGN */
13572
const char *inptr = input;
13573
size_t inbytesleft = strlen (input);
13574
char *outptr = buf;
13575
size_t outbytesleft = sizeof (buf);
13576
size_t res = iconv (cd_utf8_to_88591,
13577
(char **) &inptr, &inbytesleft,
13578
&outptr, &outbytesleft);
13583
#if 0 /* This bug could be worked around by the caller. */
13584
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13586
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13587
if (cd_88591_to_utf8 != (iconv_t)(-1))
13589
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13591
const char *inptr = input;
13592
size_t inbytesleft = strlen (input);
13593
char *outptr = buf;
13594
size_t outbytesleft = sizeof (buf);
13595
size_t res = iconv (cd_88591_to_utf8,
13596
(char **) &inptr, &inbytesleft,
13597
&outptr, &outbytesleft);
13603
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13605
if (/* Try standardized names. */
13606
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13607
/* Try IRIX, OSF/1 names. */
13608
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13609
/* Try AIX names. */
13610
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13611
/* Try HP-UX names. */
13612
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13617
if ac_fn_c_try_run "$LINENO"; then :
13618
am_cv_func_iconv_works=yes
13620
am_cv_func_iconv_works=no
13622
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13623
conftest.$ac_objext conftest.beam conftest.$ac_ext
13626
LIBS="$am_save_LIBS"
13629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13630
$as_echo "$am_cv_func_iconv_works" >&6; }
13631
case "$am_cv_func_iconv_works" in
13632
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
13633
*) am_func_iconv=yes ;;
13636
am_func_iconv=no am_cv_lib_iconv=no
13638
if test "$am_func_iconv" = yes; then
13640
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
13643
if test "$am_cv_lib_iconv" = yes; then
13644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13645
$as_echo_n "checking how to link with libiconv... " >&6; }
13646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13647
$as_echo "$LIBICONV" >&6; }
13649
CPPFLAGS="$am_save_CPPFLAGS"
13663
acl_save_prefix="$prefix"
13664
prefix="$acl_final_prefix"
13665
acl_save_exec_prefix="$exec_prefix"
13666
exec_prefix="$acl_final_exec_prefix"
13668
eval additional_includedir=\"$includedir\"
13669
eval additional_libdir=\"$libdir\"
13671
exec_prefix="$acl_save_exec_prefix"
13672
prefix="$acl_save_prefix"
13675
# Check whether --with-libintl-prefix was given.
13676
if test "${with_libintl_prefix+set}" = set; then :
13677
withval=$with_libintl_prefix;
13678
if test "X$withval" = "Xno"; then
13681
if test "X$withval" = "X"; then
13683
acl_save_prefix="$prefix"
13684
prefix="$acl_final_prefix"
13685
acl_save_exec_prefix="$exec_prefix"
13686
exec_prefix="$acl_final_exec_prefix"
13688
eval additional_includedir=\"$includedir\"
13689
eval additional_libdir=\"$libdir\"
13691
exec_prefix="$acl_save_exec_prefix"
13692
prefix="$acl_save_prefix"
13695
additional_includedir="$withval/include"
13696
additional_libdir="$withval/$acl_libdirstem"
13708
names_already_handled=
13709
names_next_round='intl '
13710
while test -n "$names_next_round"; do
13711
names_this_round="$names_next_round"
13713
for name in $names_this_round; do
13715
for n in $names_already_handled; do
13716
if test "$n" = "$name"; then
13717
already_handled=yes
13721
if test -z "$already_handled"; then
13722
names_already_handled="$names_already_handled $name"
13723
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13724
eval value=\"\$HAVE_LIB$uppername\"
13725
if test -n "$value"; then
13726
if test "$value" = yes; then
13727
eval value=\"\$LIB$uppername\"
13728
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13729
eval value=\"\$LTLIB$uppername\"
13730
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13739
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13740
if test -n "$acl_shlibext"; then
13741
shrext=".$acl_shlibext" # typically: shrext=.so
13745
if test $use_additional = yes; then
13746
dir="$additional_libdir"
13747
if test -n "$acl_shlibext"; then
13748
if test -f "$dir/$libname$shrext"; then
13750
found_so="$dir/$libname$shrext"
13752
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13753
ver=`(cd "$dir" && \
13754
for f in "$libname$shrext".*; do echo "$f"; done \
13755
| sed -e "s,^$libname$shrext\\\\.,," \
13756
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13757
| sed 1q ) 2>/dev/null`
13758
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13760
found_so="$dir/$libname$shrext.$ver"
13763
eval library_names=\"$acl_library_names_spec\"
13764
for f in $library_names; do
13765
if test -f "$dir/$f"; then
13774
if test "X$found_dir" = "X"; then
13775
if test -f "$dir/$libname.$acl_libext"; then
13777
found_a="$dir/$libname.$acl_libext"
13780
if test "X$found_dir" != "X"; then
13781
if test -f "$dir/$libname.la"; then
13782
found_la="$dir/$libname.la"
13786
if test "X$found_dir" = "X"; then
13787
for x in $LDFLAGS $LTLIBINTL; do
13789
acl_save_prefix="$prefix"
13790
prefix="$acl_final_prefix"
13791
acl_save_exec_prefix="$exec_prefix"
13792
exec_prefix="$acl_final_exec_prefix"
13794
exec_prefix="$acl_save_exec_prefix"
13795
prefix="$acl_save_prefix"
13799
dir=`echo "X$x" | sed -e 's/^X-L//'`
13800
if test -n "$acl_shlibext"; then
13801
if test -f "$dir/$libname$shrext"; then
13803
found_so="$dir/$libname$shrext"
13805
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13806
ver=`(cd "$dir" && \
13807
for f in "$libname$shrext".*; do echo "$f"; done \
13808
| sed -e "s,^$libname$shrext\\\\.,," \
13809
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13810
| sed 1q ) 2>/dev/null`
13811
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13813
found_so="$dir/$libname$shrext.$ver"
13816
eval library_names=\"$acl_library_names_spec\"
13817
for f in $library_names; do
13818
if test -f "$dir/$f"; then
13827
if test "X$found_dir" = "X"; then
13828
if test -f "$dir/$libname.$acl_libext"; then
13830
found_a="$dir/$libname.$acl_libext"
13833
if test "X$found_dir" != "X"; then
13834
if test -f "$dir/$libname.la"; then
13835
found_la="$dir/$libname.la"
13840
if test "X$found_dir" != "X"; then
13845
if test "X$found_dir" != "X"; then
13846
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13847
if test "X$found_so" != "X"; then
13848
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13849
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13852
for x in $ltrpathdirs; do
13853
if test "X$x" = "X$found_dir"; then
13858
if test -z "$haveit"; then
13859
ltrpathdirs="$ltrpathdirs $found_dir"
13861
if test "$acl_hardcode_direct" = yes; then
13862
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13864
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13865
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13867
for x in $rpathdirs; do
13868
if test "X$x" = "X$found_dir"; then
13873
if test -z "$haveit"; then
13874
rpathdirs="$rpathdirs $found_dir"
13878
for x in $LDFLAGS $LIBINTL; do
13880
acl_save_prefix="$prefix"
13881
prefix="$acl_final_prefix"
13882
acl_save_exec_prefix="$exec_prefix"
13883
exec_prefix="$acl_final_exec_prefix"
13885
exec_prefix="$acl_save_exec_prefix"
13886
prefix="$acl_save_prefix"
13888
if test "X$x" = "X-L$found_dir"; then
13893
if test -z "$haveit"; then
13894
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13896
if test "$acl_hardcode_minus_L" != no; then
13897
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13899
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13905
if test "X$found_a" != "X"; then
13906
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13908
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13911
additional_includedir=
13912
case "$found_dir" in
13913
*/$acl_libdirstem | */$acl_libdirstem/)
13914
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13915
LIBINTL_PREFIX="$basedir"
13916
additional_includedir="$basedir/include"
13919
if test "X$additional_includedir" != "X"; then
13920
if test "X$additional_includedir" != "X/usr/include"; then
13922
if test "X$additional_includedir" = "X/usr/local/include"; then
13923
if test -n "$GCC"; then
13925
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13929
if test -z "$haveit"; then
13930
for x in $CPPFLAGS $INCINTL; do
13932
acl_save_prefix="$prefix"
13933
prefix="$acl_final_prefix"
13934
acl_save_exec_prefix="$exec_prefix"
13935
exec_prefix="$acl_final_exec_prefix"
13937
exec_prefix="$acl_save_exec_prefix"
13938
prefix="$acl_save_prefix"
13940
if test "X$x" = "X-I$additional_includedir"; then
13945
if test -z "$haveit"; then
13946
if test -d "$additional_includedir"; then
13947
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13953
if test -n "$found_la"; then
13954
save_libdir="$libdir"
13955
case "$found_la" in
13956
*/* | *\\*) . "$found_la" ;;
13957
*) . "./$found_la" ;;
13959
libdir="$save_libdir"
13960
for dep in $dependency_libs; do
13963
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13964
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13966
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13967
if test -n "$GCC"; then
13969
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13973
if test -z "$haveit"; then
13975
for x in $LDFLAGS $LIBINTL; do
13977
acl_save_prefix="$prefix"
13978
prefix="$acl_final_prefix"
13979
acl_save_exec_prefix="$exec_prefix"
13980
exec_prefix="$acl_final_exec_prefix"
13982
exec_prefix="$acl_save_exec_prefix"
13983
prefix="$acl_save_prefix"
13985
if test "X$x" = "X-L$additional_libdir"; then
13990
if test -z "$haveit"; then
13991
if test -d "$additional_libdir"; then
13992
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13996
for x in $LDFLAGS $LTLIBINTL; do
13998
acl_save_prefix="$prefix"
13999
prefix="$acl_final_prefix"
14000
acl_save_exec_prefix="$exec_prefix"
14001
exec_prefix="$acl_final_exec_prefix"
14003
exec_prefix="$acl_save_exec_prefix"
14004
prefix="$acl_save_prefix"
14006
if test "X$x" = "X-L$additional_libdir"; then
14011
if test -z "$haveit"; then
14012
if test -d "$additional_libdir"; then
14013
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14020
dir=`echo "X$dep" | sed -e 's/^X-R//'`
14021
if test "$enable_rpath" != no; then
14023
for x in $rpathdirs; do
14024
if test "X$x" = "X$dir"; then
14029
if test -z "$haveit"; then
14030
rpathdirs="$rpathdirs $dir"
14033
for x in $ltrpathdirs; do
14034
if test "X$x" = "X$dir"; then
14039
if test -z "$haveit"; then
14040
ltrpathdirs="$ltrpathdirs $dir"
14045
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14048
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14051
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14052
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14058
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14059
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14065
if test "X$rpathdirs" != "X"; then
14066
if test -n "$acl_hardcode_libdir_separator"; then
14068
for found_dir in $rpathdirs; do
14069
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14071
acl_save_libdir="$libdir"
14073
eval flag=\"$acl_hardcode_libdir_flag_spec\"
14074
libdir="$acl_save_libdir"
14075
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14077
for found_dir in $rpathdirs; do
14078
acl_save_libdir="$libdir"
14079
libdir="$found_dir"
14080
eval flag=\"$acl_hardcode_libdir_flag_spec\"
14081
libdir="$acl_save_libdir"
14082
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14086
if test "X$ltrpathdirs" != "X"; then
14087
for found_dir in $ltrpathdirs; do
14088
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14093
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
14094
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
14095
$as_echo_n "(cached) " >&6
14097
gt_save_CPPFLAGS="$CPPFLAGS"
14098
CPPFLAGS="$CPPFLAGS $INCINTL"
14099
gt_save_LIBS="$LIBS"
14100
LIBS="$LIBS $LIBINTL"
14101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102
/* end confdefs.h. */
14103
#include <libintl.h>
14104
$gt_revision_test_code
14105
extern int _nl_msg_cat_cntr;
14110
const char *_nl_expand_alias (const char *);
14114
bindtextdomain ("", "");
14115
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14120
if ac_fn_c_try_link "$LINENO"; then :
14121
eval "$gt_func_gnugettext_libintl=yes"
14123
eval "$gt_func_gnugettext_libintl=no"
14125
rm -f core conftest.err conftest.$ac_objext \
14126
conftest$ac_exeext conftest.$ac_ext
14127
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14128
LIBS="$LIBS $LIBICONV"
14129
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130
/* end confdefs.h. */
14131
#include <libintl.h>
14132
$gt_revision_test_code
14133
extern int _nl_msg_cat_cntr;
14138
const char *_nl_expand_alias (const char *);
14142
bindtextdomain ("", "");
14143
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14148
if ac_fn_c_try_link "$LINENO"; then :
14149
LIBINTL="$LIBINTL $LIBICONV"
14150
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14151
eval "$gt_func_gnugettext_libintl=yes"
14154
rm -f core conftest.err conftest.$ac_objext \
14155
conftest$ac_exeext conftest.$ac_ext
14157
CPPFLAGS="$gt_save_CPPFLAGS"
14158
LIBS="$gt_save_LIBS"
14160
eval ac_res=\$$gt_func_gnugettext_libintl
14161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14162
$as_echo "$ac_res" >&6; }
14165
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14166
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14167
&& test "$PACKAGE" != gettext-runtime \
14168
&& test "$PACKAGE" != gettext-tools; }; then
14169
gt_use_preinstalled_gnugettext=yes
14178
if test -n "$INTL_MACOSX_LIBS"; then
14179
if test "$gt_use_preinstalled_gnugettext" = "yes" \
14180
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
14181
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14182
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14186
if test "$gt_use_preinstalled_gnugettext" = "yes" \
14187
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
14189
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14197
$as_echo_n "checking whether to use NLS... " >&6; }
14198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14199
$as_echo "$USE_NLS" >&6; }
14200
if test "$USE_NLS" = "yes"; then
14201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14202
$as_echo_n "checking where the gettext function comes from... " >&6; }
14203
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14204
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14205
gt_source="external libintl"
14210
gt_source="included intl directory"
14212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14213
$as_echo "$gt_source" >&6; }
14216
if test "$USE_NLS" = "yes"; then
14218
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14219
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14221
$as_echo_n "checking how to link with libintl... " >&6; }
14222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14223
$as_echo "$LIBINTL" >&6; }
14225
for element in $INCINTL; do
14227
for x in $CPPFLAGS; do
14229
acl_save_prefix="$prefix"
14230
prefix="$acl_final_prefix"
14231
acl_save_exec_prefix="$exec_prefix"
14232
exec_prefix="$acl_final_exec_prefix"
14234
exec_prefix="$acl_save_exec_prefix"
14235
prefix="$acl_save_prefix"
14237
if test "X$x" = "X$element"; then
14242
if test -z "$haveit"; then
14243
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14250
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14253
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14262
INTLLIBS="$LIBINTL"
14271
GETTEXT_PACKAGE=cheese
14274
cat >>confdefs.h <<_ACEOF
14275
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12487
14281
case "$am__api_version" in
12489
as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
14283
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
14824
#*******************************************************************************
13825
14825
# Check required libraries
13826
14826
#*******************************************************************************
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
14829
GLIB_REQUIRED=2.28.0
14830
GOBJECT_REQUIRED=2.28.0
14831
GIO_REQUIRED=2.28.0
14832
GTK_REQUIRED=2.99.4
14833
GDK_REQUIRED=2.99.4
14834
LIBGNOMEDESKTOP_REQUIRED=2.91.6
14835
GSTREAMER_REQUIRED=0.10.32
14836
CAIRO_REQUIRED=1.10.0
14837
PANGOCAIRO_REQUIRED=1.28.0
14838
LIBRSVG_REQUIRED=2.32.0
14839
CLUTTER_REQUIRED=1.6.1
14840
CLUTTERGTK_REQUIRED=0.91.8
14841
CLUTTERGST_REQUIRED=1.0.0
14843
LIBCANBERRA_REQUIRED=0.26
13842
14845
#*******************************************************************************
13843
14846
# Check for udev
14223
15341
See the pkg-config man page for more details.
14225
15343
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14226
See \`config.log' for more details." "$LINENO" 5; }
15344
See \`config.log' for more details" "$LINENO" 5 ; }
14228
15346
CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
14229
15347
CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
14230
15348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14231
15349
$as_echo "yes" >&6; }
14236
15354
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
15358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
15359
$as_echo_n "checking for CHEESE_GTK... " >&6; }
15361
if test -n "$CHEESE_GTK_CFLAGS"; then
15362
pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
15363
elif test -n "$PKG_CONFIG"; then
15364
if test -n "$PKG_CONFIG" && \
15365
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15366
gio-2.0 >= \$GIO_REQUIRED \\
15367
gtk+-3.0 >= \$GTK_REQUIRED \\
15368
gdk-3.0 >= \$GDK_REQUIRED \\
15369
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
15370
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
15371
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
15372
gee-1.0 >= \$GEE_REQUIRED \\
15373
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
15375
gnome-video-effects
15377
($PKG_CONFIG --exists --print-errors "\
15378
gio-2.0 >= $GIO_REQUIRED \
15379
gtk+-3.0 >= $GTK_REQUIRED \
15380
gdk-3.0 >= $GDK_REQUIRED \
15381
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15382
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15383
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15384
gee-1.0 >= $GEE_REQUIRED \
15385
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15387
gnome-video-effects
15390
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15391
test $ac_status = 0; }; then
15392
pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
15393
gio-2.0 >= $GIO_REQUIRED \
15394
gtk+-3.0 >= $GTK_REQUIRED \
15395
gdk-3.0 >= $GDK_REQUIRED \
15396
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15397
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15398
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15399
gee-1.0 >= $GEE_REQUIRED \
15400
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15402
gnome-video-effects
15410
if test -n "$CHEESE_GTK_LIBS"; then
15411
pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
15412
elif test -n "$PKG_CONFIG"; then
15413
if test -n "$PKG_CONFIG" && \
15414
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15415
gio-2.0 >= \$GIO_REQUIRED \\
15416
gtk+-3.0 >= \$GTK_REQUIRED \\
15417
gdk-3.0 >= \$GDK_REQUIRED \\
15418
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
15419
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
15420
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
15421
gee-1.0 >= \$GEE_REQUIRED \\
15422
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
15424
gnome-video-effects
15426
($PKG_CONFIG --exists --print-errors "\
15427
gio-2.0 >= $GIO_REQUIRED \
15428
gtk+-3.0 >= $GTK_REQUIRED \
15429
gdk-3.0 >= $GDK_REQUIRED \
15430
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15431
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15432
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15433
gee-1.0 >= $GEE_REQUIRED \
15434
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15436
gnome-video-effects
15439
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15440
test $ac_status = 0; }; then
15441
pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
15442
gio-2.0 >= $GIO_REQUIRED \
15443
gtk+-3.0 >= $GTK_REQUIRED \
15444
gdk-3.0 >= $GDK_REQUIRED \
15445
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15446
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15447
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15448
gee-1.0 >= $GEE_REQUIRED \
15449
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15451
gnome-video-effects
15462
if test $pkg_failed = yes; then
15463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15464
$as_echo "no" >&6; }
15466
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15467
_pkg_short_errors_supported=yes
15469
_pkg_short_errors_supported=no
15471
if test $_pkg_short_errors_supported = yes; then
15472
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
15473
gio-2.0 >= $GIO_REQUIRED \
15474
gtk+-3.0 >= $GTK_REQUIRED \
15475
gdk-3.0 >= $GDK_REQUIRED \
15476
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15477
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15478
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15479
gee-1.0 >= $GEE_REQUIRED \
15480
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15482
gnome-video-effects
15485
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
15486
gio-2.0 >= $GIO_REQUIRED \
15487
gtk+-3.0 >= $GTK_REQUIRED \
15488
gdk-3.0 >= $GDK_REQUIRED \
15489
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15490
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15491
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15492
gee-1.0 >= $GEE_REQUIRED \
15493
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15495
gnome-video-effects
15498
# Put the nasty error message in config.log where it belongs
15499
echo "$CHEESE_GTK_PKG_ERRORS" >&5
15501
as_fn_error $? "Package requirements (\
15502
gio-2.0 >= $GIO_REQUIRED \
15503
gtk+-3.0 >= $GTK_REQUIRED \
15504
gdk-3.0 >= $GDK_REQUIRED \
15505
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15506
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15507
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15508
gee-1.0 >= $GEE_REQUIRED \
15509
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15511
gnome-video-effects
15514
$CHEESE_GTK_PKG_ERRORS
15516
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15517
installed software in a non-standard prefix.
15519
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
15520
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
15521
See the pkg-config man page for more details." "$LINENO" 5
15522
elif test $pkg_failed = untried; then
15523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15524
$as_echo "no" >&6; }
15525
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15526
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15527
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15528
is in your PATH or set the PKG_CONFIG environment variable to the full
15529
path to pkg-config.
15531
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
15532
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
15533
See the pkg-config man page for more details.
15535
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15536
See \`config.log' for more details" "$LINENO" 5 ; }
15538
CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
15539
CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
15540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15541
$as_echo "yes" >&6; }
14240
15547
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
14241
15548
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=
15555
# Check whether --enable-introspection was given.
15556
if test "${enable_introspection+set}" = set; then :
15557
enableval=$enable_introspection;
15559
enable_introspection=auto
15563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15564
$as_echo_n "checking for gobject-introspection... " >&6; }
15566
case $enable_introspection in #(
15568
found_introspection="no (disabled, use --enable-introspection to enable)"
15571
if test -n "$PKG_CONFIG" && \
15572
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15573
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15575
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15576
test $ac_status = 0; }; then
15579
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15581
if test -n "$PKG_CONFIG" && \
15582
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
15583
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
15585
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15586
test $ac_status = 0; }; then
15587
found_introspection=yes
15589
as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
15593
if test -n "$PKG_CONFIG" && \
15594
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
15595
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
15597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15598
test $ac_status = 0; }; then
15599
found_introspection=yes
15601
found_introspection=no
15605
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15609
$as_echo "$found_introspection" >&6; }
15611
INTROSPECTION_SCANNER=
15612
INTROSPECTION_COMPILER=
15613
INTROSPECTION_GENERATE=
15614
INTROSPECTION_GIRDIR=
15615
INTROSPECTION_TYPELIBDIR=
15616
if test "x$found_introspection" = "xyes"; then
15617
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15618
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15619
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15620
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15621
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15622
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15623
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15624
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15635
if test "x$found_introspection" = "xyes"; then
15636
HAVE_INTROSPECTION_TRUE=
15637
HAVE_INTROSPECTION_FALSE='#'
15639
HAVE_INTROSPECTION_TRUE='#'
15640
HAVE_INTROSPECTION_FALSE=
15646
# API documentation
15649
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
15650
set dummy gtkdoc-check; ac_word=$2
15651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15652
$as_echo_n "checking for $ac_word... " >&6; }
15653
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
15654
$as_echo_n "(cached) " >&6
15656
case $GTKDOC_CHECK in
15658
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15662
for as_dir in $PATH
15665
test -z "$as_dir" && as_dir=.
15666
for ac_exec_ext in '' $ac_executable_extensions; do
15667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15668
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15669
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15679
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15680
if test -n "$GTKDOC_CHECK"; then
15681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15682
$as_echo "$GTKDOC_CHECK" >&6; }
15684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15685
$as_echo "no" >&6; }
15689
for ac_prog in gtkdoc-rebase
15691
# Extract the first word of "$ac_prog", so it can be a program name with args.
15692
set dummy $ac_prog; ac_word=$2
15693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15694
$as_echo_n "checking for $ac_word... " >&6; }
15695
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
15696
$as_echo_n "(cached) " >&6
15698
case $GTKDOC_REBASE in
15700
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15704
for as_dir in $PATH
15707
test -z "$as_dir" && as_dir=.
15708
for ac_exec_ext in '' $ac_executable_extensions; do
15709
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15710
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15711
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15721
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15722
if test -n "$GTKDOC_REBASE"; then
15723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15724
$as_echo "$GTKDOC_REBASE" >&6; }
15726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15727
$as_echo "no" >&6; }
15731
test -n "$GTKDOC_REBASE" && break
15733
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15735
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15736
set dummy gtkdoc-mkpdf; ac_word=$2
15737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15738
$as_echo_n "checking for $ac_word... " >&6; }
15739
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
15740
$as_echo_n "(cached) " >&6
15742
case $GTKDOC_MKPDF in
15744
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15748
for as_dir in $PATH
15751
test -z "$as_dir" && as_dir=.
15752
for ac_exec_ext in '' $ac_executable_extensions; do
15753
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15754
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15765
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15766
if test -n "$GTKDOC_MKPDF"; then
15767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15768
$as_echo "$GTKDOC_MKPDF" >&6; }
15770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15771
$as_echo "no" >&6; }
15777
# Check whether --with-html-dir was given.
15778
if test "${with_html_dir+set}" = set; then :
15779
withval=$with_html_dir;
15781
with_html_dir='${datadir}/gtk-doc/html'
15784
HTML_DIR="$with_html_dir"
15787
# Check whether --enable-gtk-doc was given.
15788
if test "${enable_gtk_doc+set}" = set; then :
15789
enableval=$enable_gtk_doc;
15795
if test x$enable_gtk_doc = xyes; then
15796
if test -n "$PKG_CONFIG" && \
15797
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
15798
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
15800
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15801
test $ac_status = 0; }; then
15804
as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
15808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15809
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15811
$as_echo "$enable_gtk_doc" >&6; }
15813
# Check whether --enable-gtk-doc-html was given.
15814
if test "${enable_gtk_doc_html+set}" = set; then :
15815
enableval=$enable_gtk_doc_html;
15817
enable_gtk_doc_html=yes
15820
# Check whether --enable-gtk-doc-pdf was given.
15821
if test "${enable_gtk_doc_pdf+set}" = set; then :
15822
enableval=$enable_gtk_doc_pdf;
15824
enable_gtk_doc_pdf=no
15828
if test -z "$GTKDOC_MKPDF"; then
15829
enable_gtk_doc_pdf=no
15833
if test x$enable_gtk_doc = xyes; then
15834
ENABLE_GTK_DOC_TRUE=
15835
ENABLE_GTK_DOC_FALSE='#'
15837
ENABLE_GTK_DOC_TRUE='#'
15838
ENABLE_GTK_DOC_FALSE=
15841
if test x$enable_gtk_doc_html = xyes; then
15842
GTK_DOC_BUILD_HTML_TRUE=
15843
GTK_DOC_BUILD_HTML_FALSE='#'
15845
GTK_DOC_BUILD_HTML_TRUE='#'
15846
GTK_DOC_BUILD_HTML_FALSE=
15849
if test x$enable_gtk_doc_pdf = xyes; then
15850
GTK_DOC_BUILD_PDF_TRUE=
15851
GTK_DOC_BUILD_PDF_FALSE='#'
15853
GTK_DOC_BUILD_PDF_TRUE='#'
15854
GTK_DOC_BUILD_PDF_FALSE=
15857
if test -n "$LIBTOOL"; then
15858
GTK_DOC_USE_LIBTOOL_TRUE=
15859
GTK_DOC_USE_LIBTOOL_FALSE='#'
15861
GTK_DOC_USE_LIBTOOL_TRUE='#'
15862
GTK_DOC_USE_LIBTOOL_FALSE=
15865
if test -n "$GTKDOC_REBASE"; then
15866
GTK_DOC_USE_REBASE_TRUE=
15867
GTK_DOC_USE_REBASE_FALSE='#'
15869
GTK_DOC_USE_REBASE_TRUE='#'
15870
GTK_DOC_USE_REBASE_FALSE=
15877
gdu_cv_version_required=0.20
15879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
15880
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
15881
if test -n "$PKG_CONFIG" && \
15882
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
15883
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
15885
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15886
test $ac_status = 0; }; then
15887
gdu_cv_have_gdu=yes
15892
if test "$gdu_cv_have_gdu" = "yes"; then
15893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15894
$as_echo "yes" >&6; }
15897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15898
$as_echo "no" >&6; }
15899
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
15904
# Check whether --with-help-dir was given.
15905
if test "${with_help_dir+set}" = set; then :
15906
withval=$with_help_dir;
15908
with_help_dir='${datadir}/gnome/help'
15911
HELP_DIR="$with_help_dir"
15915
# Check whether --with-omf-dir was given.
15916
if test "${with_omf_dir+set}" = set; then :
15917
withval=$with_omf_dir;
15919
with_omf_dir='${datadir}/omf'
15922
OMF_DIR="$with_omf_dir"
15926
# Check whether --with-help-formats was given.
15927
if test "${with_help_formats+set}" = set; then :
15928
withval=$with_help_formats;
15930
with_help_formats=''
15933
DOC_USER_FORMATS="$with_help_formats"
15936
# Check whether --enable-scrollkeeper was given.
15937
if test "${enable_scrollkeeper+set}" = set; then :
15938
enableval=$enable_scrollkeeper;
15940
enable_scrollkeeper=yes
15943
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
15945
ENABLE_SK_FALSE='#'
15952
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
15955
if test "$gdu_cv_have_gdu" = "yes"; then
15956
HAVE_GNOME_DOC_UTILS_TRUE=
15957
HAVE_GNOME_DOC_UTILS_FALSE='#'
15959
HAVE_GNOME_DOC_UTILS_TRUE='#'
15960
HAVE_GNOME_DOC_UTILS_FALSE=
15968
# Check whether --enable-schemas-compile was given.
15969
if test "${enable_schemas_compile+set}" = set; then :
15970
enableval=$enable_schemas_compile; case ${enableval} in
15971
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
15972
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
15973
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
15984
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15985
if test -n "$ac_tool_prefix"; then
15986
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15987
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989
$as_echo_n "checking for $ac_word... " >&6; }
15990
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15991
$as_echo_n "(cached) " >&6
15993
case $PKG_CONFIG in
15995
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15999
for as_dir in $PATH
16002
test -z "$as_dir" && as_dir=.
16003
for ac_exec_ext in '' $ac_executable_extensions; do
16004
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16005
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16006
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16016
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16017
if test -n "$PKG_CONFIG"; then
16018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16019
$as_echo "$PKG_CONFIG" >&6; }
16021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16022
$as_echo "no" >&6; }
16027
if test -z "$ac_cv_path_PKG_CONFIG"; then
16028
ac_pt_PKG_CONFIG=$PKG_CONFIG
16029
# Extract the first word of "pkg-config", so it can be a program name with args.
16030
set dummy pkg-config; ac_word=$2
16031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16032
$as_echo_n "checking for $ac_word... " >&6; }
16033
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
16034
$as_echo_n "(cached) " >&6
16036
case $ac_pt_PKG_CONFIG in
16038
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16042
for as_dir in $PATH
16045
test -z "$as_dir" && as_dir=.
16046
for ac_exec_ext in '' $ac_executable_extensions; do
16047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16048
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16059
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16060
if test -n "$ac_pt_PKG_CONFIG"; then
16061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16062
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16065
$as_echo "no" >&6; }
16068
if test "x$ac_pt_PKG_CONFIG" = x; then
16071
case $cross_compiling:$ac_tool_warned in
16073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16074
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16075
ac_tool_warned=yes ;;
16077
PKG_CONFIG=$ac_pt_PKG_CONFIG
16080
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16084
if test -n "$PKG_CONFIG"; then
16085
_pkg_min_version=0.16
16086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16087
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16088
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16090
$as_echo "yes" >&6; }
16092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16093
$as_echo "no" >&6; }
16097
gsettingsschemadir=${datadir}/glib-2.0/schemas
16099
if test x$cross_compiling != xyes; then
16100
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
16102
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
16103
set dummy glib-compile-schemas; ac_word=$2
16104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16105
$as_echo_n "checking for $ac_word... " >&6; }
16106
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
16107
$as_echo_n "(cached) " >&6
16109
case $GLIB_COMPILE_SCHEMAS in
16111
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
16114
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16115
for as_dir in $PATH
16118
test -z "$as_dir" && as_dir=.
16119
for ac_exec_ext in '' $ac_executable_extensions; do
16120
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16121
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
16122
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16132
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
16133
if test -n "$GLIB_COMPILE_SCHEMAS"; then
16134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
16135
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
16137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16138
$as_echo "no" >&6; }
16144
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
16145
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
16151
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
16153
mostlyclean-am: clean-gsettings-schemas
16155
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
16157
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
16158
$(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 $@
16160
all-am: $(gsettings_SCHEMAS:.xml=.valid)
16161
uninstall-am: uninstall-gsettings-schemas
16162
install-data-am: install-gsettings-schemas
16164
.SECONDARY: $(gsettings_SCHEMAS)
16166
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
16168
if test -n "$^"; then \
16169
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
16170
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
16171
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
16174
uninstall-gsettings-schemas:
16175
@$(NORMAL_UNINSTALL)
16176
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
16177
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
16178
test -n "$$files" || exit 0; \
16179
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
16180
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
16181
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
16183
clean-gsettings-schemas:
16184
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
16186
ifdef gsettings_ENUM_NAMESPACE
16187
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
16188
$(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
16197
#*******************************************************************************
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"
16199
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
16201
cat >confcache <<\_ACEOF
14341
16202
# This file is a shell script that caches the results of configure
15099
16964
sed_quote_subst='$sed_quote_subst'
15100
16965
double_quote_subst='$double_quote_subst'
15101
16966
delay_variable_subst='$delay_variable_subst'
15102
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15103
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15104
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15105
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15106
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15107
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15108
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15109
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15110
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15111
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15112
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15113
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15114
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15115
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15116
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15117
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15118
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15119
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15120
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15121
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15122
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15123
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15124
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15125
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15126
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15127
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15128
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15129
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15130
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15131
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15132
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15133
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15134
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15135
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15136
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15137
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15138
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15139
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15140
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15141
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15142
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15143
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15144
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15145
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15146
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15147
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15148
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15149
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15150
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15151
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15152
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15153
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15154
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15155
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15156
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15157
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15158
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15159
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15160
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15161
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15162
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15163
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15164
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15165
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15166
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15167
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15168
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15169
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15170
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15171
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15172
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15173
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15174
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15175
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15176
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15177
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15178
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15179
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15180
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15181
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15182
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15183
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15184
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15185
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15186
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15187
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15188
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15189
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15190
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15191
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15192
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15193
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15194
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15195
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15196
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15197
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15198
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15199
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15200
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15201
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15202
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15203
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15204
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15205
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15206
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15207
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15208
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15209
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15210
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15211
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15212
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15213
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15214
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15215
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15216
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15217
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15218
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15219
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16967
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16968
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16969
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16970
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16971
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16972
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16973
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16974
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16975
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16976
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16977
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16978
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16979
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16980
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16981
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16982
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16983
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16984
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16985
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16986
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16987
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16988
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16989
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16990
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16991
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16992
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16993
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16994
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16995
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16996
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16997
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16998
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16999
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17000
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17001
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17002
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17003
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17004
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17005
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17006
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17007
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17008
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17009
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17010
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17011
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17012
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17013
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17014
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17015
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17016
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17017
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17018
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17019
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17020
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17021
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17022
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17023
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17024
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17025
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17026
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17027
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17028
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17029
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17030
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17031
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17032
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17033
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17034
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17035
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17036
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17037
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17038
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17039
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17040
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17041
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17042
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17043
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17044
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17045
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17046
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17047
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17048
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17049
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17050
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17051
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17052
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17053
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17054
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17055
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17056
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17057
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17058
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17059
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17060
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17061
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17062
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17063
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17064
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17065
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17066
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17067
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17068
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17069
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17070
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17071
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17072
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17073
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17074
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17075
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17076
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17077
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17078
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17079
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17080
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17081
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17082
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17083
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17084
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17085
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17086
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17087
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17088
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17089
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17090
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17091
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17092
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17093
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17094
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17095
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17096
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15222
17099
LTCFLAGS='$LTCFLAGS'
15223
17100
compiler='$compiler_DEFAULT'
17102
# A function that is used when there is no print builtin or printf.
17103
func_fallback_echo ()
17105
eval 'cat <<_LTECHO_EOF
15225
17110
# Quote evaled strings.
16492
18432
# if finds mixed CR/LF and LF-only lines. Since sed operates in
16493
18433
# text mode, it properly converts lines to CR/LF. This bash problem
16494
18434
# is reportedly fixed, but why not run on old versions too?
16495
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16496
|| (rm -f "$cfgfile"; exit 1)
16500
cat << \_LT_EOF >> "$cfgfile"
16502
# func_dirname file append nondir_replacement
16503
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16504
# otherwise set result to NONDIR_REPLACEMENT.
16508
*/*) func_dirname_result="${1%/*}${2}" ;;
16509
* ) func_dirname_result="${3}" ;;
16513
# func_basename file
16516
func_basename_result="${1##*/}"
16519
# func_dirname_and_basename file append nondir_replacement
16520
# perform func_basename and func_dirname in a single function
16522
# dirname: Compute the dirname of FILE. If nonempty,
16523
# add APPEND to the result, otherwise set result
16524
# to NONDIR_REPLACEMENT.
16525
# value returned in "$func_dirname_result"
16526
# basename: Compute filename of FILE.
16527
# value retuned in "$func_basename_result"
16528
# Implementation must be kept synchronized with func_dirname
16529
# and func_basename. For efficiency, we do not delegate to
16530
# those functions but instead duplicate the functionality here.
16531
func_dirname_and_basename ()
16534
*/*) func_dirname_result="${1%/*}${2}" ;;
16535
* ) func_dirname_result="${3}" ;;
16537
func_basename_result="${1##*/}"
16540
# func_stripname prefix suffix name
16541
# strip PREFIX and SUFFIX off of NAME.
16542
# PREFIX and SUFFIX must not contain globbing or regex special
16543
# characters, hashes, percent signs, but SUFFIX may contain a leading
16544
# dot (in which case that matches only a dot).
16547
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16548
# positional parameters, so assign one to ordinary parameter first.
16549
func_stripname_result=${3}
16550
func_stripname_result=${func_stripname_result#"${1}"}
16551
func_stripname_result=${func_stripname_result%"${2}"}
16557
func_opt_split_opt=${1%%=*}
16558
func_opt_split_arg=${1#*=}
16565
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16566
*) func_lo2o_result=${1} ;;
16570
# func_xform libobj-or-source
16573
func_xform_result=${1%.*}.lo
16576
# func_arith arithmetic-term...
16579
func_arith_result=$(( $* ))
16583
# STRING may not start with a hyphen.
16586
func_len_result=${#1}
16591
*) # Bourne compatible functions.
16592
cat << \_LT_EOF >> "$cfgfile"
16594
# func_dirname file append nondir_replacement
16595
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16596
# otherwise set result to NONDIR_REPLACEMENT.
16599
# Extract subdirectory from the argument.
16600
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16601
if test "X$func_dirname_result" = "X${1}"; then
16602
func_dirname_result="${3}"
16604
func_dirname_result="$func_dirname_result${2}"
16608
# func_basename file
16611
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16615
# func_stripname prefix suffix name
16616
# strip PREFIX and SUFFIX off of NAME.
16617
# PREFIX and SUFFIX must not contain globbing or regex special
16618
# characters, hashes, percent signs, but SUFFIX may contain a leading
16619
# dot (in which case that matches only a dot).
16620
# func_strip_suffix prefix name
16624
.*) func_stripname_result=`$ECHO "X${3}" \
16625
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16626
*) func_stripname_result=`$ECHO "X${3}" \
16627
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16632
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16633
my_sed_long_arg='1s/^-[^=]*=//'
16638
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16639
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16645
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16648
# func_xform libobj-or-source
16651
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16654
# func_arith arithmetic-term...
16657
func_arith_result=`expr "$@"`
16661
# STRING may not start with a hyphen.
16664
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16670
case $lt_shell_append in
16672
cat << \_LT_EOF >> "$cfgfile"
16674
# func_append var value
16675
# Append VALUE to the end of shell variable VAR.
16683
cat << \_LT_EOF >> "$cfgfile"
16685
# func_append var value
16686
# Append VALUE to the end of shell variable VAR.
16697
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16698
|| (rm -f "$cfgfile"; exit 1)
16700
mv -f "$cfgfile" "$ofile" ||
18435
sed '$q' "$ltmain" >> "$cfgfile" \
18436
|| (rm -f "$cfgfile"; exit 1)
18438
if test x"$xsi_shell" = xyes; then
18439
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18443
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18444
\ * ) func_dirname_result="${3}" ;;\
18446
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18447
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18448
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18449
test 0 -eq $? || _lt_function_replace_fail=:
18452
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18455
\ func_basename_result="${1##*/}"\
18456
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18457
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18458
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18459
test 0 -eq $? || _lt_function_replace_fail=:
18462
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18463
func_dirname_and_basename ()\
18466
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18467
\ * ) func_dirname_result="${3}" ;;\
18469
\ func_basename_result="${1##*/}"\
18470
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18471
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18472
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18473
test 0 -eq $? || _lt_function_replace_fail=:
18476
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18479
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18480
\ # positional parameters, so assign one to ordinary parameter first.\
18481
\ func_stripname_result=${3}\
18482
\ func_stripname_result=${func_stripname_result#"${1}"}\
18483
\ func_stripname_result=${func_stripname_result%"${2}"}\
18484
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18485
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18486
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18487
test 0 -eq $? || _lt_function_replace_fail=:
18490
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18491
func_split_long_opt ()\
18493
\ func_split_long_opt_name=${1%%=*}\
18494
\ func_split_long_opt_arg=${1#*=}\
18495
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18496
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18497
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18498
test 0 -eq $? || _lt_function_replace_fail=:
18501
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18502
func_split_short_opt ()\
18504
\ func_split_short_opt_arg=${1#??}\
18505
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18506
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18507
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18508
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18509
test 0 -eq $? || _lt_function_replace_fail=:
18512
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18516
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18517
\ *) func_lo2o_result=${1} ;;\
18519
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18520
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18521
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18522
test 0 -eq $? || _lt_function_replace_fail=:
18525
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18528
func_xform_result=${1%.*}.lo\
18529
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18530
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18531
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18532
test 0 -eq $? || _lt_function_replace_fail=:
18535
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18538
func_arith_result=$(( $* ))\
18539
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18540
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18541
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18542
test 0 -eq $? || _lt_function_replace_fail=:
18545
sed -e '/^func_len ()$/,/^} # func_len /c\
18548
func_len_result=${#1}\
18549
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18550
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18551
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18552
test 0 -eq $? || _lt_function_replace_fail=:
18556
if test x"$lt_shell_append" = xyes; then
18557
sed -e '/^func_append ()$/,/^} # func_append /c\
18560
eval "${1}+=\\${2}"\
18561
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18562
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18563
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18564
test 0 -eq $? || _lt_function_replace_fail=:
18567
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18568
func_append_quoted ()\
18570
\ func_quote_for_eval "${2}"\
18571
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18572
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18573
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18574
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18575
test 0 -eq $? || _lt_function_replace_fail=:
18578
# Save a `func_append' function call where possible by direct use of '+='
18579
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18580
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18581
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18582
test 0 -eq $? || _lt_function_replace_fail=:
18584
# Save a `func_append' function call even when '+=' is not available
18585
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18586
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18587
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18588
test 0 -eq $? || _lt_function_replace_fail=:
18591
if test x"$_lt_function_replace_fail" = x":"; then
18592
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18593
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18597
mv -f "$cfgfile" "$ofile" ||
16701
18598
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16702
18599
chmod +x "$ofile"
16705
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16706
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18602
"po-directories":C)
18603
for ac_file in $CONFIG_FILES; do
18604
# Support "outfile[:infile[:infile...]]"
18606
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18608
# PO directories have a Makefile.in generated from Makefile.in.in.
18609
case "$ac_file" in */Makefile.in)
18610
# Adjust a relative srcdir.
18611
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18612
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18613
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18614
# In autoconf-2.13 it is called $ac_given_srcdir.
18615
# In autoconf-2.50 it is called $srcdir.
18616
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18617
case "$ac_given_srcdir" in
18618
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18619
/*) top_srcdir="$ac_given_srcdir" ;;
18620
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18622
# Treat a directory as a PO directory if and only if it has a
18623
# POTFILES.in file. This allows packages to have multiple PO
18624
# directories under different names or in different locations.
18625
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18626
rm -f "$ac_dir/POTFILES"
18627
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18628
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18629
POMAKEFILEDEPS="POTFILES.in"
18630
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18631
# on $ac_dir but don't depend on user-specified configuration
18633
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18634
# The LINGUAS file contains the set of available languages.
18635
if test -n "$OBSOLETE_ALL_LINGUAS"; then
18636
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18638
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18639
# Hide the ALL_LINGUAS assigment from automake < 1.5.
18640
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18641
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18643
# The set of available languages was given in configure.in.
18644
# Hide the ALL_LINGUAS assigment from automake < 1.5.
18645
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18648
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18649
# Compute UPDATEPOFILES
18650
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18651
# Compute DUMMYPOFILES
18652
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18654
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18655
case "$ac_given_srcdir" in
18657
*) srcdirpre='$(srcdir)/' ;;
18663
for lang in $ALL_LINGUAS; do
18664
POFILES="$POFILES $srcdirpre$lang.po"
18665
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18666
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18667
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18669
# CATALOGS depends on both $ac_dir and the user's LINGUAS
18670
# environment variable.
18672
if test -n "$ALL_LINGUAS"; then
18673
for presentlang in $ALL_LINGUAS; do
18675
if test "%UNSET%" != "$LINGUAS"; then
18676
desiredlanguages="$LINGUAS"
18678
desiredlanguages="$ALL_LINGUAS"
18680
for desiredlang in $desiredlanguages; do
18681
# Use the presentlang catalog if desiredlang is
18682
# a. equal to presentlang, or
18683
# b. a variant of presentlang (because in this case,
18684
# presentlang can be used as a fallback for messages
18685
# which are not translated in the desiredlang catalog).
18686
case "$desiredlang" in
18687
"$presentlang"*) useit=yes;;
18690
if test $useit = yes; then
18691
INST_LINGUAS="$INST_LINGUAS $presentlang"
18696
if test -n "$INST_LINGUAS"; then
18697
for lang in $INST_LINGUAS; do
18698
CATALOGS="$CATALOGS $lang.gmo"
18701
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18702
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18703
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18704
if test -f "$f"; then
18706
*.orig | *.bak | *~) ;;
18707
*) cat "$f" >> "$ac_dir/Makefile" ;;
16708
18715
"po/stamp-it":C)
16709
18716
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16710
as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18717
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16712
18719
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16713
18720
>"po/stamp-it.tmp"