4039
# Make sure we can run config.sub.
4040
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4041
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4042
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4043
{ (exit 1); exit 1; }; }
4045
{ echo "$as_me:$LINENO: checking build system type" >&5
4046
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4047
if test "${ac_cv_build+set}" = set; then
4048
echo $ECHO_N "(cached) $ECHO_C" >&6
4050
ac_build_alias=$build_alias
4051
test "x$ac_build_alias" = x &&
4052
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4053
test "x$ac_build_alias" = x &&
4054
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4055
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4056
{ (exit 1); exit 1; }; }
4057
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4058
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4059
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4060
{ (exit 1); exit 1; }; }
4063
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4064
echo "${ECHO_T}$ac_cv_build" >&6; }
4065
case $ac_cv_build in
4067
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4068
echo "$as_me: error: invalid value of canonical build" >&2;}
4069
{ (exit 1); exit 1; }; };;
4072
ac_save_IFS=$IFS; IFS='-'
4078
# Remember, the first character of IFS is used to create $*,
4079
# except with old shells:
4082
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4085
{ echo "$as_me:$LINENO: checking host system type" >&5
4086
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4087
if test "${ac_cv_host+set}" = set; then
4088
echo $ECHO_N "(cached) $ECHO_C" >&6
4090
if test "x$host_alias" = x; then
4091
ac_cv_host=$ac_cv_build
4093
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4094
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4095
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4096
{ (exit 1); exit 1; }; }
4100
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4101
echo "${ECHO_T}$ac_cv_host" >&6; }
4104
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4105
echo "$as_me: error: invalid value of canonical host" >&2;}
4106
{ (exit 1); exit 1; }; };;
4109
ac_save_IFS=$IFS; IFS='-'
4115
# Remember, the first character of IFS is used to create $*,
4116
# except with old shells:
4119
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4124
4027
for ac_header in locale.h
5680
5583
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 $< $@'
5681
5584
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 $< $@'
5682
5585
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 $< $@'
5586
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 $< $@'
5608
# Check the gettext tools to make sure they are GNU
5609
# Extract the first word of "xgettext", so it can be a program name with args.
5610
set dummy xgettext; ac_word=$2
5611
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5612
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5613
if test "${ac_cv_path_XGETTEXT+set}" = set; then
5614
echo $ECHO_N "(cached) $ECHO_C" >&6
5618
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625
test -z "$as_dir" && as_dir=.
5626
for ac_exec_ext in '' $ac_executable_extensions; do
5627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5629
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5639
XGETTEXT=$ac_cv_path_XGETTEXT
5640
if test -n "$XGETTEXT"; then
5641
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5642
echo "${ECHO_T}$XGETTEXT" >&6; }
5644
{ echo "$as_me:$LINENO: result: no" >&5
5645
echo "${ECHO_T}no" >&6; }
5649
# Extract the first word of "msgmerge", so it can be a program name with args.
5650
set dummy msgmerge; ac_word=$2
5651
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5652
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5653
if test "${ac_cv_path_MSGMERGE+set}" = set; then
5654
echo $ECHO_N "(cached) $ECHO_C" >&6
5658
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665
test -z "$as_dir" && as_dir=.
5666
for ac_exec_ext in '' $ac_executable_extensions; do
5667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5668
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5669
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679
MSGMERGE=$ac_cv_path_MSGMERGE
5680
if test -n "$MSGMERGE"; then
5681
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5682
echo "${ECHO_T}$MSGMERGE" >&6; }
5684
{ echo "$as_me:$LINENO: result: no" >&5
5685
echo "${ECHO_T}no" >&6; }
5689
# Extract the first word of "msgfmt", so it can be a program name with args.
5690
set dummy msgfmt; ac_word=$2
5691
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5692
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5693
if test "${ac_cv_path_MSGFMT+set}" = set; then
5694
echo $ECHO_N "(cached) $ECHO_C" >&6
5698
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5701
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705
test -z "$as_dir" && as_dir=.
5706
for ac_exec_ext in '' $ac_executable_extensions; do
5707
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5708
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5709
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719
MSGFMT=$ac_cv_path_MSGFMT
5720
if test -n "$MSGFMT"; then
5721
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
5722
echo "${ECHO_T}$MSGFMT" >&6; }
5724
{ echo "$as_me:$LINENO: result: no" >&5
5725
echo "${ECHO_T}no" >&6; }
5729
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5730
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
5731
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
5732
{ (exit 1); exit 1; }; }
5734
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5735
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5736
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5737
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5738
{ { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
5739
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
5740
{ (exit 1); exit 1; }; }
5703
5743
# Use the tools built into the package, not the ones that are installed.
5704
5744
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
5774
# Extract the first word of "iconv", so it can be a program name with args.
5775
set dummy iconv; ac_word=$2
5776
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5777
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5778
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
5779
echo $ECHO_N "(cached) $ECHO_C" >&6
5781
case $INTLTOOL_ICONV in
5783
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
5786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790
test -z "$as_dir" && as_dir=.
5791
for ac_exec_ext in '' $ac_executable_extensions; do
5792
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
5794
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5801
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
5805
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
5806
if test -n "$INTLTOOL_ICONV"; then
5807
{ echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
5808
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
5810
{ echo "$as_me:$LINENO: result: no" >&5
5811
echo "${ECHO_T}no" >&6; }
5815
# Extract the first word of "msgfmt", so it can be a program name with args.
5816
set dummy msgfmt; ac_word=$2
5817
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5818
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5819
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
5820
echo $ECHO_N "(cached) $ECHO_C" >&6
5822
case $INTLTOOL_MSGFMT in
5824
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
5827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831
test -z "$as_dir" && as_dir=.
5832
for ac_exec_ext in '' $ac_executable_extensions; do
5833
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5834
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5835
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5842
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
5846
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
5847
if test -n "$INTLTOOL_MSGFMT"; then
5848
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
5849
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
5851
{ echo "$as_me:$LINENO: result: no" >&5
5852
echo "${ECHO_T}no" >&6; }
5856
# Extract the first word of "msgmerge", so it can be a program name with args.
5857
set dummy msgmerge; ac_word=$2
5858
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5859
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5860
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
5861
echo $ECHO_N "(cached) $ECHO_C" >&6
5863
case $INTLTOOL_MSGMERGE in
5865
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
5868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872
test -z "$as_dir" && as_dir=.
5873
for ac_exec_ext in '' $ac_executable_extensions; do
5874
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5876
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5883
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
5887
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
5888
if test -n "$INTLTOOL_MSGMERGE"; then
5889
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
5890
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
5892
{ echo "$as_me:$LINENO: result: no" >&5
5893
echo "${ECHO_T}no" >&6; }
5897
# Extract the first word of "xgettext", so it can be a program name with args.
5898
set dummy xgettext; ac_word=$2
5899
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5901
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
5902
echo $ECHO_N "(cached) $ECHO_C" >&6
5904
case $INTLTOOL_XGETTEXT in
5906
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
5909
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913
test -z "$as_dir" && as_dir=.
5914
for ac_exec_ext in '' $ac_executable_extensions; do
5915
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5916
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5917
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5924
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
5928
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
5929
if test -n "$INTLTOOL_XGETTEXT"; then
5930
{ echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
5931
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
5933
{ echo "$as_me:$LINENO: result: no" >&5
5934
echo "${ECHO_T}no" >&6; }
5939
5814
# Substitute ALL_LINGUAS so we can use it in po/Makefile
7971
7836
CATALOGS!$CATALOGS$ac_delim
7972
7837
CATOBJEXT!$CATOBJEXT$ac_delim
7973
7838
DATADIRNAME!$DATADIRNAME$ac_delim
7976
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7978
elif $ac_last_try; then
7979
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7980
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7981
{ (exit 1); exit 1; }; }
7983
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7987
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7988
if test -n "$ac_eof"; then
7989
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7990
ac_eof=`expr $ac_eof + 1`
7993
cat >>$CONFIG_STATUS <<_ACEOF
7994
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7995
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7998
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7999
s/^/s,@/; s/!/@,|#_!!_#|/
8002
s/'"$ac_delim"'$/,g/; t
8004
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8005
' >>$CONFIG_STATUS <conf$$subs.sed
8006
rm -f conf$$subs.sed
8007
cat >>$CONFIG_STATUS <<_ACEOF
8013
for ac_last_try in false false false false false :; do
8014
cat >conf$$subs.sed <<_ACEOF
8015
7839
GMOFILES!$GMOFILES$ac_delim
8016
7840
INSTOBJEXT!$INSTOBJEXT$ac_delim
8017
7841
INTLLIBS!$INTLLIBS$ac_delim
8020
7844
POFILES!$POFILES$ac_delim
8021
7845
POSUB!$POSUB$ac_delim
8022
7846
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
7849
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7851
elif $ac_last_try; then
7852
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7853
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7854
{ (exit 1); exit 1; }; }
7856
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7860
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7861
if test -n "$ac_eof"; then
7862
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7863
ac_eof=`expr $ac_eof + 1`
7866
cat >>$CONFIG_STATUS <<_ACEOF
7867
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7868
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7871
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7872
s/^/s,@/; s/!/@,|#_!!_#|/
7875
s/'"$ac_delim"'$/,g/; t
7877
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7878
' >>$CONFIG_STATUS <conf$$subs.sed
7879
rm -f conf$$subs.sed
7880
cat >>$CONFIG_STATUS <<_ACEOF
7886
for ac_last_try in false false false false false :; do
7887
cat >conf$$subs.sed <<_ACEOF
8023
7888
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
8024
7889
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
8025
7890
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
8038
7903
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
8039
7904
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
8040
7905
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
7906
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
7907
MSGMERGE!$MSGMERGE$ac_delim
8041
7908
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
8042
7909
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
8043
7910
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
8044
7911
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
8045
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
8046
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
8047
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
8048
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
8049
7912
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
8050
7913
PYTHON2_3!$PYTHON2_3$ac_delim
8051
7914
PYTHON!$PYTHON$ac_delim