5645
5643
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 $< $@'
5646
5644
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 $< $@'
5647
5645
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 $< $@'
5646
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 $< $@'
5668
# Check the gettext tools to make sure they are GNU
5669
# Extract the first word of "xgettext", so it can be a program name with args.
5670
set dummy xgettext; ac_word=$2
5671
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5672
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5673
if test "${ac_cv_path_XGETTEXT+set}" = set; then
5674
echo $ECHO_N "(cached) $ECHO_C" >&6
5678
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685
test -z "$as_dir" && as_dir=.
5686
for ac_exec_ext in '' $ac_executable_extensions; do
5687
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5689
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5699
XGETTEXT=$ac_cv_path_XGETTEXT
5700
if test -n "$XGETTEXT"; then
5701
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5702
echo "${ECHO_T}$XGETTEXT" >&6; }
5704
{ echo "$as_me:$LINENO: result: no" >&5
5705
echo "${ECHO_T}no" >&6; }
5709
# Extract the first word of "msgmerge", so it can be a program name with args.
5710
set dummy msgmerge; ac_word=$2
5711
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5712
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5713
if test "${ac_cv_path_MSGMERGE+set}" = set; then
5714
echo $ECHO_N "(cached) $ECHO_C" >&6
5718
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725
test -z "$as_dir" && as_dir=.
5726
for ac_exec_ext in '' $ac_executable_extensions; do
5727
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5728
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5729
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5739
MSGMERGE=$ac_cv_path_MSGMERGE
5740
if test -n "$MSGMERGE"; then
5741
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5742
echo "${ECHO_T}$MSGMERGE" >&6; }
5744
{ echo "$as_me:$LINENO: result: no" >&5
5745
echo "${ECHO_T}no" >&6; }
5749
# Extract the first word of "msgfmt", so it can be a program name with args.
5750
set dummy msgfmt; ac_word=$2
5751
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5753
if test "${ac_cv_path_MSGFMT+set}" = set; then
5754
echo $ECHO_N "(cached) $ECHO_C" >&6
5758
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765
test -z "$as_dir" && as_dir=.
5766
for ac_exec_ext in '' $ac_executable_extensions; do
5767
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5769
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5779
MSGFMT=$ac_cv_path_MSGFMT
5780
if test -n "$MSGFMT"; then
5781
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
5782
echo "${ECHO_T}$MSGFMT" >&6; }
5784
{ echo "$as_me:$LINENO: result: no" >&5
5785
echo "${ECHO_T}no" >&6; }
5789
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5790
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
5791
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
5792
{ (exit 1); exit 1; }; }
5794
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5795
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5796
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5797
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5798
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
5799
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
5800
{ (exit 1); exit 1; }; }
5668
5803
# Use the tools built into the package, not the ones that are installed.
5669
5804
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
5739
# Extract the first word of "iconv", so it can be a program name with args.
5740
set dummy iconv; ac_word=$2
5741
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5743
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
5744
echo $ECHO_N "(cached) $ECHO_C" >&6
5746
case $INTLTOOL_ICONV in
5748
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
5751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755
test -z "$as_dir" && as_dir=.
5756
for ac_exec_ext in '' $ac_executable_extensions; do
5757
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
5759
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5766
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
5770
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
5771
if test -n "$INTLTOOL_ICONV"; then
5772
{ echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
5773
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
5775
{ echo "$as_me:$LINENO: result: no" >&5
5776
echo "${ECHO_T}no" >&6; }
5780
# Extract the first word of "msgfmt", so it can be a program name with args.
5781
set dummy msgfmt; ac_word=$2
5782
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5783
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5784
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
5785
echo $ECHO_N "(cached) $ECHO_C" >&6
5787
case $INTLTOOL_MSGFMT in
5789
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
5792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796
test -z "$as_dir" && as_dir=.
5797
for ac_exec_ext in '' $ac_executable_extensions; do
5798
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5799
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5800
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5807
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
5811
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
5812
if test -n "$INTLTOOL_MSGFMT"; then
5813
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
5814
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
5816
{ echo "$as_me:$LINENO: result: no" >&5
5817
echo "${ECHO_T}no" >&6; }
5821
# Extract the first word of "msgmerge", so it can be a program name with args.
5822
set dummy msgmerge; ac_word=$2
5823
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5824
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5825
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
5826
echo $ECHO_N "(cached) $ECHO_C" >&6
5828
case $INTLTOOL_MSGMERGE in
5830
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
5833
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837
test -z "$as_dir" && as_dir=.
5838
for ac_exec_ext in '' $ac_executable_extensions; do
5839
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5840
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5841
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5848
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
5852
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
5853
if test -n "$INTLTOOL_MSGMERGE"; then
5854
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
5855
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
5857
{ echo "$as_me:$LINENO: result: no" >&5
5858
echo "${ECHO_T}no" >&6; }
5862
# Extract the first word of "xgettext", so it can be a program name with args.
5863
set dummy xgettext; ac_word=$2
5864
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5865
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5866
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
5867
echo $ECHO_N "(cached) $ECHO_C" >&6
5869
case $INTLTOOL_XGETTEXT in
5871
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
5874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878
test -z "$as_dir" && as_dir=.
5879
for ac_exec_ext in '' $ac_executable_extensions; do
5880
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5882
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
5893
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
5894
if test -n "$INTLTOOL_XGETTEXT"; then
5895
{ echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
5896
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
5898
{ echo "$as_me:$LINENO: result: no" >&5
5899
echo "${ECHO_T}no" >&6; }
5904
5874
# Substitute ALL_LINGUAS so we can use it in po/Makefile
7115
7083
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
7116
7084
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
7117
7085
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
7086
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
7087
MSGMERGE!$MSGMERGE$ac_delim
7118
7088
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
7119
7089
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
7120
7090
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
7121
7091
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
7122
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
7123
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
7124
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
7125
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
7126
7092
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
7127
7093
PYTHON!$PYTHON$ac_delim
7128
7094
PYTHON_VERSION!$PYTHON_VERSION$ac_delim