3817
3732
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818
3733
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819
3734
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3821
depcc="$CC" am_compiler_list=
3823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3824
$as_echo_n "checking dependency style of $depcc... " >&6; }
3825
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3826
$as_echo_n "(cached) " >&6
3828
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3829
# We make a subdir and do the tests there. Otherwise we can end up
3830
# making bogus files that we don't know about and never remove. For
3831
# instance it was reported that on HP-UX the gcc test will end up
3832
# making a dummy file named `D' -- because `-MD' means `put the output
3835
# Copy depcomp to subdir because otherwise we won't find it if we're
3836
# using a relative directory.
3837
cp "$am_depcomp" conftest.dir
3839
# We will build objects and dependencies in a subdirectory because
3840
# it helps to detect inapplicable dependency modes. For instance
3841
# both Tru64's cc and ICC support -MD to output dependencies as a
3842
# side effect of compilation, but ICC will put the dependencies in
3843
# the current directory while Tru64 will put them in the object
3847
am_cv_CC_dependencies_compiler_type=none
3848
if test "$am_compiler_list" = ""; then
3849
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3852
case " $depcc " in #(
3853
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3856
for depmode in $am_compiler_list; do
3857
# Setup a source with many dependencies, because some compilers
3858
# like to wrap large dependency lists on column 80 (with \), and
3859
# we should not choose a depcomp mode which is confused by this.
3861
# We need to recreate these files for each test, as the compiler may
3862
# overwrite some of them when testing with obscure command lines.
3863
# This happens at least with the AIX C compiler.
3865
for i in 1 2 3 4 5 6; do
3866
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3867
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3868
# Solaris 8's {/usr,}/bin/sh.
3869
touch sub/conftst$i.h
3871
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3873
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3874
# mode. It turns out that the SunPro C++ compiler does not properly
3875
# handle `-M -o', and we need to detect this. Also, some Intel
3876
# versions had trouble with output in subdirs
3877
am__obj=sub/conftest.${OBJEXT-o}
3878
am__minus_obj="-o $am__obj"
3881
# This depmode causes a compiler race in universal mode.
3882
test "$am__universal" = false || continue
3885
# after this tag, mechanisms are not by side-effect, so they'll
3886
# only be used when explicitly requested
3887
if test "x$enable_dependency_tracking" = xyes; then
3893
msvisualcpp | msvcmsys)
3894
# This compiler won't grok `-c -o', but also, the minuso test has
3895
# not run yet. These depmodes are late enough in the game, and
3896
# so weak that their functioning should not be impacted.
3897
am__obj=conftest.${OBJEXT-o}
3902
if depmode=$depmode \
3903
source=sub/conftest.c object=$am__obj \
3904
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3905
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3906
>/dev/null 2>conftest.err &&
3907
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3908
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3909
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3910
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3911
# icc doesn't choke on unknown options, it will just issue warnings
3912
# or remarks (even with -Werror). So we grep stderr for any message
3913
# that says an option was ignored or not supported.
3914
# When given -MP, icc 7.0 and 7.1 complain thusly:
3915
# icc: Command line warning: ignoring option '-M'; no argument required
3916
# The diagnosis changed in icc 8.0:
3917
# icc: Command line remark: option '-MP' not supported
3918
if (grep 'ignoring option' conftest.err ||
3919
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3920
am_cv_CC_dependencies_compiler_type=$depmode
3929
am_cv_CC_dependencies_compiler_type=none
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3934
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3935
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3938
test "x$enable_dependency_tracking" != xno \
3939
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3941
am__fastdepCC_FALSE='#'
3943
am__fastdepCC_TRUE='#'
3944
am__fastdepCC_FALSE=
3951
case "$am__api_version" in
3953
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3959
if test -n "0.35.0"; then
3960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3961
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3963
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3964
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3965
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3968
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3969
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3970
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
3973
# Extract the first word of "intltool-update", so it can be a program name with args.
3974
set dummy intltool-update; ac_word=$2
3975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976
$as_echo_n "checking for $ac_word... " >&6; }
3977
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3978
$as_echo_n "(cached) " >&6
3980
case $INTLTOOL_UPDATE in
3982
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989
test -z "$as_dir" && as_dir=.
3990
for ac_exec_ext in '' $ac_executable_extensions; do
3991
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3993
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4004
if test -n "$INTLTOOL_UPDATE"; then
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4006
$as_echo "$INTLTOOL_UPDATE" >&6; }
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009
$as_echo "no" >&6; }
4013
# Extract the first word of "intltool-merge", so it can be a program name with args.
4014
set dummy intltool-merge; ac_word=$2
4015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4016
$as_echo_n "checking for $ac_word... " >&6; }
4017
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4018
$as_echo_n "(cached) " >&6
4020
case $INTLTOOL_MERGE in
4022
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4025
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029
test -z "$as_dir" && as_dir=.
4030
for ac_exec_ext in '' $ac_executable_extensions; do
4031
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4032
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4033
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4044
if test -n "$INTLTOOL_MERGE"; then
4045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4046
$as_echo "$INTLTOOL_MERGE" >&6; }
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049
$as_echo "no" >&6; }
4053
# Extract the first word of "intltool-extract", so it can be a program name with args.
4054
set dummy intltool-extract; ac_word=$2
4055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056
$as_echo_n "checking for $ac_word... " >&6; }
4057
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4058
$as_echo_n "(cached) " >&6
4060
case $INTLTOOL_EXTRACT in
4062
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069
test -z "$as_dir" && as_dir=.
4070
for ac_exec_ext in '' $ac_executable_extensions; do
4071
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4072
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4084
if test -n "$INTLTOOL_EXTRACT"; then
4085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4086
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089
$as_echo "no" >&6; }
4093
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4094
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4097
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4098
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4099
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4100
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4101
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4102
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4103
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4104
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4105
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4106
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4107
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4108
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4109
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4110
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4111
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4112
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4113
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4114
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4115
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4213
# Check the gettext tools to make sure they are GNU
4214
# Extract the first word of "xgettext", so it can be a program name with args.
4215
set dummy xgettext; ac_word=$2
4216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217
$as_echo_n "checking for $ac_word... " >&6; }
4218
if ${ac_cv_path_XGETTEXT+:} false; then :
4219
$as_echo_n "(cached) " >&6
4223
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230
test -z "$as_dir" && as_dir=.
4231
for ac_exec_ext in '' $ac_executable_extensions; do
4232
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4233
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4234
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244
XGETTEXT=$ac_cv_path_XGETTEXT
4245
if test -n "$XGETTEXT"; then
4246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4247
$as_echo "$XGETTEXT" >&6; }
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250
$as_echo "no" >&6; }
4254
# Extract the first word of "msgmerge", so it can be a program name with args.
4255
set dummy msgmerge; ac_word=$2
4256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257
$as_echo_n "checking for $ac_word... " >&6; }
4258
if ${ac_cv_path_MSGMERGE+:} false; then :
4259
$as_echo_n "(cached) " >&6
4263
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270
test -z "$as_dir" && as_dir=.
4271
for ac_exec_ext in '' $ac_executable_extensions; do
4272
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4274
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284
MSGMERGE=$ac_cv_path_MSGMERGE
4285
if test -n "$MSGMERGE"; then
4286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4287
$as_echo "$MSGMERGE" >&6; }
4289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290
$as_echo "no" >&6; }
4294
# Extract the first word of "msgfmt", so it can be a program name with args.
4295
set dummy msgfmt; ac_word=$2
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297
$as_echo_n "checking for $ac_word... " >&6; }
4298
if ${ac_cv_path_MSGFMT+:} false; then :
4299
$as_echo_n "(cached) " >&6
4303
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310
test -z "$as_dir" && as_dir=.
4311
for ac_exec_ext in '' $ac_executable_extensions; do
4312
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4314
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324
MSGFMT=$ac_cv_path_MSGFMT
4325
if test -n "$MSGFMT"; then
4326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4327
$as_echo "$MSGFMT" >&6; }
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330
$as_echo "no" >&6; }
4334
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4335
set dummy gmsgfmt; ac_word=$2
4336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337
$as_echo_n "checking for $ac_word... " >&6; }
4338
if ${ac_cv_path_GMSGFMT+:} false; then :
4339
$as_echo_n "(cached) " >&6
4343
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350
test -z "$as_dir" && as_dir=.
4351
for ac_exec_ext in '' $ac_executable_extensions; do
4352
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4354
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4365
GMSGFMT=$ac_cv_path_GMSGFMT
4366
if test -n "$GMSGFMT"; then
4367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4368
$as_echo "$GMSGFMT" >&6; }
4370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371
$as_echo "no" >&6; }
4375
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4376
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4378
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4379
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4380
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4381
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4382
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4385
# Extract the first word of "perl", so it can be a program name with args.
4386
set dummy perl; ac_word=$2
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388
$as_echo_n "checking for $ac_word... " >&6; }
4389
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4390
$as_echo_n "(cached) " >&6
4392
case $INTLTOOL_PERL in
4394
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401
test -z "$as_dir" && as_dir=.
4402
for ac_exec_ext in '' $ac_executable_extensions; do
4403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4405
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4416
if test -n "$INTLTOOL_PERL"; then
4417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4418
$as_echo "$INTLTOOL_PERL" >&6; }
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421
$as_echo "no" >&6; }
4425
if test -z "$INTLTOOL_PERL"; then
4426
as_fn_error $? "perl not found" "$LINENO" 5
4428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4429
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4430
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4431
if test $? -ne 0; then
4432
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4434
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4436
$as_echo "$IT_PERL_VERSION" >&6; }
4438
if test "x" != "xno-xml"; then
4439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4440
$as_echo_n "checking for XML::Parser... " >&6; }
4441
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4443
$as_echo "ok" >&6; }
4445
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4449
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4452
# Set DATADIRNAME correctly if it is not set yet
4453
# (copied from glib-gettext.m4)
4454
if test -z "$DATADIRNAME"; then
4455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456
/* end confdefs.h. */
4461
extern int _nl_msg_cat_cntr;
4462
return _nl_msg_cat_cntr
4467
if ac_fn_c_try_link "$LINENO"; then :
4472
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4473
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4485
rm -f core conftest.err conftest.$ac_objext \
4486
conftest$ac_exeext conftest.$ac_ext
4493
# Extract the first word of "valac-0.12", so it can be a program name with args.
4494
set dummy valac-0.12; ac_word=$2
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496
$as_echo_n "checking for $ac_word... " >&6; }
4497
if ${ac_cv_path_VALAC+:} false; then :
4498
$as_echo_n "(cached) " >&6
4502
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509
test -z "$as_dir" && as_dir=.
4510
for ac_exec_ext in '' $ac_executable_extensions; do
4511
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4513
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523
VALAC=$ac_cv_path_VALAC
4524
if test -n "$VALAC"; then
4525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4526
$as_echo "$VALAC" >&6; }
4528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529
$as_echo "no" >&6; }
4533
if test -z "$VALAC"; then :
4534
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
4535
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
4537
if test -n "0.11.6"; then :
4538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.11.6" >&5
4539
$as_echo_n "checking $VALAC is at least version 0.11.6... " >&6; }
4540
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
4542
as_arg_v2="$am__vala_version"
4543
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
4546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4547
$as_echo "yes" >&6; } ;; #(
4549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4550
$as_echo "yes" >&6; } ;; #(
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553
$as_echo "no" >&6; }
4554
as_fn_error $? "Vala 0.11.6 not found." "$LINENO" 5 ;; #(
3735
DEPDIR="${am__leading_dot}deps"
3737
ac_config_commands="$ac_config_commands depfiles"
3740
am_make=${MAKE-make}
3741
cat > confinc << 'END'
3743
@echo this is the am__doit target
3746
# If we don't find an include directive, just comment out the code.
3747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3748
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3752
# First try GNU make style include.
3753
echo "include confinc" > confmf
3754
# Ignore all kinds of additional output from `make'.
3755
case `$am_make -s -f confmf 2> /dev/null` in #(
3756
*the\ am__doit\ target*)
3762
# Now try BSD make style include.
3763
if test "$am__include" = "#"; then
3764
echo '.include "confinc"' > confmf
3765
case `$am_make -s -f confmf 2> /dev/null` in #(
3766
*the\ am__doit\ target*)
3767
am__include=.include
4562
if test -z "$VALAC"; then :
4563
as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
4566
ac_cpp='$CPP $CPPFLAGS'
4567
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570
if test -n "$ac_tool_prefix"; then
4571
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4572
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574
$as_echo_n "checking for $ac_word... " >&6; }
4575
if ${ac_cv_prog_CC+:} false; then :
4576
$as_echo_n "(cached) " >&6
4578
if test -n "$CC"; then
4579
ac_cv_prog_CC="$CC" # Let the user override the test.
4581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585
test -z "$as_dir" && as_dir=.
4586
for ac_exec_ext in '' $ac_executable_extensions; do
4587
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4589
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4599
if test -n "$CC"; then
4600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4601
$as_echo "$CC" >&6; }
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604
$as_echo "no" >&6; }
4609
if test -z "$ac_cv_prog_CC"; then
4611
# Extract the first word of "gcc", so it can be a program name with args.
4612
set dummy gcc; ac_word=$2
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614
$as_echo_n "checking for $ac_word... " >&6; }
4615
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4616
$as_echo_n "(cached) " >&6
4618
if test -n "$ac_ct_CC"; then
4619
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625
test -z "$as_dir" && as_dir=.
4626
for ac_exec_ext in '' $ac_executable_extensions; do
4627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628
ac_cv_prog_ac_ct_CC="gcc"
4629
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4639
if test -n "$ac_ct_CC"; then
4640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4641
$as_echo "$ac_ct_CC" >&6; }
4643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644
$as_echo "no" >&6; }
4647
if test "x$ac_ct_CC" = x; then
4650
case $cross_compiling:$ac_tool_warned in
4652
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4653
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4654
ac_tool_warned=yes ;;
4662
if test -z "$CC"; then
4663
if test -n "$ac_tool_prefix"; then
4664
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4665
set dummy ${ac_tool_prefix}cc; ac_word=$2
4666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667
$as_echo_n "checking for $ac_word... " >&6; }
4668
if ${ac_cv_prog_CC+:} false; then :
4669
$as_echo_n "(cached) " >&6
4671
if test -n "$CC"; then
4672
ac_cv_prog_CC="$CC" # Let the user override the test.
4674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678
test -z "$as_dir" && as_dir=.
4679
for ac_exec_ext in '' $ac_executable_extensions; do
4680
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681
ac_cv_prog_CC="${ac_tool_prefix}cc"
4682
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692
if test -n "$CC"; then
4693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4694
$as_echo "$CC" >&6; }
4696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697
$as_echo "no" >&6; }
4703
if test -z "$CC"; then
4704
# Extract the first word of "cc", so it can be a program name with args.
4705
set dummy cc; ac_word=$2
4706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707
$as_echo_n "checking for $ac_word... " >&6; }
4708
if ${ac_cv_prog_CC+:} false; then :
4709
$as_echo_n "(cached) " >&6
4711
if test -n "$CC"; then
4712
ac_cv_prog_CC="$CC" # Let the user override the test.
4715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719
test -z "$as_dir" && as_dir=.
4720
for ac_exec_ext in '' $ac_executable_extensions; do
4721
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4723
ac_prog_rejected=yes
4727
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4734
if test $ac_prog_rejected = yes; then
4735
# We found a bogon in the path, so make sure we never use it.
4736
set dummy $ac_cv_prog_CC
4738
if test $# != 0; then
4739
# We chose a different compiler from the bogus one.
4740
# However, it has the same basename, so the bogon will be chosen
4741
# first if we set CC to just the basename; use the full file name.
4743
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4749
if test -n "$CC"; then
4750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751
$as_echo "$CC" >&6; }
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754
$as_echo "no" >&6; }
4759
if test -z "$CC"; then
4760
if test -n "$ac_tool_prefix"; then
4761
for ac_prog in cl.exe
4763
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4764
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766
$as_echo_n "checking for $ac_word... " >&6; }
4767
if ${ac_cv_prog_CC+:} false; then :
4768
$as_echo_n "(cached) " >&6
4770
if test -n "$CC"; then
4771
ac_cv_prog_CC="$CC" # Let the user override the test.
4773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777
test -z "$as_dir" && as_dir=.
4778
for ac_exec_ext in '' $ac_executable_extensions; do
4779
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4781
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791
if test -n "$CC"; then
4792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4793
$as_echo "$CC" >&6; }
4795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796
$as_echo "no" >&6; }
4800
test -n "$CC" && break
4803
if test -z "$CC"; then
4805
for ac_prog in cl.exe
4807
# Extract the first word of "$ac_prog", so it can be a program name with args.
4808
set dummy $ac_prog; ac_word=$2
4809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810
$as_echo_n "checking for $ac_word... " >&6; }
4811
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4812
$as_echo_n "(cached) " >&6
4814
if test -n "$ac_ct_CC"; then
4815
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4817
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821
test -z "$as_dir" && as_dir=.
4822
for ac_exec_ext in '' $ac_executable_extensions; do
4823
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824
ac_cv_prog_ac_ct_CC="$ac_prog"
4825
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4835
if test -n "$ac_ct_CC"; then
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4837
$as_echo "$ac_ct_CC" >&6; }
4839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840
$as_echo "no" >&6; }
4844
test -n "$ac_ct_CC" && break
4847
if test "x$ac_ct_CC" = x; then
4850
case $cross_compiling:$ac_tool_warned in
4852
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854
ac_tool_warned=yes ;;
4863
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4864
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4865
as_fn_error $? "no acceptable C compiler found in \$PATH
4866
See \`config.log' for more details" "$LINENO" 5; }
4868
# Provide some information about the compiler.
4869
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4872
for ac_option in --version -v -V -qversion; do
4873
{ { ac_try="$ac_compiler $ac_option >&5"
4875
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876
*) ac_try_echo=$ac_try;;
4878
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879
$as_echo "$ac_try_echo"; } >&5
4880
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4882
if test -s conftest.err; then
4884
... rest of stderr output deleted ...
4885
10q' conftest.err >conftest.er1
4886
cat conftest.er1 >&5
4888
rm -f conftest.er1 conftest.err
4889
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4890
test $ac_status = 0; }
4893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4894
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4895
if ${ac_cv_c_compiler_gnu+:} false; then :
4896
$as_echo_n "(cached) " >&6
4898
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899
/* end confdefs.h. */
4912
if ac_fn_c_try_compile "$LINENO"; then :
4917
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4922
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4923
if test $ac_compiler_gnu = yes; then
4928
ac_test_CFLAGS=${CFLAGS+set}
4929
ac_save_CFLAGS=$CFLAGS
4930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4931
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4932
if ${ac_cv_prog_cc_g+:} false; then :
4933
$as_echo_n "(cached) " >&6
4935
ac_save_c_werror_flag=$ac_c_werror_flag
4936
ac_c_werror_flag=yes
4939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940
/* end confdefs.h. */
4950
if ac_fn_c_try_compile "$LINENO"; then :
4954
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955
/* end confdefs.h. */
4965
if ac_fn_c_try_compile "$LINENO"; then :
4968
ac_c_werror_flag=$ac_save_c_werror_flag
4970
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971
/* end confdefs.h. */
4981
if ac_fn_c_try_compile "$LINENO"; then :
4984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4986
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989
ac_c_werror_flag=$ac_save_c_werror_flag
4991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4992
$as_echo "$ac_cv_prog_cc_g" >&6; }
4993
if test "$ac_test_CFLAGS" = set; then
4994
CFLAGS=$ac_save_CFLAGS
4995
elif test $ac_cv_prog_cc_g = yes; then
4996
if test "$GCC" = yes; then
5002
if test "$GCC" = yes; then
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5009
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5010
if ${ac_cv_prog_cc_c89+:} false; then :
5011
$as_echo_n "(cached) " >&6
5013
ac_cv_prog_cc_c89=no
5015
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016
/* end confdefs.h. */
5019
#include <sys/types.h>
5020
#include <sys/stat.h>
5021
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5022
struct buf { int x; };
5023
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5024
static char *e (p, i)
5030
static char *f (char * (*g) (char **, int), char **p, ...)
5035
s = g (p, va_arg (v,int));
5040
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5041
function prototypes and stuff, but not '\xHH' hex character constants.
5042
These don't provoke an error unfortunately, instead are silently treated
5043
as 'x'. The following induces an error, until -std is added to get
5044
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5045
array size at least. It's necessary to write '\x00'==0 to get something
5046
that's true only with -std. */
5047
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5049
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5050
inside strings and character constants. */
5052
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5054
int test (int i, double x);
5055
struct s1 {int (*f) (int a);};
5056
struct s2 {int (*f) (double a);};
5057
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5063
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5068
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5069
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5071
CC="$ac_save_CC $ac_arg"
5072
if ac_fn_c_try_compile "$LINENO"; then :
5073
ac_cv_prog_cc_c89=$ac_arg
5075
rm -f core conftest.err conftest.$ac_objext
5076
test "x$ac_cv_prog_cc_c89" != "xno" && break
5078
rm -f conftest.$ac_ext
5083
case "x$ac_cv_prog_cc_c89" in
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5086
$as_echo "none needed" >&6; } ;;
5088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5089
$as_echo "unsupported" >&6; } ;;
5091
CC="$CC $ac_cv_prog_cc_c89"
5092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5093
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5095
if test "x$ac_cv_prog_cc_c89" != xno; then :
5100
ac_cpp='$CPP $CPPFLAGS'
5101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5102
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3776
$as_echo "$_am_result" >&6; }
3777
rm -f confinc confmf
3779
# Check whether --enable-dependency-tracking was given.
3780
if test "${enable_dependency_tracking+set}" = set; then :
3781
enableval=$enable_dependency_tracking;
3784
if test "x$enable_dependency_tracking" != xno; then
3785
am_depcomp="$ac_aux_dir/depcomp"
3788
if test "x$enable_dependency_tracking" != xno; then
5105
3798
depcc="$CC" am_compiler_list=
13656
12058
$as_echo "no" >&6; }
13659
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660
/* end confdefs.h. */
13665
extern int _nl_msg_cat_cntr;
13666
return _nl_msg_cat_cntr
13671
if ac_fn_c_try_link "$LINENO"; then :
12063
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12064
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12065
*) XGETTEXT_015=$XGETTEXT ;;
12070
# Prepare PATH_SEPARATOR.
12071
# The user is always right.
12072
if test "${PATH_SEPARATOR+set}" != set; then
12073
echo "#! /bin/sh" >conf$$.sh
12074
echo "exit 0" >>conf$$.sh
12076
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12084
# Find out how to test for executable files. Don't use a zero-byte file,
12085
# as systems may use methods other than mode bits to determine executability.
12086
cat >conf$$.file <<_ASEOF
12090
chmod +x conf$$.file
12091
if test -x conf$$.file >/dev/null 2>&1; then
12092
ac_executable_p="test -x"
12094
ac_executable_p="test -f"
12098
# Extract the first word of "msgmerge", so it can be a program name with args.
12099
set dummy msgmerge; ac_word=$2
12100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12101
$as_echo_n "checking for $ac_word... " >&6; }
12102
if ${ac_cv_path_MSGMERGE+:} false; then :
12103
$as_echo_n "(cached) " >&6
12105
case "$MSGMERGE" in
12107
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12110
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12111
for ac_dir in $PATH; do
12113
test -z "$ac_dir" && ac_dir=.
12114
for ac_exec_ext in '' $ac_executable_extensions; do
12115
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12116
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12117
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12118
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12125
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12129
MSGMERGE="$ac_cv_path_MSGMERGE"
12130
if test "$MSGMERGE" != ":"; then
12131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12132
$as_echo "$MSGMERGE" >&6; }
12134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135
$as_echo "no" >&6; }
12139
test -n "$localedir" || localedir='${datadir}/locale'
12142
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12145
ac_config_commands="$ac_config_commands po-directories"
12149
if test "X$prefix" = "XNONE"; then
12150
acl_final_prefix="$ac_default_prefix"
12152
acl_final_prefix="$prefix"
12154
if test "X$exec_prefix" = "XNONE"; then
12155
acl_final_exec_prefix='${prefix}'
12157
acl_final_exec_prefix="$exec_prefix"
12159
acl_save_prefix="$prefix"
12160
prefix="$acl_final_prefix"
12161
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12162
prefix="$acl_save_prefix"
12165
# Check whether --with-gnu-ld was given.
12166
if test "${with_gnu_ld+set}" = set; then :
12167
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12172
# Prepare PATH_SEPARATOR.
12173
# The user is always right.
12174
if test "${PATH_SEPARATOR+set}" != set; then
12175
echo "#! /bin/sh" >conf$$.sh
12176
echo "exit 0" >>conf$$.sh
12178
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12186
if test "$GCC" = yes; then
12187
# Check if gcc -print-prog-name=ld gives a path.
12188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12189
$as_echo_n "checking for ld used by GCC... " >&6; }
13675
12190
case $host in
13677
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13678
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13693
rm -f core conftest.err conftest.$ac_objext \
13694
conftest$ac_exeext conftest.$ac_ext
13695
LIBS="$glib_save_LIBS"
13698
gt_cv_have_gettext=no
13706
if test "$gt_cv_have_gettext" = "yes" ; then
12192
# gcc leaves a trailing carriage return which upsets mingw
12193
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12195
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12198
# Accept absolute paths.
12199
[\\/]* | [A-Za-z]:[\\/]*)
12200
re_direlt='/[^/][^/]*/\.\./'
12201
# Canonicalize the path of ld
12202
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12203
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12204
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12206
test -z "$LD" && LD="$ac_prog"
12209
# If it fails, then pretend we aren't using GCC.
12213
# If it is relative, then search for the first ld in PATH.
12214
with_gnu_ld=unknown
12217
elif test "$with_gnu_ld" = yes; then
12218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12219
$as_echo_n "checking for GNU ld... " >&6; }
12221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12222
$as_echo_n "checking for non-GNU ld... " >&6; }
12224
if ${acl_cv_path_LD+:} false; then :
12225
$as_echo_n "(cached) " >&6
12227
if test -z "$LD"; then
12228
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12229
for ac_dir in $PATH; do
12230
test -z "$ac_dir" && ac_dir=.
12231
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12232
acl_cv_path_LD="$ac_dir/$ac_prog"
12233
# Check to see if the program is GNU ld. I'd rather use --version,
12234
# but apparently some GNU ld's only accept -v.
12235
# Break only if it was the GNU/non-GNU ld that we prefer.
12236
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12237
*GNU* | *'with BFD'*)
12238
test "$with_gnu_ld" != no && break ;;
12240
test "$with_gnu_ld" != yes && break ;;
12246
acl_cv_path_LD="$LD" # Let the user override the test with a path.
12250
LD="$acl_cv_path_LD"
12251
if test -n "$LD"; then
12252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12253
$as_echo "$LD" >&6; }
12255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256
$as_echo "no" >&6; }
12258
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12260
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12261
if ${acl_cv_prog_gnu_ld+:} false; then :
12262
$as_echo_n "(cached) " >&6
12264
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
12265
case `$LD -v 2>&1 </dev/null` in
12266
*GNU* | *'with BFD'*)
12267
acl_cv_prog_gnu_ld=yes ;;
12269
acl_cv_prog_gnu_ld=no ;;
12272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12273
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12274
with_gnu_ld=$acl_cv_prog_gnu_ld
12279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12280
$as_echo_n "checking for shared library run path origin... " >&6; }
12281
if ${acl_cv_rpath+:} false; then :
12282
$as_echo_n "(cached) " >&6
12285
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12286
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12288
rm -f ./conftest.sh
12292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12293
$as_echo "$acl_cv_rpath" >&6; }
12295
acl_libext="$acl_cv_libext"
12296
acl_shlibext="$acl_cv_shlibext"
12297
acl_libname_spec="$acl_cv_libname_spec"
12298
acl_library_names_spec="$acl_cv_library_names_spec"
12299
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12300
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12301
acl_hardcode_direct="$acl_cv_hardcode_direct"
12302
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12303
# Check whether --enable-rpath was given.
12304
if test "${enable_rpath+set}" = set; then :
12305
enableval=$enable_rpath; :
12313
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12314
if test -n "$searchpath"; then
12315
acl_save_IFS="${IFS= }"; IFS=":"
12316
for searchdir in $searchpath; do
12317
if test -d "$searchdir"; then
12318
case "$searchdir" in
12319
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12320
*) searchdir=`cd "$searchdir" && pwd`
12321
case "$searchdir" in
12322
*/lib64 ) acl_libdirstem=lib64 ;;
12327
IFS="$acl_save_IFS"
12340
acl_save_prefix="$prefix"
12341
prefix="$acl_final_prefix"
12342
acl_save_exec_prefix="$exec_prefix"
12343
exec_prefix="$acl_final_exec_prefix"
12345
eval additional_includedir=\"$includedir\"
12346
eval additional_libdir=\"$libdir\"
12348
exec_prefix="$acl_save_exec_prefix"
12349
prefix="$acl_save_prefix"
12352
# Check whether --with-libiconv-prefix was given.
12353
if test "${with_libiconv_prefix+set}" = set; then :
12354
withval=$with_libiconv_prefix;
12355
if test "X$withval" = "Xno"; then
12358
if test "X$withval" = "X"; then
12360
acl_save_prefix="$prefix"
12361
prefix="$acl_final_prefix"
12362
acl_save_exec_prefix="$exec_prefix"
12363
exec_prefix="$acl_final_exec_prefix"
12365
eval additional_includedir=\"$includedir\"
12366
eval additional_libdir=\"$libdir\"
12368
exec_prefix="$acl_save_exec_prefix"
12369
prefix="$acl_save_prefix"
12372
additional_includedir="$withval/include"
12373
additional_libdir="$withval/$acl_libdirstem"
12385
names_already_handled=
12386
names_next_round='iconv '
12387
while test -n "$names_next_round"; do
12388
names_this_round="$names_next_round"
12390
for name in $names_this_round; do
12392
for n in $names_already_handled; do
12393
if test "$n" = "$name"; then
12394
already_handled=yes
12398
if test -z "$already_handled"; then
12399
names_already_handled="$names_already_handled $name"
12400
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12401
eval value=\"\$HAVE_LIB$uppername\"
12402
if test -n "$value"; then
12403
if test "$value" = yes; then
12404
eval value=\"\$LIB$uppername\"
12405
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12406
eval value=\"\$LTLIB$uppername\"
12407
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12416
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12417
if test -n "$acl_shlibext"; then
12418
shrext=".$acl_shlibext" # typically: shrext=.so
12422
if test $use_additional = yes; then
12423
dir="$additional_libdir"
12424
if test -n "$acl_shlibext"; then
12425
if test -f "$dir/$libname$shrext"; then
12427
found_so="$dir/$libname$shrext"
12429
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12430
ver=`(cd "$dir" && \
12431
for f in "$libname$shrext".*; do echo "$f"; done \
12432
| sed -e "s,^$libname$shrext\\\\.,," \
12433
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12434
| sed 1q ) 2>/dev/null`
12435
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12437
found_so="$dir/$libname$shrext.$ver"
12440
eval library_names=\"$acl_library_names_spec\"
12441
for f in $library_names; do
12442
if test -f "$dir/$f"; then
12451
if test "X$found_dir" = "X"; then
12452
if test -f "$dir/$libname.$acl_libext"; then
12454
found_a="$dir/$libname.$acl_libext"
12457
if test "X$found_dir" != "X"; then
12458
if test -f "$dir/$libname.la"; then
12459
found_la="$dir/$libname.la"
12463
if test "X$found_dir" = "X"; then
12464
for x in $LDFLAGS $LTLIBICONV; do
12466
acl_save_prefix="$prefix"
12467
prefix="$acl_final_prefix"
12468
acl_save_exec_prefix="$exec_prefix"
12469
exec_prefix="$acl_final_exec_prefix"
12471
exec_prefix="$acl_save_exec_prefix"
12472
prefix="$acl_save_prefix"
12476
dir=`echo "X$x" | sed -e 's/^X-L//'`
12477
if test -n "$acl_shlibext"; then
12478
if test -f "$dir/$libname$shrext"; then
12480
found_so="$dir/$libname$shrext"
12482
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12483
ver=`(cd "$dir" && \
12484
for f in "$libname$shrext".*; do echo "$f"; done \
12485
| sed -e "s,^$libname$shrext\\\\.,," \
12486
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12487
| sed 1q ) 2>/dev/null`
12488
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12490
found_so="$dir/$libname$shrext.$ver"
12493
eval library_names=\"$acl_library_names_spec\"
12494
for f in $library_names; do
12495
if test -f "$dir/$f"; then
12504
if test "X$found_dir" = "X"; then
12505
if test -f "$dir/$libname.$acl_libext"; then
12507
found_a="$dir/$libname.$acl_libext"
12510
if test "X$found_dir" != "X"; then
12511
if test -f "$dir/$libname.la"; then
12512
found_la="$dir/$libname.la"
12517
if test "X$found_dir" != "X"; then
12522
if test "X$found_dir" != "X"; then
12523
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12524
if test "X$found_so" != "X"; then
12525
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12526
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12529
for x in $ltrpathdirs; do
12530
if test "X$x" = "X$found_dir"; then
12535
if test -z "$haveit"; then
12536
ltrpathdirs="$ltrpathdirs $found_dir"
12538
if test "$acl_hardcode_direct" = yes; then
12539
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12541
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12542
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12544
for x in $rpathdirs; do
12545
if test "X$x" = "X$found_dir"; then
12550
if test -z "$haveit"; then
12551
rpathdirs="$rpathdirs $found_dir"
12555
for x in $LDFLAGS $LIBICONV; do
12557
acl_save_prefix="$prefix"
12558
prefix="$acl_final_prefix"
12559
acl_save_exec_prefix="$exec_prefix"
12560
exec_prefix="$acl_final_exec_prefix"
12562
exec_prefix="$acl_save_exec_prefix"
12563
prefix="$acl_save_prefix"
12565
if test "X$x" = "X-L$found_dir"; then
12570
if test -z "$haveit"; then
12571
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12573
if test "$acl_hardcode_minus_L" != no; then
12574
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12576
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12582
if test "X$found_a" != "X"; then
12583
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12585
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12588
additional_includedir=
12589
case "$found_dir" in
12590
*/$acl_libdirstem | */$acl_libdirstem/)
12591
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12592
LIBICONV_PREFIX="$basedir"
12593
additional_includedir="$basedir/include"
12596
if test "X$additional_includedir" != "X"; then
12597
if test "X$additional_includedir" != "X/usr/include"; then
12599
if test "X$additional_includedir" = "X/usr/local/include"; then
12600
if test -n "$GCC"; then
12602
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12606
if test -z "$haveit"; then
12607
for x in $CPPFLAGS $INCICONV; do
12609
acl_save_prefix="$prefix"
12610
prefix="$acl_final_prefix"
12611
acl_save_exec_prefix="$exec_prefix"
12612
exec_prefix="$acl_final_exec_prefix"
12614
exec_prefix="$acl_save_exec_prefix"
12615
prefix="$acl_save_prefix"
12617
if test "X$x" = "X-I$additional_includedir"; then
12622
if test -z "$haveit"; then
12623
if test -d "$additional_includedir"; then
12624
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12630
if test -n "$found_la"; then
12631
save_libdir="$libdir"
12632
case "$found_la" in
12633
*/* | *\\*) . "$found_la" ;;
12634
*) . "./$found_la" ;;
12636
libdir="$save_libdir"
12637
for dep in $dependency_libs; do
12640
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12641
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12643
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12644
if test -n "$GCC"; then
12646
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12650
if test -z "$haveit"; then
12652
for x in $LDFLAGS $LIBICONV; do
12654
acl_save_prefix="$prefix"
12655
prefix="$acl_final_prefix"
12656
acl_save_exec_prefix="$exec_prefix"
12657
exec_prefix="$acl_final_exec_prefix"
12659
exec_prefix="$acl_save_exec_prefix"
12660
prefix="$acl_save_prefix"
12662
if test "X$x" = "X-L$additional_libdir"; then
12667
if test -z "$haveit"; then
12668
if test -d "$additional_libdir"; then
12669
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12673
for x in $LDFLAGS $LTLIBICONV; do
12675
acl_save_prefix="$prefix"
12676
prefix="$acl_final_prefix"
12677
acl_save_exec_prefix="$exec_prefix"
12678
exec_prefix="$acl_final_exec_prefix"
12680
exec_prefix="$acl_save_exec_prefix"
12681
prefix="$acl_save_prefix"
12683
if test "X$x" = "X-L$additional_libdir"; then
12688
if test -z "$haveit"; then
12689
if test -d "$additional_libdir"; then
12690
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12697
dir=`echo "X$dep" | sed -e 's/^X-R//'`
12698
if test "$enable_rpath" != no; then
12700
for x in $rpathdirs; do
12701
if test "X$x" = "X$dir"; then
12706
if test -z "$haveit"; then
12707
rpathdirs="$rpathdirs $dir"
12710
for x in $ltrpathdirs; do
12711
if test "X$x" = "X$dir"; then
12716
if test -z "$haveit"; then
12717
ltrpathdirs="$ltrpathdirs $dir"
12722
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12725
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12728
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12729
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12735
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12736
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12742
if test "X$rpathdirs" != "X"; then
12743
if test -n "$acl_hardcode_libdir_separator"; then
12745
for found_dir in $rpathdirs; do
12746
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12748
acl_save_libdir="$libdir"
12750
eval flag=\"$acl_hardcode_libdir_flag_spec\"
12751
libdir="$acl_save_libdir"
12752
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12754
for found_dir in $rpathdirs; do
12755
acl_save_libdir="$libdir"
12756
libdir="$found_dir"
12757
eval flag=\"$acl_hardcode_libdir_flag_spec\"
12758
libdir="$acl_save_libdir"
12759
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12763
if test "X$ltrpathdirs" != "X"; then
12764
for found_dir in $ltrpathdirs; do
12765
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12794
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12795
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12796
$as_echo_n "(cached) " >&6
12798
gt_save_LIBS="$LIBS"
12799
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801
/* end confdefs.h. */
12802
#include <CoreFoundation/CFPreferences.h>
12806
CFPreferencesCopyAppValue(NULL, NULL)
12811
if ac_fn_c_try_link "$LINENO"; then :
12812
gt_cv_func_CFPreferencesCopyAppValue=yes
12814
gt_cv_func_CFPreferencesCopyAppValue=no
12816
rm -f core conftest.err conftest.$ac_objext \
12817
conftest$ac_exeext conftest.$ac_ext
12818
LIBS="$gt_save_LIBS"
12820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12821
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12822
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12824
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12828
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12829
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12830
$as_echo_n "(cached) " >&6
12832
gt_save_LIBS="$LIBS"
12833
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12834
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835
/* end confdefs.h. */
12836
#include <CoreFoundation/CFLocale.h>
12840
CFLocaleCopyCurrent();
12845
if ac_fn_c_try_link "$LINENO"; then :
12846
gt_cv_func_CFLocaleCopyCurrent=yes
12848
gt_cv_func_CFLocaleCopyCurrent=no
12850
rm -f core conftest.err conftest.$ac_objext \
12851
conftest$ac_exeext conftest.$ac_ext
12852
LIBS="$gt_save_LIBS"
12854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12855
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12856
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12858
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12862
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12863
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12875
case " $gt_needs " in
12876
*" need-formatstring-macros "*) gt_api_version=3 ;;
12877
*" need-ngettext "*) gt_api_version=2 ;;
12878
*) gt_api_version=1 ;;
12880
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12881
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12883
if test "$USE_NLS" = "yes"; then
12884
gt_use_preinstalled_gnugettext=no
12887
if test $gt_api_version -ge 3; then
12888
gt_revision_test_code='
12889
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12890
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12892
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12895
gt_revision_test_code=
12897
if test $gt_api_version -ge 2; then
12898
gt_expression_test_code=' + * ngettext ("", "", 0)'
12900
gt_expression_test_code=
12903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12904
$as_echo_n "checking for GNU gettext in libc... " >&6; }
12905
if eval \${$gt_func_gnugettext_libc+:} false; then :
12906
$as_echo_n "(cached) " >&6
12908
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909
/* end confdefs.h. */
12910
#include <libintl.h>
12911
$gt_revision_test_code
12912
extern int _nl_msg_cat_cntr;
12913
extern int *_nl_domain_bindings;
12917
bindtextdomain ("", "");
12918
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12923
if ac_fn_c_try_link "$LINENO"; then :
12924
eval "$gt_func_gnugettext_libc=yes"
12926
eval "$gt_func_gnugettext_libc=no"
12928
rm -f core conftest.err conftest.$ac_objext \
12929
conftest$ac_exeext conftest.$ac_ext
12931
eval ac_res=\$$gt_func_gnugettext_libc
12932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12933
$as_echo "$ac_res" >&6; }
12935
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12941
am_save_CPPFLAGS="$CPPFLAGS"
12943
for element in $INCICONV; do
12945
for x in $CPPFLAGS; do
12947
acl_save_prefix="$prefix"
12948
prefix="$acl_final_prefix"
12949
acl_save_exec_prefix="$exec_prefix"
12950
exec_prefix="$acl_final_exec_prefix"
12952
exec_prefix="$acl_save_exec_prefix"
12953
prefix="$acl_save_prefix"
12955
if test "X$x" = "X$element"; then
12960
if test -z "$haveit"; then
12961
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12967
$as_echo_n "checking for iconv... " >&6; }
12968
if ${am_cv_func_iconv+:} false; then :
12969
$as_echo_n "(cached) " >&6
12972
am_cv_func_iconv="no, consider installing GNU libiconv"
12974
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975
/* end confdefs.h. */
12976
#include <stdlib.h>
12981
iconv_t cd = iconv_open("","");
12982
iconv(cd,NULL,NULL,NULL,NULL);
12988
if ac_fn_c_try_link "$LINENO"; then :
12989
am_cv_func_iconv=yes
12991
rm -f core conftest.err conftest.$ac_objext \
12992
conftest$ac_exeext conftest.$ac_ext
12993
if test "$am_cv_func_iconv" != yes; then
12994
am_save_LIBS="$LIBS"
12995
LIBS="$LIBS $LIBICONV"
12996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997
/* end confdefs.h. */
12998
#include <stdlib.h>
13003
iconv_t cd = iconv_open("","");
13004
iconv(cd,NULL,NULL,NULL,NULL);
13010
if ac_fn_c_try_link "$LINENO"; then :
13011
am_cv_lib_iconv=yes
13012
am_cv_func_iconv=yes
13014
rm -f core conftest.err conftest.$ac_objext \
13015
conftest$ac_exeext conftest.$ac_ext
13016
LIBS="$am_save_LIBS"
13020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13021
$as_echo "$am_cv_func_iconv" >&6; }
13022
if test "$am_cv_func_iconv" = yes; then
13023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13024
$as_echo_n "checking for working iconv... " >&6; }
13025
if ${am_cv_func_iconv_works+:} false; then :
13026
$as_echo_n "(cached) " >&6
13029
am_save_LIBS="$LIBS"
13030
if test $am_cv_lib_iconv = yes; then
13031
LIBS="$LIBS $LIBICONV"
13033
if test "$cross_compiling" = yes; then :
13035
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13036
*) am_cv_func_iconv_works="guessing yes" ;;
13039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040
/* end confdefs.h. */
13043
#include <string.h>
13046
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13049
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13050
if (cd_utf8_to_88591 != (iconv_t)(-1))
13052
static const char input[] = "\342\202\254"; /* EURO SIGN */
13054
const char *inptr = input;
13055
size_t inbytesleft = strlen (input);
13056
char *outptr = buf;
13057
size_t outbytesleft = sizeof (buf);
13058
size_t res = iconv (cd_utf8_to_88591,
13059
(char **) &inptr, &inbytesleft,
13060
&outptr, &outbytesleft);
13065
#if 0 /* This bug could be worked around by the caller. */
13066
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13068
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13069
if (cd_88591_to_utf8 != (iconv_t)(-1))
13071
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13073
const char *inptr = input;
13074
size_t inbytesleft = strlen (input);
13075
char *outptr = buf;
13076
size_t outbytesleft = sizeof (buf);
13077
size_t res = iconv (cd_88591_to_utf8,
13078
(char **) &inptr, &inbytesleft,
13079
&outptr, &outbytesleft);
13085
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13087
if (/* Try standardized names. */
13088
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13089
/* Try IRIX, OSF/1 names. */
13090
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13091
/* Try AIX names. */
13092
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13093
/* Try HP-UX names. */
13094
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13099
if ac_fn_c_try_run "$LINENO"; then :
13100
am_cv_func_iconv_works=yes
13102
am_cv_func_iconv_works=no
13104
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13105
conftest.$ac_objext conftest.beam conftest.$ac_ext
13108
LIBS="$am_save_LIBS"
13111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13112
$as_echo "$am_cv_func_iconv_works" >&6; }
13113
case "$am_cv_func_iconv_works" in
13114
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
13115
*) am_func_iconv=yes ;;
13118
am_func_iconv=no am_cv_lib_iconv=no
13120
if test "$am_func_iconv" = yes; then
13122
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
13125
if test "$am_cv_lib_iconv" = yes; then
13126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13127
$as_echo_n "checking how to link with libiconv... " >&6; }
13128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13129
$as_echo "$LIBICONV" >&6; }
13131
CPPFLAGS="$am_save_CPPFLAGS"
13145
acl_save_prefix="$prefix"
13146
prefix="$acl_final_prefix"
13147
acl_save_exec_prefix="$exec_prefix"
13148
exec_prefix="$acl_final_exec_prefix"
13150
eval additional_includedir=\"$includedir\"
13151
eval additional_libdir=\"$libdir\"
13153
exec_prefix="$acl_save_exec_prefix"
13154
prefix="$acl_save_prefix"
13157
# Check whether --with-libintl-prefix was given.
13158
if test "${with_libintl_prefix+set}" = set; then :
13159
withval=$with_libintl_prefix;
13160
if test "X$withval" = "Xno"; then
13163
if test "X$withval" = "X"; then
13165
acl_save_prefix="$prefix"
13166
prefix="$acl_final_prefix"
13167
acl_save_exec_prefix="$exec_prefix"
13168
exec_prefix="$acl_final_exec_prefix"
13170
eval additional_includedir=\"$includedir\"
13171
eval additional_libdir=\"$libdir\"
13173
exec_prefix="$acl_save_exec_prefix"
13174
prefix="$acl_save_prefix"
13177
additional_includedir="$withval/include"
13178
additional_libdir="$withval/$acl_libdirstem"
13190
names_already_handled=
13191
names_next_round='intl '
13192
while test -n "$names_next_round"; do
13193
names_this_round="$names_next_round"
13195
for name in $names_this_round; do
13197
for n in $names_already_handled; do
13198
if test "$n" = "$name"; then
13199
already_handled=yes
13203
if test -z "$already_handled"; then
13204
names_already_handled="$names_already_handled $name"
13205
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13206
eval value=\"\$HAVE_LIB$uppername\"
13207
if test -n "$value"; then
13208
if test "$value" = yes; then
13209
eval value=\"\$LIB$uppername\"
13210
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13211
eval value=\"\$LTLIB$uppername\"
13212
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13221
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13222
if test -n "$acl_shlibext"; then
13223
shrext=".$acl_shlibext" # typically: shrext=.so
13227
if test $use_additional = yes; then
13228
dir="$additional_libdir"
13229
if test -n "$acl_shlibext"; then
13230
if test -f "$dir/$libname$shrext"; then
13232
found_so="$dir/$libname$shrext"
13234
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13235
ver=`(cd "$dir" && \
13236
for f in "$libname$shrext".*; do echo "$f"; done \
13237
| sed -e "s,^$libname$shrext\\\\.,," \
13238
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13239
| sed 1q ) 2>/dev/null`
13240
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13242
found_so="$dir/$libname$shrext.$ver"
13245
eval library_names=\"$acl_library_names_spec\"
13246
for f in $library_names; do
13247
if test -f "$dir/$f"; then
13256
if test "X$found_dir" = "X"; then
13257
if test -f "$dir/$libname.$acl_libext"; then
13259
found_a="$dir/$libname.$acl_libext"
13262
if test "X$found_dir" != "X"; then
13263
if test -f "$dir/$libname.la"; then
13264
found_la="$dir/$libname.la"
13268
if test "X$found_dir" = "X"; then
13269
for x in $LDFLAGS $LTLIBINTL; do
13271
acl_save_prefix="$prefix"
13272
prefix="$acl_final_prefix"
13273
acl_save_exec_prefix="$exec_prefix"
13274
exec_prefix="$acl_final_exec_prefix"
13276
exec_prefix="$acl_save_exec_prefix"
13277
prefix="$acl_save_prefix"
13281
dir=`echo "X$x" | sed -e 's/^X-L//'`
13282
if test -n "$acl_shlibext"; then
13283
if test -f "$dir/$libname$shrext"; then
13285
found_so="$dir/$libname$shrext"
13287
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13288
ver=`(cd "$dir" && \
13289
for f in "$libname$shrext".*; do echo "$f"; done \
13290
| sed -e "s,^$libname$shrext\\\\.,," \
13291
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13292
| sed 1q ) 2>/dev/null`
13293
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13295
found_so="$dir/$libname$shrext.$ver"
13298
eval library_names=\"$acl_library_names_spec\"
13299
for f in $library_names; do
13300
if test -f "$dir/$f"; then
13309
if test "X$found_dir" = "X"; then
13310
if test -f "$dir/$libname.$acl_libext"; then
13312
found_a="$dir/$libname.$acl_libext"
13315
if test "X$found_dir" != "X"; then
13316
if test -f "$dir/$libname.la"; then
13317
found_la="$dir/$libname.la"
13322
if test "X$found_dir" != "X"; then
13327
if test "X$found_dir" != "X"; then
13328
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13329
if test "X$found_so" != "X"; then
13330
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13331
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13334
for x in $ltrpathdirs; do
13335
if test "X$x" = "X$found_dir"; then
13340
if test -z "$haveit"; then
13341
ltrpathdirs="$ltrpathdirs $found_dir"
13343
if test "$acl_hardcode_direct" = yes; then
13344
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13346
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13347
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13349
for x in $rpathdirs; do
13350
if test "X$x" = "X$found_dir"; then
13355
if test -z "$haveit"; then
13356
rpathdirs="$rpathdirs $found_dir"
13360
for x in $LDFLAGS $LIBINTL; do
13362
acl_save_prefix="$prefix"
13363
prefix="$acl_final_prefix"
13364
acl_save_exec_prefix="$exec_prefix"
13365
exec_prefix="$acl_final_exec_prefix"
13367
exec_prefix="$acl_save_exec_prefix"
13368
prefix="$acl_save_prefix"
13370
if test "X$x" = "X-L$found_dir"; then
13375
if test -z "$haveit"; then
13376
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13378
if test "$acl_hardcode_minus_L" != no; then
13379
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13381
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13387
if test "X$found_a" != "X"; then
13388
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13390
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13393
additional_includedir=
13394
case "$found_dir" in
13395
*/$acl_libdirstem | */$acl_libdirstem/)
13396
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13397
LIBINTL_PREFIX="$basedir"
13398
additional_includedir="$basedir/include"
13401
if test "X$additional_includedir" != "X"; then
13402
if test "X$additional_includedir" != "X/usr/include"; then
13404
if test "X$additional_includedir" = "X/usr/local/include"; then
13405
if test -n "$GCC"; then
13407
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13411
if test -z "$haveit"; then
13412
for x in $CPPFLAGS $INCINTL; do
13414
acl_save_prefix="$prefix"
13415
prefix="$acl_final_prefix"
13416
acl_save_exec_prefix="$exec_prefix"
13417
exec_prefix="$acl_final_exec_prefix"
13419
exec_prefix="$acl_save_exec_prefix"
13420
prefix="$acl_save_prefix"
13422
if test "X$x" = "X-I$additional_includedir"; then
13427
if test -z "$haveit"; then
13428
if test -d "$additional_includedir"; then
13429
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13435
if test -n "$found_la"; then
13436
save_libdir="$libdir"
13437
case "$found_la" in
13438
*/* | *\\*) . "$found_la" ;;
13439
*) . "./$found_la" ;;
13441
libdir="$save_libdir"
13442
for dep in $dependency_libs; do
13445
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13446
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13448
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13449
if test -n "$GCC"; then
13451
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13455
if test -z "$haveit"; then
13457
for x in $LDFLAGS $LIBINTL; do
13459
acl_save_prefix="$prefix"
13460
prefix="$acl_final_prefix"
13461
acl_save_exec_prefix="$exec_prefix"
13462
exec_prefix="$acl_final_exec_prefix"
13464
exec_prefix="$acl_save_exec_prefix"
13465
prefix="$acl_save_prefix"
13467
if test "X$x" = "X-L$additional_libdir"; then
13472
if test -z "$haveit"; then
13473
if test -d "$additional_libdir"; then
13474
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13478
for x in $LDFLAGS $LTLIBINTL; do
13480
acl_save_prefix="$prefix"
13481
prefix="$acl_final_prefix"
13482
acl_save_exec_prefix="$exec_prefix"
13483
exec_prefix="$acl_final_exec_prefix"
13485
exec_prefix="$acl_save_exec_prefix"
13486
prefix="$acl_save_prefix"
13488
if test "X$x" = "X-L$additional_libdir"; then
13493
if test -z "$haveit"; then
13494
if test -d "$additional_libdir"; then
13495
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13502
dir=`echo "X$dep" | sed -e 's/^X-R//'`
13503
if test "$enable_rpath" != no; then
13505
for x in $rpathdirs; do
13506
if test "X$x" = "X$dir"; then
13511
if test -z "$haveit"; then
13512
rpathdirs="$rpathdirs $dir"
13515
for x in $ltrpathdirs; do
13516
if test "X$x" = "X$dir"; then
13521
if test -z "$haveit"; then
13522
ltrpathdirs="$ltrpathdirs $dir"
13527
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13530
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13533
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13534
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13540
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13541
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13547
if test "X$rpathdirs" != "X"; then
13548
if test -n "$acl_hardcode_libdir_separator"; then
13550
for found_dir in $rpathdirs; do
13551
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13553
acl_save_libdir="$libdir"
13555
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13556
libdir="$acl_save_libdir"
13557
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13559
for found_dir in $rpathdirs; do
13560
acl_save_libdir="$libdir"
13561
libdir="$found_dir"
13562
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13563
libdir="$acl_save_libdir"
13564
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13568
if test "X$ltrpathdirs" != "X"; then
13569
for found_dir in $ltrpathdirs; do
13570
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13575
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
13576
if eval \${$gt_func_gnugettext_libintl+:} false; then :
13577
$as_echo_n "(cached) " >&6
13579
gt_save_CPPFLAGS="$CPPFLAGS"
13580
CPPFLAGS="$CPPFLAGS $INCINTL"
13581
gt_save_LIBS="$LIBS"
13582
LIBS="$LIBS $LIBINTL"
13583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584
/* end confdefs.h. */
13585
#include <libintl.h>
13586
$gt_revision_test_code
13587
extern int _nl_msg_cat_cntr;
13592
const char *_nl_expand_alias (const char *);
13596
bindtextdomain ("", "");
13597
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13602
if ac_fn_c_try_link "$LINENO"; then :
13603
eval "$gt_func_gnugettext_libintl=yes"
13605
eval "$gt_func_gnugettext_libintl=no"
13607
rm -f core conftest.err conftest.$ac_objext \
13608
conftest$ac_exeext conftest.$ac_ext
13609
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13610
LIBS="$LIBS $LIBICONV"
13611
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612
/* end confdefs.h. */
13613
#include <libintl.h>
13614
$gt_revision_test_code
13615
extern int _nl_msg_cat_cntr;
13620
const char *_nl_expand_alias (const char *);
13624
bindtextdomain ("", "");
13625
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13630
if ac_fn_c_try_link "$LINENO"; then :
13631
LIBINTL="$LIBINTL $LIBICONV"
13632
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13633
eval "$gt_func_gnugettext_libintl=yes"
13636
rm -f core conftest.err conftest.$ac_objext \
13637
conftest$ac_exeext conftest.$ac_ext
13639
CPPFLAGS="$gt_save_CPPFLAGS"
13640
LIBS="$gt_save_LIBS"
13642
eval ac_res=\$$gt_func_gnugettext_libintl
13643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13644
$as_echo "$ac_res" >&6; }
13647
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13648
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13649
&& test "$PACKAGE" != gettext-runtime \
13650
&& test "$PACKAGE" != gettext-tools; }; then
13651
gt_use_preinstalled_gnugettext=yes
13660
if test -n "$INTL_MACOSX_LIBS"; then
13661
if test "$gt_use_preinstalled_gnugettext" = "yes" \
13662
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
13663
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13664
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13668
if test "$gt_use_preinstalled_gnugettext" = "yes" \
13669
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
13708
13671
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13712
if test "$XGETTEXT" != ":"; then
13713
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13679
$as_echo_n "checking whether to use NLS... " >&6; }
13680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13681
$as_echo "$USE_NLS" >&6; }
13682
if test "$USE_NLS" = "yes"; then
13683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13684
$as_echo_n "checking where the gettext function comes from... " >&6; }
13685
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13686
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13687
gt_source="external libintl"
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13717
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13692
gt_source="included intl directory"
13722
# We need to process the po/ directory.
13725
ac_config_commands="$ac_config_commands default-1"
13728
for lang in $ALL_LINGUAS; do
13729
GMOFILES="$GMOFILES $lang.gmo"
13730
POFILES="$POFILES $lang.po"
13694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13695
$as_echo "$gt_source" >&6; }
13698
if test "$USE_NLS" = "yes"; then
13700
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13701
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13703
$as_echo_n "checking how to link with libintl... " >&6; }
13704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13705
$as_echo "$LIBINTL" >&6; }
13707
for element in $INCINTL; do
13709
for x in $CPPFLAGS; do
13711
acl_save_prefix="$prefix"
13712
prefix="$acl_final_prefix"
13713
acl_save_exec_prefix="$exec_prefix"
13714
exec_prefix="$acl_final_exec_prefix"
13716
exec_prefix="$acl_save_exec_prefix"
13717
prefix="$acl_save_prefix"
13719
if test "X$x" = "X$element"; then
13745
if test "$gt_cv_have_gettext" = "yes"; then
13746
if test "x$ALL_LINGUAS" = "x"; then
13749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13750
$as_echo_n "checking for catalogs to be installed... " >&6; }
13752
for presentlang in $ALL_LINGUAS; do
13754
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13755
desiredlanguages="$LINGUAS"
13757
desiredlanguages="$ALL_LINGUAS"
13759
for desiredlang in $desiredlanguages; do
13760
# Use the presentlang catalog if desiredlang is
13761
# a. equal to presentlang, or
13762
# b. a variant of presentlang (because in this case,
13763
# presentlang can be used as a fallback for messages
13764
# which are not translated in the desiredlang catalog).
13765
case "$desiredlang" in
13766
"$presentlang"*) useit=yes;;
13769
if test $useit = yes; then
13770
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13773
LINGUAS=$NEW_LINGUAS
13774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13775
$as_echo "$LINGUAS" >&6; }
13778
if test -n "$LINGUAS"; then
13779
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13784
if test -n "$ac_aux_dir"; then
13785
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13787
if test -z "$MKINSTALLDIRS"; then
13788
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13792
test -d po || mkdir po
13793
if test "x$srcdir" != "x."; then
13794
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13795
posrcprefix="$srcdir/"
13797
posrcprefix="../$srcdir/"
13724
if test -z "$haveit"; then
13725
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13732
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13735
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13744
INTLLIBS="$LIBINTL"
13754
case "$am__api_version" in
13756
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13762
if test -n "0.40"; then
13763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40" >&5
13764
$as_echo_n "checking for intltool >= 0.40... " >&6; }
13766
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13767
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13768
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13771
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13772
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13773
as_fn_error $? "Your intltool is too old. You need intltool 0.40 or later." "$LINENO" 5
13776
# Extract the first word of "intltool-update", so it can be a program name with args.
13777
set dummy intltool-update; ac_word=$2
13778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779
$as_echo_n "checking for $ac_word... " >&6; }
13780
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13781
$as_echo_n "(cached) " >&6
13783
case $INTLTOOL_UPDATE in
13785
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13789
for as_dir in $PATH
13792
test -z "$as_dir" && as_dir=.
13793
for ac_exec_ext in '' $ac_executable_extensions; do
13794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13795
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13806
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13807
if test -n "$INTLTOOL_UPDATE"; then
13808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13809
$as_echo "$INTLTOOL_UPDATE" >&6; }
13811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13812
$as_echo "no" >&6; }
13816
# Extract the first word of "intltool-merge", so it can be a program name with args.
13817
set dummy intltool-merge; ac_word=$2
13818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13819
$as_echo_n "checking for $ac_word... " >&6; }
13820
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13821
$as_echo_n "(cached) " >&6
13823
case $INTLTOOL_MERGE in
13825
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13829
for as_dir in $PATH
13832
test -z "$as_dir" && as_dir=.
13833
for ac_exec_ext in '' $ac_executable_extensions; do
13834
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13835
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13846
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13847
if test -n "$INTLTOOL_MERGE"; then
13848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13849
$as_echo "$INTLTOOL_MERGE" >&6; }
13851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13852
$as_echo "no" >&6; }
13856
# Extract the first word of "intltool-extract", so it can be a program name with args.
13857
set dummy intltool-extract; ac_word=$2
13858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13859
$as_echo_n "checking for $ac_word... " >&6; }
13860
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13861
$as_echo_n "(cached) " >&6
13863
case $INTLTOOL_EXTRACT in
13865
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13869
for as_dir in $PATH
13872
test -z "$as_dir" && as_dir=.
13873
for ac_exec_ext in '' $ac_executable_extensions; do
13874
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13875
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13876
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13886
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13887
if test -n "$INTLTOOL_EXTRACT"; then
13888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13889
$as_echo "$INTLTOOL_EXTRACT" >&6; }
13891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13892
$as_echo "no" >&6; }
13896
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13897
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13900
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13901
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13902
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13903
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13904
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
13905
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13906
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13907
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13908
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13909
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13910
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13911
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
13912
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13913
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13914
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13915
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13916
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13917
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13918
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14016
# Check the gettext tools to make sure they are GNU
14017
# Extract the first word of "xgettext", so it can be a program name with args.
14018
set dummy xgettext; ac_word=$2
14019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14020
$as_echo_n "checking for $ac_word... " >&6; }
14021
if ${ac_cv_path_XGETTEXT+:} false; then :
14022
$as_echo_n "(cached) " >&6
14026
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14030
for as_dir in $PATH
14033
test -z "$as_dir" && as_dir=.
14034
for ac_exec_ext in '' $ac_executable_extensions; do
14035
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14036
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
14037
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14047
XGETTEXT=$ac_cv_path_XGETTEXT
14048
if test -n "$XGETTEXT"; then
14049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14050
$as_echo "$XGETTEXT" >&6; }
14052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14053
$as_echo "no" >&6; }
14057
# Extract the first word of "msgmerge", so it can be a program name with args.
14058
set dummy msgmerge; ac_word=$2
14059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14060
$as_echo_n "checking for $ac_word... " >&6; }
14061
if ${ac_cv_path_MSGMERGE+:} false; then :
14062
$as_echo_n "(cached) " >&6
14066
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14070
for as_dir in $PATH
14073
test -z "$as_dir" && as_dir=.
14074
for ac_exec_ext in '' $ac_executable_extensions; do
14075
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14076
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
14077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14087
MSGMERGE=$ac_cv_path_MSGMERGE
14088
if test -n "$MSGMERGE"; then
14089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14090
$as_echo "$MSGMERGE" >&6; }
14092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14093
$as_echo "no" >&6; }
14097
# Extract the first word of "msgfmt", so it can be a program name with args.
14098
set dummy msgfmt; ac_word=$2
14099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14100
$as_echo_n "checking for $ac_word... " >&6; }
14101
if ${ac_cv_path_MSGFMT+:} false; then :
14102
$as_echo_n "(cached) " >&6
14106
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14110
for as_dir in $PATH
14113
test -z "$as_dir" && as_dir=.
14114
for ac_exec_ext in '' $ac_executable_extensions; do
14115
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14116
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
14117
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14127
MSGFMT=$ac_cv_path_MSGFMT
14128
if test -n "$MSGFMT"; then
14129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14130
$as_echo "$MSGFMT" >&6; }
14132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14133
$as_echo "no" >&6; }
14137
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14138
set dummy gmsgfmt; ac_word=$2
14139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14140
$as_echo_n "checking for $ac_word... " >&6; }
14141
if ${ac_cv_path_GMSGFMT+:} false; then :
14142
$as_echo_n "(cached) " >&6
14146
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14149
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14150
for as_dir in $PATH
14153
test -z "$as_dir" && as_dir=.
14154
for ac_exec_ext in '' $ac_executable_extensions; do
14155
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14156
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14157
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14164
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14168
GMSGFMT=$ac_cv_path_GMSGFMT
14169
if test -n "$GMSGFMT"; then
14170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14171
$as_echo "$GMSGFMT" >&6; }
14173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174
$as_echo "no" >&6; }
14178
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
14179
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14181
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
14182
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
14183
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
14184
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
14185
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14188
# Extract the first word of "perl", so it can be a program name with args.
14189
set dummy perl; ac_word=$2
14190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14191
$as_echo_n "checking for $ac_word... " >&6; }
14192
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
14193
$as_echo_n "(cached) " >&6
14195
case $INTLTOOL_PERL in
14197
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
14200
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14201
for as_dir in $PATH
14204
test -z "$as_dir" && as_dir=.
14205
for ac_exec_ext in '' $ac_executable_extensions; do
14206
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14207
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
14208
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14218
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
14219
if test -n "$INTLTOOL_PERL"; then
14220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
14221
$as_echo "$INTLTOOL_PERL" >&6; }
14223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14224
$as_echo "no" >&6; }
14228
if test -z "$INTLTOOL_PERL"; then
14229
as_fn_error $? "perl not found" "$LINENO" 5
14231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
14232
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
14233
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
14234
if test $? -ne 0; then
14235
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
14237
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
14238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
14239
$as_echo "$IT_PERL_VERSION" >&6; }
14241
if test "x" != "xno-xml"; then
14242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
14243
$as_echo_n "checking for XML::Parser... " >&6; }
14244
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
14245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14246
$as_echo "ok" >&6; }
14248
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13803
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13804
< $srcdir/po/POTFILES.in > po/POTFILES
14252
# Substitute ALL_LINGUAS so we can use it in po/Makefile
14255
# Set DATADIRNAME correctly if it is not set yet
14256
# (copied from glib-gettext.m4)
14257
if test -z "$DATADIRNAME"; then
14258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259
/* end confdefs.h. */
14264
extern int _nl_msg_cat_cntr;
14265
return _nl_msg_cat_cntr
14270
if ac_fn_c_try_link "$LINENO"; then :
14275
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14276
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14288
rm -f core conftest.err conftest.$ac_objext \
14289
conftest$ac_exeext conftest.$ac_ext