20699
ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS"`"
20700
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
20702
20698
GETTEXT_PACKAGE=hamster-applet
20704
case "$am__api_version" in
20706
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
20707
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
20708
{ (exit 1); exit 1; }; }
20714
if test -n "0.35"; then
20715
{ echo "$as_me:$LINENO: checking for intltool >= 0.35" >&5
20716
echo $ECHO_N "checking for intltool >= 0.35... $ECHO_C" >&6; }
20718
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
20719
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
20720
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
20722
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
20723
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
20724
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
20725
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35 or later." >&5
20726
echo "$as_me: error: Your intltool is too old. You need intltool 0.35 or later." >&2;}
20727
{ (exit 1); exit 1; }; }
20730
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 $< $@'
20731
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 $< $@'
20732
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 $< $@'
20733
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 $< $@'
20734
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
20735
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 $< $@'
20736
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 $< $@'
20737
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 $< $@'
20738
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 $< $@'
20739
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 $< $@'
20740
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 $< $@'
20741
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
20742
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 $< $@'
20743
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 $< $@'
20744
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 $< $@'
20745
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 $< $@'
20746
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 $< $@'
20747
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 $< $@'
20748
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 $< $@'
20770
# Check the gettext tools to make sure they are GNU
20771
# Extract the first word of "xgettext", so it can be a program name with args.
20772
set dummy xgettext; ac_word=$2
20773
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20774
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20775
if test "${ac_cv_path_XGETTEXT+set}" = set; then
20776
echo $ECHO_N "(cached) $ECHO_C" >&6
20780
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20784
for as_dir in $PATH
20787
test -z "$as_dir" && as_dir=.
20788
for ac_exec_ext in '' $ac_executable_extensions; do
20789
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20790
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
20791
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20801
XGETTEXT=$ac_cv_path_XGETTEXT
20802
if test -n "$XGETTEXT"; then
20803
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20804
echo "${ECHO_T}$XGETTEXT" >&6; }
20806
{ echo "$as_me:$LINENO: result: no" >&5
20807
echo "${ECHO_T}no" >&6; }
20811
# Extract the first word of "msgmerge", so it can be a program name with args.
20812
set dummy msgmerge; ac_word=$2
20813
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20814
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20815
if test "${ac_cv_path_MSGMERGE+set}" = set; then
20816
echo $ECHO_N "(cached) $ECHO_C" >&6
20820
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
20823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20824
for as_dir in $PATH
20827
test -z "$as_dir" && as_dir=.
20828
for ac_exec_ext in '' $ac_executable_extensions; do
20829
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20830
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
20831
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20841
MSGMERGE=$ac_cv_path_MSGMERGE
20842
if test -n "$MSGMERGE"; then
20843
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
20844
echo "${ECHO_T}$MSGMERGE" >&6; }
20846
{ echo "$as_me:$LINENO: result: no" >&5
20847
echo "${ECHO_T}no" >&6; }
20851
# Extract the first word of "msgfmt", so it can be a program name with args.
20852
set dummy msgfmt; ac_word=$2
20853
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20854
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20855
if test "${ac_cv_path_MSGFMT+set}" = set; then
20856
echo $ECHO_N "(cached) $ECHO_C" >&6
20860
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20864
for as_dir in $PATH
20867
test -z "$as_dir" && as_dir=.
20868
for ac_exec_ext in '' $ac_executable_extensions; do
20869
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20870
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
20871
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20881
MSGFMT=$ac_cv_path_MSGFMT
20882
if test -n "$MSGFMT"; then
20883
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
20884
echo "${ECHO_T}$MSGFMT" >&6; }
20886
{ echo "$as_me:$LINENO: result: no" >&5
20887
echo "${ECHO_T}no" >&6; }
20891
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
20892
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20893
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20894
{ (exit 1); exit 1; }; }
20896
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
20897
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
20898
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
20899
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
20900
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20901
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20902
{ (exit 1); exit 1; }; }
20905
# Use the tools built into the package, not the ones that are installed.
20906
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
20908
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
20910
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
20913
# Extract the first word of "perl", so it can be a program name with args.
20914
set dummy perl; ac_word=$2
20915
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20916
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20917
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
20918
echo $ECHO_N "(cached) $ECHO_C" >&6
20920
case $INTLTOOL_PERL in
20922
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
20925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20926
for as_dir in $PATH
20929
test -z "$as_dir" && as_dir=.
20930
for ac_exec_ext in '' $ac_executable_extensions; do
20931
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20932
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
20933
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20943
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
20944
if test -n "$INTLTOOL_PERL"; then
20945
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
20946
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
20948
{ echo "$as_me:$LINENO: result: no" >&5
20949
echo "${ECHO_T}no" >&6; }
20953
if test -z "$INTLTOOL_PERL"; then
20954
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
20955
echo "$as_me: error: perl not found; required for intltool" >&2;}
20956
{ (exit 1); exit 1; }; }
20958
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
20959
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
20960
echo "$as_me: error: perl 5.x required for intltool" >&2;}
20961
{ (exit 1); exit 1; }; }
20963
if test "x" != "xno-xml"; then
20964
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
20965
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
20966
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
20967
{ echo "$as_me:$LINENO: result: ok" >&5
20968
echo "${ECHO_T}ok" >&6; }
20970
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
20971
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
20972
{ (exit 1); exit 1; }; }
20976
# Substitute ALL_LINGUAS so we can use it in po/Makefile
20979
# Set DATADIRNAME correctly if it is not set yet
20980
# (copied from glib-gettext.m4)
20981
if test -z "$DATADIRNAME"; then
20982
cat >conftest.$ac_ext <<_ACEOF
20985
cat confdefs.h >>conftest.$ac_ext
20986
cat >>conftest.$ac_ext <<_ACEOF
20987
/* end confdefs.h. */
20992
extern int _nl_msg_cat_cntr;
20993
return _nl_msg_cat_cntr
20998
rm -f conftest.$ac_objext conftest$ac_exeext
20999
if { (ac_try="$ac_link"
21000
case "(($ac_try" in
21001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002
*) ac_try_echo=$ac_try;;
21004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005
(eval "$ac_link") 2>conftest.er1
21007
grep -v '^ *+' conftest.er1 >conftest.err
21009
cat conftest.err >&5
21010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011
(exit $ac_status); } && {
21012
test -z "$ac_c_werror_flag" ||
21013
test ! -s conftest.err
21014
} && test -s conftest$ac_exeext &&
21015
$as_test_x conftest$ac_exeext; then
21018
echo "$as_me: failed program was:" >&5
21019
sed 's/^/| /' conftest.$ac_ext >&5
21023
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
21024
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
21025
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
21026
echo $ECHO_N "(cached) $ECHO_C" >&6
21028
cat >conftest.$ac_ext <<_ACEOF
21031
cat confdefs.h >>conftest.$ac_ext
21032
cat >>conftest.$ac_ext <<_ACEOF
21033
/* end confdefs.h. */
21034
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
21035
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21036
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
21038
/* System header to define __stub macros and hopefully few prototypes,
21039
which can conflict with char bind_textdomain_codeset (); below.
21040
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21041
<limits.h> exists even on freestanding compilers. */
21044
# include <limits.h>
21046
# include <assert.h>
21049
#undef bind_textdomain_codeset
21051
/* Override any GCC internal prototype to avoid an error.
21052
Use char because int might match the return type of a GCC
21053
builtin and then its argument prototype would still apply. */
21057
char bind_textdomain_codeset ();
21058
/* The GNU C library defines this for functions which it implements
21059
to always fail with ENOSYS. Some functions are actually named
21060
something starting with __ and the normal name is an alias. */
21061
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
21068
return bind_textdomain_codeset ();
21073
rm -f conftest.$ac_objext conftest$ac_exeext
21074
if { (ac_try="$ac_link"
21075
case "(($ac_try" in
21076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077
*) ac_try_echo=$ac_try;;
21079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080
(eval "$ac_link") 2>conftest.er1
21082
grep -v '^ *+' conftest.er1 >conftest.err
21084
cat conftest.err >&5
21085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086
(exit $ac_status); } && {
21087
test -z "$ac_c_werror_flag" ||
21088
test ! -s conftest.err
21089
} && test -s conftest$ac_exeext &&
21090
$as_test_x conftest$ac_exeext; then
21091
ac_cv_func_bind_textdomain_codeset=yes
21093
echo "$as_me: failed program was:" >&5
21094
sed 's/^/| /' conftest.$ac_ext >&5
21096
ac_cv_func_bind_textdomain_codeset=no
21099
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21100
conftest$ac_exeext conftest.$ac_ext
21102
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21103
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
21104
if test $ac_cv_func_bind_textdomain_codeset = yes; then
21117
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21118
conftest$ac_exeext conftest.$ac_ext
21125
ac_config_commands="$ac_config_commands intltool"
21131
20701
cat >>confdefs.h <<_ACEOF
21132
20702
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
22659
22229
< $srcdir/po/POTFILES.in > po/POTFILES
22232
case "$am__api_version" in
22234
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
22235
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
22236
{ (exit 1); exit 1; }; }
22242
if test -n "0.37.1"; then
22243
{ echo "$as_me:$LINENO: checking for intltool >= 0.37.1" >&5
22244
echo $ECHO_N "checking for intltool >= 0.37.1... $ECHO_C" >&6; }
22246
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
22247
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
22248
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
22250
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
22251
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
22252
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
22253
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.37.1 or later." >&5
22254
echo "$as_me: error: Your intltool is too old. You need intltool 0.37.1 or later." >&2;}
22255
{ (exit 1); exit 1; }; }
22258
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 $< $@'
22259
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 $< $@'
22260
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 $< $@'
22261
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 $< $@'
22262
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
22263
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 $< $@'
22264
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 $< $@'
22265
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 $< $@'
22266
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 $< $@'
22267
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 $< $@'
22268
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 $< $@'
22269
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
22270
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 $< $@'
22271
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 $< $@'
22272
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 $< $@'
22273
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 $< $@'
22274
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 $< $@'
22275
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 $< $@'
22276
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 $< $@'
22298
# Check the gettext tools to make sure they are GNU
22299
# Extract the first word of "xgettext", so it can be a program name with args.
22300
set dummy xgettext; ac_word=$2
22301
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22302
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22303
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22304
echo $ECHO_N "(cached) $ECHO_C" >&6
22308
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22312
for as_dir in $PATH
22315
test -z "$as_dir" && as_dir=.
22316
for ac_exec_ext in '' $ac_executable_extensions; do
22317
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22318
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
22319
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22329
XGETTEXT=$ac_cv_path_XGETTEXT
22330
if test -n "$XGETTEXT"; then
22331
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22332
echo "${ECHO_T}$XGETTEXT" >&6; }
22334
{ echo "$as_me:$LINENO: result: no" >&5
22335
echo "${ECHO_T}no" >&6; }
22339
# Extract the first word of "msgmerge", so it can be a program name with args.
22340
set dummy msgmerge; ac_word=$2
22341
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22342
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22343
if test "${ac_cv_path_MSGMERGE+set}" = set; then
22344
echo $ECHO_N "(cached) $ECHO_C" >&6
22348
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
22351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22352
for as_dir in $PATH
22355
test -z "$as_dir" && as_dir=.
22356
for ac_exec_ext in '' $ac_executable_extensions; do
22357
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22358
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
22359
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22369
MSGMERGE=$ac_cv_path_MSGMERGE
22370
if test -n "$MSGMERGE"; then
22371
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
22372
echo "${ECHO_T}$MSGMERGE" >&6; }
22374
{ echo "$as_me:$LINENO: result: no" >&5
22375
echo "${ECHO_T}no" >&6; }
22379
# Extract the first word of "msgfmt", so it can be a program name with args.
22380
set dummy msgfmt; ac_word=$2
22381
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22382
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22383
if test "${ac_cv_path_MSGFMT+set}" = set; then
22384
echo $ECHO_N "(cached) $ECHO_C" >&6
22388
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22392
for as_dir in $PATH
22395
test -z "$as_dir" && as_dir=.
22396
for ac_exec_ext in '' $ac_executable_extensions; do
22397
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22398
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
22399
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22409
MSGFMT=$ac_cv_path_MSGFMT
22410
if test -n "$MSGFMT"; then
22411
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22412
echo "${ECHO_T}$MSGFMT" >&6; }
22414
{ echo "$as_me:$LINENO: result: no" >&5
22415
echo "${ECHO_T}no" >&6; }
22419
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
22420
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
22421
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
22422
{ (exit 1); exit 1; }; }
22424
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
22425
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
22426
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
22427
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
22428
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
22429
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
22430
{ (exit 1); exit 1; }; }
22433
# Use the tools built into the package, not the ones that are installed.
22434
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
22436
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
22438
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
22441
# Extract the first word of "perl", so it can be a program name with args.
22442
set dummy perl; ac_word=$2
22443
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22444
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22445
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
22446
echo $ECHO_N "(cached) $ECHO_C" >&6
22448
case $INTLTOOL_PERL in
22450
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
22453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22454
for as_dir in $PATH
22457
test -z "$as_dir" && as_dir=.
22458
for ac_exec_ext in '' $ac_executable_extensions; do
22459
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22460
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
22461
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22471
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
22472
if test -n "$INTLTOOL_PERL"; then
22473
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
22474
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
22476
{ echo "$as_me:$LINENO: result: no" >&5
22477
echo "${ECHO_T}no" >&6; }
22481
if test -z "$INTLTOOL_PERL"; then
22482
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
22483
echo "$as_me: error: perl not found; required for intltool" >&2;}
22484
{ (exit 1); exit 1; }; }
22486
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
22487
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
22488
echo "$as_me: error: perl 5.x required for intltool" >&2;}
22489
{ (exit 1); exit 1; }; }
22491
if test "x" != "xno-xml"; then
22492
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
22493
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
22494
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
22495
{ echo "$as_me:$LINENO: result: ok" >&5
22496
echo "${ECHO_T}ok" >&6; }
22498
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
22499
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
22500
{ (exit 1); exit 1; }; }
22504
# Substitute ALL_LINGUAS so we can use it in po/Makefile
22507
# Set DATADIRNAME correctly if it is not set yet
22508
# (copied from glib-gettext.m4)
22509
if test -z "$DATADIRNAME"; then
22510
cat >conftest.$ac_ext <<_ACEOF
22513
cat confdefs.h >>conftest.$ac_ext
22514
cat >>conftest.$ac_ext <<_ACEOF
22515
/* end confdefs.h. */
22520
extern int _nl_msg_cat_cntr;
22521
return _nl_msg_cat_cntr
22526
rm -f conftest.$ac_objext conftest$ac_exeext
22527
if { (ac_try="$ac_link"
22528
case "(($ac_try" in
22529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22530
*) ac_try_echo=$ac_try;;
22532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22533
(eval "$ac_link") 2>conftest.er1
22535
grep -v '^ *+' conftest.er1 >conftest.err
22537
cat conftest.err >&5
22538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539
(exit $ac_status); } && {
22540
test -z "$ac_c_werror_flag" ||
22541
test ! -s conftest.err
22542
} && test -s conftest$ac_exeext &&
22543
$as_test_x conftest$ac_exeext; then
22546
echo "$as_me: failed program was:" >&5
22547
sed 's/^/| /' conftest.$ac_ext >&5
22551
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22552
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22553
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22554
echo $ECHO_N "(cached) $ECHO_C" >&6
22556
cat >conftest.$ac_ext <<_ACEOF
22559
cat confdefs.h >>conftest.$ac_ext
22560
cat >>conftest.$ac_ext <<_ACEOF
22561
/* end confdefs.h. */
22562
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22563
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22564
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22566
/* System header to define __stub macros and hopefully few prototypes,
22567
which can conflict with char bind_textdomain_codeset (); below.
22568
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22569
<limits.h> exists even on freestanding compilers. */
22572
# include <limits.h>
22574
# include <assert.h>
22577
#undef bind_textdomain_codeset
22579
/* Override any GCC internal prototype to avoid an error.
22580
Use char because int might match the return type of a GCC
22581
builtin and then its argument prototype would still apply. */
22585
char bind_textdomain_codeset ();
22586
/* The GNU C library defines this for functions which it implements
22587
to always fail with ENOSYS. Some functions are actually named
22588
something starting with __ and the normal name is an alias. */
22589
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22596
return bind_textdomain_codeset ();
22601
rm -f conftest.$ac_objext conftest$ac_exeext
22602
if { (ac_try="$ac_link"
22603
case "(($ac_try" in
22604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22605
*) ac_try_echo=$ac_try;;
22607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22608
(eval "$ac_link") 2>conftest.er1
22610
grep -v '^ *+' conftest.er1 >conftest.err
22612
cat conftest.err >&5
22613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614
(exit $ac_status); } && {
22615
test -z "$ac_c_werror_flag" ||
22616
test ! -s conftest.err
22617
} && test -s conftest$ac_exeext &&
22618
$as_test_x conftest$ac_exeext; then
22619
ac_cv_func_bind_textdomain_codeset=yes
22621
echo "$as_me: failed program was:" >&5
22622
sed 's/^/| /' conftest.$ac_ext >&5
22624
ac_cv_func_bind_textdomain_codeset=no
22627
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22628
conftest$ac_exeext conftest.$ac_ext
22630
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22631
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22632
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22645
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22646
conftest$ac_exeext conftest.$ac_ext
22653
ac_config_commands="$ac_config_commands intltool"
22662
22658
# Extract the first word of "gconftool-2", so it can be a program name with args.
22663
22659
set dummy gconftool-2; ac_word=$2
22664
22660
{ echo "$as_me:$LINENO: checking for $ac_word" >&5