2802
2776
$as_echo "$USE_NLS" >&6; }
2781
case "$am__api_version" in
2783
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
2789
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
2790
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
2791
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
2792
if test -n "0.35.0"; then
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
2794
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
2796
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
2797
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
2798
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
2801
# Extract the first word of "intltool-update", so it can be a program name with args.
2802
set dummy intltool-update; ac_word=$2
2803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804
$as_echo_n "checking for $ac_word... " >&6; }
2805
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
2806
$as_echo_n "(cached) " >&6
2808
case $INTLTOOL_UPDATE in
2810
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
2813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817
test -z "$as_dir" && as_dir=.
2818
for ac_exec_ext in '' $ac_executable_extensions; do
2819
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
2821
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
2832
if test -n "$INTLTOOL_UPDATE"; then
2833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
2834
$as_echo "$INTLTOOL_UPDATE" >&6; }
2836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837
$as_echo "no" >&6; }
2841
# Extract the first word of "intltool-merge", so it can be a program name with args.
2842
set dummy intltool-merge; ac_word=$2
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844
$as_echo_n "checking for $ac_word... " >&6; }
2845
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
2846
$as_echo_n "(cached) " >&6
2848
case $INTLTOOL_MERGE in
2850
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
2853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857
test -z "$as_dir" && as_dir=.
2858
for ac_exec_ext in '' $ac_executable_extensions; do
2859
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
2861
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
2872
if test -n "$INTLTOOL_MERGE"; then
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
2874
$as_echo "$INTLTOOL_MERGE" >&6; }
2876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877
$as_echo "no" >&6; }
2881
# Extract the first word of "intltool-extract", so it can be a program name with args.
2882
set dummy intltool-extract; ac_word=$2
2883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884
$as_echo_n "checking for $ac_word... " >&6; }
2885
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
2886
$as_echo_n "(cached) " >&6
2888
case $INTLTOOL_EXTRACT in
2890
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
2893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897
test -z "$as_dir" && as_dir=.
2898
for ac_exec_ext in '' $ac_executable_extensions; do
2899
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
2901
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
2912
if test -n "$INTLTOOL_EXTRACT"; then
2913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
2914
$as_echo "$INTLTOOL_EXTRACT" >&6; }
2916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917
$as_echo "no" >&6; }
2921
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
2922
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
2925
if test -z "$AM_DEFAULT_VERBOSITY"; then
2926
AM_DEFAULT_VERBOSITY=1
2930
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
2931
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
2932
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
2937
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
2938
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
2939
intltool__v_merge_options_0='-q'
2944
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2945
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2946
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2947
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2948
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
2949
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2950
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2951
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2952
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2953
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2954
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2955
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
2956
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
2958
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
2960
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2961
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2962
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2963
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2964
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2965
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2966
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3064
# Check the gettext tools to make sure they are GNU
3065
# Extract the first word of "xgettext", so it can be a program name with args.
3066
set dummy xgettext; ac_word=$2
3067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068
$as_echo_n "checking for $ac_word... " >&6; }
3069
if ${ac_cv_path_XGETTEXT+:} false; then :
3070
$as_echo_n "(cached) " >&6
3074
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081
test -z "$as_dir" && as_dir=.
3082
for ac_exec_ext in '' $ac_executable_extensions; do
3083
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3085
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095
XGETTEXT=$ac_cv_path_XGETTEXT
3096
if test -n "$XGETTEXT"; then
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3098
$as_echo "$XGETTEXT" >&6; }
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101
$as_echo "no" >&6; }
3105
# Extract the first word of "msgmerge", so it can be a program name with args.
3106
set dummy msgmerge; ac_word=$2
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108
$as_echo_n "checking for $ac_word... " >&6; }
3109
if ${ac_cv_path_MSGMERGE+:} false; then :
3110
$as_echo_n "(cached) " >&6
3114
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121
test -z "$as_dir" && as_dir=.
3122
for ac_exec_ext in '' $ac_executable_extensions; do
3123
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3124
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3125
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135
MSGMERGE=$ac_cv_path_MSGMERGE
3136
if test -n "$MSGMERGE"; then
3137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3138
$as_echo "$MSGMERGE" >&6; }
3140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141
$as_echo "no" >&6; }
3145
# Extract the first word of "msgfmt", so it can be a program name with args.
3146
set dummy msgfmt; ac_word=$2
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148
$as_echo_n "checking for $ac_word... " >&6; }
3149
if ${ac_cv_path_MSGFMT+:} false; then :
3150
$as_echo_n "(cached) " >&6
3154
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161
test -z "$as_dir" && as_dir=.
3162
for ac_exec_ext in '' $ac_executable_extensions; do
3163
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3164
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3165
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175
MSGFMT=$ac_cv_path_MSGFMT
3176
if test -n "$MSGFMT"; then
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3178
$as_echo "$MSGFMT" >&6; }
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181
$as_echo "no" >&6; }
3185
# Extract the first word of "gmsgfmt", so it can be a program name with args.
3186
set dummy gmsgfmt; ac_word=$2
3187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188
$as_echo_n "checking for $ac_word... " >&6; }
3189
if ${ac_cv_path_GMSGFMT+:} false; then :
3190
$as_echo_n "(cached) " >&6
3194
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
test -z "$as_dir" && as_dir=.
3202
for ac_exec_ext in '' $ac_executable_extensions; do
3203
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3205
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3216
GMSGFMT=$ac_cv_path_GMSGFMT
3217
if test -n "$GMSGFMT"; then
3218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3219
$as_echo "$GMSGFMT" >&6; }
3221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222
$as_echo "no" >&6; }
3226
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3227
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3229
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3230
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3231
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3232
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3233
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3236
# Extract the first word of "perl", so it can be a program name with args.
3237
set dummy perl; ac_word=$2
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239
$as_echo_n "checking for $ac_word... " >&6; }
3240
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3241
$as_echo_n "(cached) " >&6
3243
case $INTLTOOL_PERL in
3245
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252
test -z "$as_dir" && as_dir=.
3253
for ac_exec_ext in '' $ac_executable_extensions; do
3254
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3256
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3267
if test -n "$INTLTOOL_PERL"; then
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3269
$as_echo "$INTLTOOL_PERL" >&6; }
3271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272
$as_echo "no" >&6; }
3276
if test -z "$INTLTOOL_PERL"; then
3277
as_fn_error $? "perl not found" "$LINENO" 5
3279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
3280
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
3281
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3282
if test $? -ne 0; then
3283
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
3285
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
3286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
3287
$as_echo "$IT_PERL_VERSION" >&6; }
3289
if test "x" != "xno-xml"; then
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
3291
$as_echo_n "checking for XML::Parser... " >&6; }
3292
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3294
$as_echo "ok" >&6; }
3296
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3300
# Substitute ALL_LINGUAS so we can use it in po/Makefile
3311
[\\/$]* | ?:[\\/]*) ;;
3312
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3317
GETTEXT_MACRO_VERSION=0.17
3322
# Prepare PATH_SEPARATOR.
3323
# The user is always right.
3324
if test "${PATH_SEPARATOR+set}" != set; then
3325
echo "#! /bin/sh" >conf$$.sh
3326
echo "exit 0" >>conf$$.sh
3328
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3336
# Find out how to test for executable files. Don't use a zero-byte file,
3337
# as systems may use methods other than mode bits to determine executability.
3338
cat >conf$$.file <<_ASEOF
3342
chmod +x conf$$.file
3343
if test -x conf$$.file >/dev/null 2>&1; then
3344
ac_executable_p="test -x"
3346
ac_executable_p="test -f"
3350
# Extract the first word of "msgfmt", so it can be a program name with args.
3351
set dummy msgfmt; ac_word=$2
3352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353
$as_echo_n "checking for $ac_word... " >&6; }
3354
if ${ac_cv_path_MSGFMT+:} false; then :
3355
$as_echo_n "(cached) " >&6
3359
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3362
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3363
for ac_dir in $PATH; do
3365
test -z "$ac_dir" && ac_dir=.
3366
for ac_exec_ext in '' $ac_executable_extensions; do
3367
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3368
echo "$as_me: trying $ac_dir/$ac_word..." >&5
3369
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3370
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3371
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3378
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3382
MSGFMT="$ac_cv_path_MSGFMT"
3383
if test "$MSGFMT" != ":"; then
3384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3385
$as_echo "$MSGFMT" >&6; }
3387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388
$as_echo "no" >&6; }
3391
# Extract the first word of "gmsgfmt", so it can be a program name with args.
3392
set dummy gmsgfmt; ac_word=$2
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394
$as_echo_n "checking for $ac_word... " >&6; }
3395
if ${ac_cv_path_GMSGFMT+:} false; then :
3396
$as_echo_n "(cached) " >&6
3400
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407
test -z "$as_dir" && as_dir=.
3408
for ac_exec_ext in '' $ac_executable_extensions; do
3409
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3411
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3422
GMSGFMT=$ac_cv_path_GMSGFMT
3423
if test -n "$GMSGFMT"; then
3424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3425
$as_echo "$GMSGFMT" >&6; }
3427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428
$as_echo "no" >&6; }
3433
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3434
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3435
*) MSGFMT_015=$MSGFMT ;;
3438
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3439
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3440
*) GMSGFMT_015=$GMSGFMT ;;
3445
# Prepare PATH_SEPARATOR.
3446
# The user is always right.
3447
if test "${PATH_SEPARATOR+set}" != set; then
3448
echo "#! /bin/sh" >conf$$.sh
3449
echo "exit 0" >>conf$$.sh
3451
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3459
# Find out how to test for executable files. Don't use a zero-byte file,
3460
# as systems may use methods other than mode bits to determine executability.
3461
cat >conf$$.file <<_ASEOF
3465
chmod +x conf$$.file
3466
if test -x conf$$.file >/dev/null 2>&1; then
3467
ac_executable_p="test -x"
3469
ac_executable_p="test -f"
3473
# Extract the first word of "xgettext", so it can be a program name with args.
3474
set dummy xgettext; ac_word=$2
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3476
$as_echo_n "checking for $ac_word... " >&6; }
3477
if ${ac_cv_path_XGETTEXT+:} false; then :
3478
$as_echo_n "(cached) " >&6
3482
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3485
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3486
for ac_dir in $PATH; do
3488
test -z "$ac_dir" && ac_dir=.
3489
for ac_exec_ext in '' $ac_executable_extensions; do
3490
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3491
echo "$as_me: trying $ac_dir/$ac_word..." >&5
3492
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3493
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3494
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3501
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3505
XGETTEXT="$ac_cv_path_XGETTEXT"
3506
if test "$XGETTEXT" != ":"; then
3507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3508
$as_echo "$XGETTEXT" >&6; }
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3511
$as_echo "no" >&6; }
3516
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3517
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3518
*) XGETTEXT_015=$XGETTEXT ;;
3523
# Prepare PATH_SEPARATOR.
3524
# The user is always right.
3525
if test "${PATH_SEPARATOR+set}" != set; then
3526
echo "#! /bin/sh" >conf$$.sh
3527
echo "exit 0" >>conf$$.sh
3529
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3537
# Find out how to test for executable files. Don't use a zero-byte file,
3538
# as systems may use methods other than mode bits to determine executability.
3539
cat >conf$$.file <<_ASEOF
3543
chmod +x conf$$.file
3544
if test -x conf$$.file >/dev/null 2>&1; then
3545
ac_executable_p="test -x"
3547
ac_executable_p="test -f"
3551
# Extract the first word of "msgmerge", so it can be a program name with args.
3552
set dummy msgmerge; ac_word=$2
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554
$as_echo_n "checking for $ac_word... " >&6; }
3555
if ${ac_cv_path_MSGMERGE+:} false; then :
3556
$as_echo_n "(cached) " >&6
3560
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3563
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3564
for ac_dir in $PATH; do
3566
test -z "$ac_dir" && ac_dir=.
3567
for ac_exec_ext in '' $ac_executable_extensions; do
3568
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3569
echo "$as_me: trying $ac_dir/$ac_word..." >&5
3570
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3571
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3578
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3582
MSGMERGE="$ac_cv_path_MSGMERGE"
3583
if test "$MSGMERGE" != ":"; then
3584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3585
$as_echo "$MSGMERGE" >&6; }
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588
$as_echo "no" >&6; }
3592
test -n "$localedir" || localedir='${datadir}/locale'
3595
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3598
ac_config_commands="$ac_config_commands po-directories"
3602
if test "X$prefix" = "XNONE"; then
3603
acl_final_prefix="$ac_default_prefix"
3605
acl_final_prefix="$prefix"
3607
if test "X$exec_prefix" = "XNONE"; then
3608
acl_final_exec_prefix='${prefix}'
3610
acl_final_exec_prefix="$exec_prefix"
3612
acl_save_prefix="$prefix"
3613
prefix="$acl_final_prefix"
3614
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3615
prefix="$acl_save_prefix"
2805
3617
DEPDIR="${am__leading_dot}deps"
2807
3619
ac_config_commands="$ac_config_commands depfiles"
3788
case "$am__api_version" in
3790
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3796
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3797
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3798
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3799
if test -n "0.35.0"; then
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3801
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3803
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3804
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3805
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
3808
# Extract the first word of "intltool-update", so it can be a program name with args.
3809
set dummy intltool-update; ac_word=$2
3810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811
$as_echo_n "checking for $ac_word... " >&6; }
3812
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3813
$as_echo_n "(cached) " >&6
3815
case $INTLTOOL_UPDATE in
3817
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824
test -z "$as_dir" && as_dir=.
3825
for ac_exec_ext in '' $ac_executable_extensions; do
3826
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3828
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3839
if test -n "$INTLTOOL_UPDATE"; then
3840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3841
$as_echo "$INTLTOOL_UPDATE" >&6; }
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844
$as_echo "no" >&6; }
3848
# Extract the first word of "intltool-merge", so it can be a program name with args.
3849
set dummy intltool-merge; ac_word=$2
3850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851
$as_echo_n "checking for $ac_word... " >&6; }
3852
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3853
$as_echo_n "(cached) " >&6
3855
case $INTLTOOL_MERGE in
3857
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864
test -z "$as_dir" && as_dir=.
3865
for ac_exec_ext in '' $ac_executable_extensions; do
3866
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3868
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3879
if test -n "$INTLTOOL_MERGE"; then
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3881
$as_echo "$INTLTOOL_MERGE" >&6; }
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884
$as_echo "no" >&6; }
3888
# Extract the first word of "intltool-extract", so it can be a program name with args.
3889
set dummy intltool-extract; ac_word=$2
3890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891
$as_echo_n "checking for $ac_word... " >&6; }
3892
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3893
$as_echo_n "(cached) " >&6
3895
case $INTLTOOL_EXTRACT in
3897
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904
test -z "$as_dir" && as_dir=.
3905
for ac_exec_ext in '' $ac_executable_extensions; do
3906
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3908
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3919
if test -n "$INTLTOOL_EXTRACT"; then
3920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3921
$as_echo "$INTLTOOL_EXTRACT" >&6; }
3923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924
$as_echo "no" >&6; }
3928
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3929
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3932
if test -z "$AM_DEFAULT_VERBOSITY"; then
3933
AM_DEFAULT_VERBOSITY=1
3937
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3938
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3939
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
3944
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3945
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3946
intltool__v_merge_options_0='-q'
3951
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3952
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3953
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3954
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3955
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
3956
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3957
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3958
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3959
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3960
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3961
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3962
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3963
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
3965
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
3967
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3968
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3969
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3970
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3971
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3972
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3973
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4071
# Check the gettext tools to make sure they are GNU
4072
# Extract the first word of "xgettext", so it can be a program name with args.
4073
set dummy xgettext; ac_word=$2
4074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075
$as_echo_n "checking for $ac_word... " >&6; }
4076
if ${ac_cv_path_XGETTEXT+:} false; then :
4077
$as_echo_n "(cached) " >&6
4081
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088
test -z "$as_dir" && as_dir=.
4089
for ac_exec_ext in '' $ac_executable_extensions; do
4090
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4091
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4092
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102
XGETTEXT=$ac_cv_path_XGETTEXT
4103
if test -n "$XGETTEXT"; then
4104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4105
$as_echo "$XGETTEXT" >&6; }
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108
$as_echo "no" >&6; }
4112
# Extract the first word of "msgmerge", so it can be a program name with args.
4113
set dummy msgmerge; ac_word=$2
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4115
$as_echo_n "checking for $ac_word... " >&6; }
4116
if ${ac_cv_path_MSGMERGE+:} false; then :
4117
$as_echo_n "(cached) " >&6
4121
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128
test -z "$as_dir" && as_dir=.
4129
for ac_exec_ext in '' $ac_executable_extensions; do
4130
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4131
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142
MSGMERGE=$ac_cv_path_MSGMERGE
4143
if test -n "$MSGMERGE"; then
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4145
$as_echo "$MSGMERGE" >&6; }
4147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148
$as_echo "no" >&6; }
4152
# Extract the first word of "msgfmt", so it can be a program name with args.
4153
set dummy msgfmt; ac_word=$2
4154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155
$as_echo_n "checking for $ac_word... " >&6; }
4156
if ${ac_cv_path_MSGFMT+:} false; then :
4157
$as_echo_n "(cached) " >&6
4161
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168
test -z "$as_dir" && as_dir=.
4169
for ac_exec_ext in '' $ac_executable_extensions; do
4170
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182
MSGFMT=$ac_cv_path_MSGFMT
4183
if test -n "$MSGFMT"; then
4184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4185
$as_echo "$MSGFMT" >&6; }
4187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188
$as_echo "no" >&6; }
4192
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4193
set dummy gmsgfmt; ac_word=$2
4194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195
$as_echo_n "checking for $ac_word... " >&6; }
4196
if ${ac_cv_path_GMSGFMT+:} false; then :
4197
$as_echo_n "(cached) " >&6
4201
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208
test -z "$as_dir" && as_dir=.
4209
for ac_exec_ext in '' $ac_executable_extensions; do
4210
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4212
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4223
GMSGFMT=$ac_cv_path_GMSGFMT
4224
if test -n "$GMSGFMT"; then
4225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4226
$as_echo "$GMSGFMT" >&6; }
4228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229
$as_echo "no" >&6; }
4233
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4234
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4236
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4237
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4238
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4239
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4240
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4243
# Extract the first word of "perl", so it can be a program name with args.
4244
set dummy perl; ac_word=$2
4245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246
$as_echo_n "checking for $ac_word... " >&6; }
4247
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4248
$as_echo_n "(cached) " >&6
4250
case $INTLTOOL_PERL in
4252
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259
test -z "$as_dir" && as_dir=.
4260
for ac_exec_ext in '' $ac_executable_extensions; do
4261
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4263
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4274
if test -n "$INTLTOOL_PERL"; then
4275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4276
$as_echo "$INTLTOOL_PERL" >&6; }
4278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279
$as_echo "no" >&6; }
4283
if test -z "$INTLTOOL_PERL"; then
4284
as_fn_error $? "perl not found" "$LINENO" 5
4286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4287
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4288
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4289
if test $? -ne 0; then
4290
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4292
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4294
$as_echo "$IT_PERL_VERSION" >&6; }
4296
if test "x" != "xno-xml"; then
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4298
$as_echo_n "checking for XML::Parser... " >&6; }
4299
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4301
$as_echo "ok" >&6; }
4303
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4307
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4310
# Set DATADIRNAME correctly if it is not set yet
4311
# (copied from glib-gettext.m4)
4312
if test -z "$DATADIRNAME"; then
4313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314
/* end confdefs.h. */
4319
extern int _nl_msg_cat_cntr;
4320
return _nl_msg_cat_cntr
4325
if ac_fn_c_try_link "$LINENO"; then :
4330
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4331
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4343
rm -f core conftest.err conftest.$ac_objext \
4344
conftest$ac_exeext conftest.$ac_ext
4356
[\\/$]* | ?:[\\/]*) ;;
4357
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4362
GETTEXT_MACRO_VERSION=0.17
4367
# Prepare PATH_SEPARATOR.
4368
# The user is always right.
4369
if test "${PATH_SEPARATOR+set}" != set; then
4370
echo "#! /bin/sh" >conf$$.sh
4371
echo "exit 0" >>conf$$.sh
4373
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4381
# Find out how to test for executable files. Don't use a zero-byte file,
4382
# as systems may use methods other than mode bits to determine executability.
4383
cat >conf$$.file <<_ASEOF
4387
chmod +x conf$$.file
4388
if test -x conf$$.file >/dev/null 2>&1; then
4389
ac_executable_p="test -x"
4391
ac_executable_p="test -f"
4395
# Extract the first word of "msgfmt", so it can be a program name with args.
4396
set dummy msgfmt; ac_word=$2
4397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398
$as_echo_n "checking for $ac_word... " >&6; }
4399
if ${ac_cv_path_MSGFMT+:} false; then :
4400
$as_echo_n "(cached) " >&6
4404
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4407
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4408
for ac_dir in $PATH; do
4410
test -z "$ac_dir" && ac_dir=.
4411
for ac_exec_ext in '' $ac_executable_extensions; do
4412
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4413
echo "$as_me: trying $ac_dir/$ac_word..." >&5
4414
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4415
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4416
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4423
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4427
MSGFMT="$ac_cv_path_MSGFMT"
4428
if test "$MSGFMT" != ":"; then
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4430
$as_echo "$MSGFMT" >&6; }
4432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433
$as_echo "no" >&6; }
4436
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4437
set dummy gmsgfmt; ac_word=$2
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439
$as_echo_n "checking for $ac_word... " >&6; }
4440
if ${ac_cv_path_GMSGFMT+:} false; then :
4441
$as_echo_n "(cached) " >&6
4445
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4448
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452
test -z "$as_dir" && as_dir=.
4453
for ac_exec_ext in '' $ac_executable_extensions; do
4454
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4456
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4467
GMSGFMT=$ac_cv_path_GMSGFMT
4468
if test -n "$GMSGFMT"; then
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4470
$as_echo "$GMSGFMT" >&6; }
4472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473
$as_echo "no" >&6; }
4478
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4479
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4480
*) MSGFMT_015=$MSGFMT ;;
4483
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4484
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4485
*) GMSGFMT_015=$GMSGFMT ;;
4490
# Prepare PATH_SEPARATOR.
4491
# The user is always right.
4492
if test "${PATH_SEPARATOR+set}" != set; then
4493
echo "#! /bin/sh" >conf$$.sh
4494
echo "exit 0" >>conf$$.sh
4496
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4504
# Find out how to test for executable files. Don't use a zero-byte file,
4505
# as systems may use methods other than mode bits to determine executability.
4506
cat >conf$$.file <<_ASEOF
4510
chmod +x conf$$.file
4511
if test -x conf$$.file >/dev/null 2>&1; then
4512
ac_executable_p="test -x"
4514
ac_executable_p="test -f"
4518
# Extract the first word of "xgettext", so it can be a program name with args.
4519
set dummy xgettext; ac_word=$2
4520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521
$as_echo_n "checking for $ac_word... " >&6; }
4522
if ${ac_cv_path_XGETTEXT+:} false; then :
4523
$as_echo_n "(cached) " >&6
4527
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4530
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4531
for ac_dir in $PATH; do
4533
test -z "$ac_dir" && ac_dir=.
4534
for ac_exec_ext in '' $ac_executable_extensions; do
4535
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4536
echo "$as_me: trying $ac_dir/$ac_word..." >&5
4537
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4538
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4539
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4546
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4550
XGETTEXT="$ac_cv_path_XGETTEXT"
4551
if test "$XGETTEXT" != ":"; then
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4553
$as_echo "$XGETTEXT" >&6; }
4555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556
$as_echo "no" >&6; }
4561
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4562
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4563
*) XGETTEXT_015=$XGETTEXT ;;
4568
# Prepare PATH_SEPARATOR.
4569
# The user is always right.
4570
if test "${PATH_SEPARATOR+set}" != set; then
4571
echo "#! /bin/sh" >conf$$.sh
4572
echo "exit 0" >>conf$$.sh
4574
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4582
# Find out how to test for executable files. Don't use a zero-byte file,
4583
# as systems may use methods other than mode bits to determine executability.
4584
cat >conf$$.file <<_ASEOF
4588
chmod +x conf$$.file
4589
if test -x conf$$.file >/dev/null 2>&1; then
4590
ac_executable_p="test -x"
4592
ac_executable_p="test -f"
4596
# Extract the first word of "msgmerge", so it can be a program name with args.
4597
set dummy msgmerge; ac_word=$2
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599
$as_echo_n "checking for $ac_word... " >&6; }
4600
if ${ac_cv_path_MSGMERGE+:} false; then :
4601
$as_echo_n "(cached) " >&6
4605
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4608
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4609
for ac_dir in $PATH; do
4611
test -z "$ac_dir" && ac_dir=.
4612
for ac_exec_ext in '' $ac_executable_extensions; do
4613
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4614
echo "$as_me: trying $ac_dir/$ac_word..." >&5
4615
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4616
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4623
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4627
MSGMERGE="$ac_cv_path_MSGMERGE"
4628
if test "$MSGMERGE" != ":"; then
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4630
$as_echo "$MSGMERGE" >&6; }
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633
$as_echo "no" >&6; }
4637
test -n "$localedir" || localedir='${datadir}/locale'
4640
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4643
ac_config_commands="$ac_config_commands po-directories"
4647
if test "X$prefix" = "XNONE"; then
4648
acl_final_prefix="$ac_default_prefix"
4650
acl_final_prefix="$prefix"
4652
if test "X$exec_prefix" = "XNONE"; then
4653
acl_final_exec_prefix='${prefix}'
4655
acl_final_exec_prefix="$exec_prefix"
4657
acl_save_prefix="$prefix"
4658
prefix="$acl_final_prefix"
4659
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4660
prefix="$acl_save_prefix"
4662
4656
# Make sure we can run config.sub.
4663
4657
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4664
4658
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5